From 9ff7f0485e7adde3acb28201e15ae9dd8fbeab42 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Wed, 17 Jun 2026 10:55:34 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/ScrapeGraphAI.AnyOf.2.Json.g.cs | 49 ++++++ .../Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs | 49 ++++++ .../Generated/ScrapeGraphAI.AnyOf.8.Json.g.cs | 49 ++++++ ...I.IOrthogonalClient.ProxyX402PathGet.g.cs} | 4 +- ....IOrthogonalClient.ProxyX402PathGet2.g.cs} | 4 +- ....IOrthogonalClient.ProxyX402PathGet3.g.cs} | 4 +- ....IOrthogonalClient.ProxyX402PathGet4.g.cs} | 4 +- ...I.IOrthogonalClient.ProxyX402PathGet5.g.cs | 34 +++++ ....IOrthogonalClient.ProxyX402PathPost5.g.cs | 34 ----- .../ScrapeGraphAI.Models.ActionStep.Json.g.cs | 49 ++++++ ...ls.AgenticScraperHistoryResponse.Json.g.cs | 49 ++++++ ...ticScraperHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...icScraperHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...I.Models.AgenticScraperRequestDB.Json.g.cs | 49 ++++++ ...els.AgenticScraperRequestDBError.Json.g.cs | 49 ++++++ ...genticScraperRequestDBFinishedAt.Json.g.cs | 49 ++++++ ....AgenticScraperRequestDBMetadata.Json.g.cs | 49 ++++++ ...AgenticScraperRequestDBMetadata2.Json.g.cs | 49 ++++++ ...nticScraperRequestDBOutputSchema.Json.g.cs | 49 ++++++ ...ticScraperRequestDBOutputSchema2.Json.g.cs | 49 ++++++ ...ls.AgenticScraperRequestDBResult.Json.g.cs | 49 ++++++ ...s.AgenticScraperRequestDBResult2.Json.g.cs | 49 ++++++ ...AgenticScraperRequestDBTotalCost.Json.g.cs | 49 ++++++ ...s.AgenticScraperRequestDBUsageId.Json.g.cs | 49 ++++++ ...genticScraperRequestDBUserPrompt.Json.g.cs | 49 ++++++ ...ticScrapperLiveSessionUrlRequest.Json.g.cs | 49 ++++++ ...icScrapperLiveSessionUrlResponse.Json.g.cs | 49 ++++++ ...AI.Models.AgenticScrapperRequest.Json.g.cs | 49 ++++++ ...genticScrapperRequestCountryCode.Json.g.cs | 49 ++++++ ...enticScrapperRequestOutputSchema.Json.g.cs | 49 ++++++ ...nticScrapperRequestOutputSchema2.Json.g.cs | 49 ++++++ ...dels.AgenticScrapperRequestSteps.Json.g.cs | 49 ++++++ ...AgenticScrapperRequestUserPrompt.Json.g.cs | 49 ++++++ ...AgenticScrapperRequestWebhookUrl.Json.g.cs | 49 ++++++ ...I.Models.AgenticScrapperResponse.Json.g.cs | 49 ++++++ ...els.AgenticScrapperResponseError.Json.g.cs | 49 ++++++ ...ls.AgenticScrapperResponseResult.Json.g.cs | 49 ++++++ ...s.AgenticScrapperResponseResult2.Json.g.cs | 49 ++++++ ...genticScrapperStopSessionRequest.Json.g.cs | 49 ++++++ ...els.CompletedMarkdownifyResponse.Json.g.cs | 49 ++++++ ...mpletedMarkdownifyResponseResult.Json.g.cs | 49 ++++++ ...s.CompletedSearchScraperResponse.Json.g.cs | 49 ++++++ ...pletedSearchScraperResponseError.Json.g.cs | 49 ++++++ ...chScraperResponseMarkdownContent.Json.g.cs | 49 ++++++ ...dSearchScraperResponseNumResults.Json.g.cs | 49 ++++++ ...archScraperResponseReferenceUrls.Json.g.cs | 49 ++++++ ...rchScraperResponseResultVariant1.Json.g.cs | 49 ++++++ ...rchScraperResponseResultVariant2.Json.g.cs | 49 ++++++ ...ls.CompletedSmartscraperResponse.Json.g.cs | 49 ++++++ ...pletedSmartscraperResponseResult.Json.g.cs | 49 ++++++ ...edSmartscraperResponseWebsiteUrl.Json.g.cs | 49 ++++++ ...peGraphAI.Models.ConditionalStep.Json.g.cs | 49 ++++++ ....Models.ConditionalStepElseSteps.Json.g.cs | 49 ++++++ .../ScrapeGraphAI.Models.CrawlJob.Json.g.cs | 49 ++++++ ...peGraphAI.Models.CrawlJobBreadth.Json.g.cs | 49 ++++++ ...aphAI.Models.CrawlJobCountryCode.Json.g.cs | 49 ++++++ ...eGraphAI.Models.CrawlJobMaxPages.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.CrawlJobPrompt.Json.g.cs | 49 ++++++ ...rapeGraphAI.Models.CrawlJobRules.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.CrawlJobRules2.Json.g.cs | 49 ++++++ ...phAI.Models.CrawlJobRulesExclude.Json.g.cs | 49 ++++++ ...Models.CrawlJobRulesExcludePaths.Json.g.cs | 49 ++++++ ...Models.CrawlJobRulesIncludePaths.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.CrawlJobSchema.Json.g.cs | 49 ++++++ ...peGraphAI.Models.CrawlJobSchema2.Json.g.cs | 49 ++++++ ...raphAI.Models.CrawlJobWebhookUrl.Json.g.cs | 49 ++++++ ...AI.Models.CrawlerHistoryResponse.Json.g.cs | 49 ++++++ ...ls.CrawlerHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...s.CrawlerHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...eGraphAI.Models.CrawlerRequestDB.Json.g.cs | 49 ++++++ ...dels.CrawlerRequestDBCrawledUrls.Json.g.cs | 49 ++++++ ...dels.CrawlerRequestDBCreditsUsed.Json.g.cs | 49 ++++++ ...hAI.Models.CrawlerRequestDBError.Json.g.cs | 49 ++++++ ...odels.CrawlerRequestDBFinishedAt.Json.g.cs | 49 ++++++ ....Models.CrawlerRequestDBMetadata.Json.g.cs | 49 ++++++ ...Models.CrawlerRequestDBMetadata2.Json.g.cs | 49 ++++++ ...s.CrawlerRequestDBPagesProcessed.Json.g.cs | 49 ++++++ ...AI.Models.CrawlerRequestDBPrompt.Json.g.cs | 49 ++++++ ...ls.CrawlerRequestDBRequestParams.Json.g.cs | 49 ++++++ ...s.CrawlerRequestDBRequestParams2.Json.g.cs | 49 ++++++ ...AI.Models.CrawlerRequestDBResult.Json.g.cs | 49 ++++++ ...I.Models.CrawlerRequestDBResult2.Json.g.cs | 49 ++++++ ...Models.CrawlerRequestDBResultUrl.Json.g.cs | 49 ++++++ ...AI.Models.CrawlerRequestDBTaskId.Json.g.cs | 49 ++++++ ...Models.CrawlerRequestDBTotalCost.Json.g.cs | 49 ++++++ ...peGraphAI.Models.CreditsResponse.Json.g.cs | 49 ++++++ ...GraphAI.Models.DeductCreditsBody.Json.g.cs | 49 ++++++ ...hAI.Models.DeductCreditsResponse.Json.g.cs | 49 ++++++ ...eMonitorsMonitorIdDeleteResponse.Json.g.cs | 49 ++++++ ...ScheduledJobsJobIdDeleteResponse.Json.g.cs | 49 ++++++ ...Models.EndPointSuggestionRequest.Json.g.cs | 49 ++++++ ...aphAI.Models.EndPointSuggestions.Json.g.cs | 49 ++++++ ...dels.EndPointSuggestionsResponse.Json.g.cs | 49 ++++++ ...estionsResponseHtmlWithMarkdowns.Json.g.cs | 49 ++++++ ...GraphAI.Models.EndpointParameter.Json.g.cs | 49 ++++++ ...raphAI.Models.EndpointSuggestion.Json.g.cs | 49 ++++++ ...dpointSuggestionInteractionSteps.Json.g.cs | 49 ++++++ ...EndpointSuggestionPydanticSchema.Json.g.cs | 49 ++++++ ...intEndpointIdFullPathPostRequest.Json.g.cs | 49 ++++++ ...ntEndpointIdFullPathPostResponse.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.ExtractionStep.Json.g.cs | 49 ++++++ ...phAI.Models.ExtractionStepSchema.Json.g.cs | 49 ++++++ ...hAI.Models.ExtractionStepSchema2.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.FeedbackCreate.Json.g.cs | 49 ++++++ ...odels.FeedbackCreateFeedbackText.Json.g.cs | 49 ++++++ ...eGraphAI.Models.FeedbackResponse.Json.g.cs | 49 ++++++ ...edJobsV1ScheduledJobsGetIsActive.Json.g.cs | 49 ++++++ ...obsV1ScheduledJobsGetServiceType.Json.g.cs | 49 ++++++ ...1HistoryAgenticScraperGetRequest.Json.g.cs | 49 ++++++ ...HistoryAgenticScraperGetRequest2.Json.g.cs | 49 ++++++ ...wlResultV1CrawlTaskIdGetResponse.Json.g.cs | 49 ++++++ ...rHistoryV1HistoryCrawlGetRequest.Json.g.cs | 49 ++++++ ...HistoryV1HistoryCrawlGetRequest2.Json.g.cs | 49 ++++++ ...nerateSchemaRequestIdGetResponse.Json.g.cs | 49 ++++++ ...uledJobsJobIdExecutionsGetStatus.Json.g.cs | 49 ++++++ ...ryV1HistoryMarkdownifyGetRequest.Json.g.cs | 49 ++++++ ...yV1HistoryMarkdownifyGetRequest2.Json.g.cs | 49 ++++++ ...1MarkdownifyRequestIdGetResponse.Json.g.cs | 49 ++++++ ...ndcampGetItemDetailsPostResponse.Json.g.cs | 49 ++++++ ...ampGetSalesFeedItemsPostResponse.Json.g.cs | 49 ++++++ ...HistoryV1HistoryScrapeGetRequest.Json.g.cs | 49 ++++++ ...istoryV1HistoryScrapeGetRequest2.Json.g.cs | 49 ++++++ ...V1HistorySearchscraperGetRequest.Json.g.cs | 49 ++++++ ...1HistorySearchscraperGetRequest2.Json.g.cs | 49 ++++++ ...earchscraperRequestIdGetResponse.Json.g.cs | 49 ++++++ ...istoryV1HistorySitemapGetRequest.Json.g.cs | 49 ++++++ ...storyV1HistorySitemapGetRequest2.Json.g.cs | 49 ++++++ ...yV1HistorySmartscraperGetRequest.Json.g.cs | 49 ++++++ ...V1HistorySmartscraperGetRequest2.Json.g.cs | 49 ++++++ ...SmartscraperRequestIdGetResponse.Json.g.cs | 49 ++++++ ...geTimelineV1UsageTimelineGetDays.Json.g.cs | 49 ++++++ ...1WebhookLogsCrawlerIdGetResponse.Json.g.cs | 49 ++++++ ...ebhookStatusWebhookIdGetResponse.Json.g.cs | 49 ++++++ ...aphAI.Models.HTTPValidationError.Json.g.cs | 49 ++++++ ...ls.HealthCheckHealthzGetResponse.Json.g.cs | 49 ++++++ ....Models.JobExecutionListResponse.Json.g.cs | 49 ++++++ ...phAI.Models.JobExecutionResponse.Json.g.cs | 49 ++++++ ....JobExecutionResponseCompletedAt.Json.g.cs | 49 ++++++ ...JobExecutionResponseErrorMessage.Json.g.cs | 49 ++++++ ...odels.JobExecutionResponseResult.Json.g.cs | 49 ++++++ ...dels.JobExecutionResponseResult2.Json.g.cs | 49 ++++++ ...raphAI.Models.JobTriggerResponse.Json.g.cs | 49 ++++++ ...onitorsV1SiteMonitorsGetIsActive.Json.g.cs | 49 ++++++ .../ScrapeGraphAI.Models.LoopStep.Json.g.cs | 49 ++++++ ...hAI.Models.LoopStepMaxIterations.Json.g.cs | 49 ++++++ ...AI.Models.MarkdownExtractionStep.Json.g.cs | 49 ++++++ ...odels.MarkdownifyHistoryResponse.Json.g.cs | 49 ++++++ ...arkdownifyHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...rkdownifyHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...raphAI.Models.MarkdownifyRequest.Json.g.cs | 49 ++++++ ...ls.MarkdownifyRequestCountryCode.Json.g.cs | 49 ++++++ ...phAI.Models.MarkdownifyRequestDB.Json.g.cs | 49 ++++++ ...Models.MarkdownifyRequestDBError.Json.g.cs | 49 ++++++ ...s.MarkdownifyRequestDBFinishedAt.Json.g.cs | 49 ++++++ ...els.MarkdownifyRequestDBMetadata.Json.g.cs | 49 ++++++ ...ls.MarkdownifyRequestDBMetadata2.Json.g.cs | 49 ++++++ ...arkdownifyRequestDBRequestParams.Json.g.cs | 49 ++++++ ...rkdownifyRequestDBRequestParams2.Json.g.cs | 49 ++++++ ...dels.MarkdownifyRequestDBUsageId.Json.g.cs | 49 ++++++ ...odels.MarkdownifyRequestDBUserId.Json.g.cs | 49 ++++++ ...ls.MarkdownifyRequestDBWebpageId.Json.g.cs | 49 ++++++ ...Models.MarkdownifyRequestHeaders.Json.g.cs | 49 ++++++ ...odels.MarkdownifyRequestHeaders2.Json.g.cs | 49 ++++++ ...I.Models.MarkdownifyRequestSteps.Json.g.cs | 49 ++++++ ...els.MarkdownifyRequestWebhookUrl.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.NavigationStep.Json.g.cs | 49 ++++++ ...hAI.Models.NavigationStepWaitFor.Json.g.cs | 49 ++++++ ...eduledJobsJobIdPausePostResponse.Json.g.cs | 49 ++++++ ...peGraphAI.Models.ProductFeedback.Json.g.cs | 49 ++++++ ...Models.ProductFeedbackCanContact.Json.g.cs | 49 ++++++ ...AI.Models.ProductFeedbackCompany.Json.g.cs | 49 ++++++ ...els.ProductFeedbackContactMethod.Json.g.cs | 49 ++++++ ...I.Models.ProductFeedbackDisliked.Json.g.cs | 49 ++++++ ...phAI.Models.ProductFeedbackEmail.Json.g.cs | 49 ++++++ ...els.ProductFeedbackHowDiscovered.Json.g.cs | 49 ++++++ ...ctFeedbackImprovementSuggestions.Json.g.cs | 49 ++++++ ...hAI.Models.ProductFeedbackIssues.Json.g.cs | 49 ++++++ ....Models.ProductFeedbackLikedMost.Json.g.cs | 49 ++++++ ...aphAI.Models.ProductFeedbackName.Json.g.cs | 49 ++++++ ...hAI.Models.ProductFeedbackRating.Json.g.cs | 49 ++++++ ...ls.ProductFeedbackRecommendScore.Json.g.cs | 49 ++++++ ...ProductFeedbackRequestedFeatures.Json.g.cs | 49 ++++++ ...I.Models.ProductFeedbackResponse.Json.g.cs | 49 ++++++ ....Models.ProductFeedbackSetupEasy.Json.g.cs | 49 ++++++ ...ls.ProductFeedbackUsageFrequency.Json.g.cs | 49 ++++++ ...I.Models.ProductFeedbackUseCases.Json.g.cs | 49 ++++++ ...Models.ProxyX402PathGetResponse.Json.g.cs} | 71 +++++++-- ...phAI.Models.ProxyX402PathGetResponse.g.cs} | 2 +- ...odels.ProxyX402PathGetResponse2.Json.g.cs} | 71 +++++++-- ...hAI.Models.ProxyX402PathGetResponse2.g.cs} | 2 +- ...odels.ProxyX402PathGetResponse3.Json.g.cs} | 71 +++++++-- ...hAI.Models.ProxyX402PathGetResponse3.g.cs} | 2 +- ...odels.ProxyX402PathGetResponse4.Json.g.cs} | 71 +++++++-- ...hAI.Models.ProxyX402PathGetResponse4.g.cs} | 2 +- ...Models.ProxyX402PathGetResponse5.Json.g.cs | 141 ++++++++++++++++++ ...phAI.Models.ProxyX402PathGetResponse5.g.cs | 19 +++ ...odels.ProxyX402PathPostResponse5.Json.g.cs | 92 ------------ ...hAI.Models.ProxyX402PathPostResponse5.g.cs | 19 --- ....QueryRedisCacheByPatternRequest.Json.g.cs | 49 ++++++ ...yRedisCacheByPatternPostResponse.Json.g.cs | 49 ++++++ ...duledJobsJobIdResumePostResponse.Json.g.cs | 49 ++++++ ...EndpointSaveEndpointPostResponse.Json.g.cs | 49 ++++++ ...raphAI.Models.ScheduledJobCreate.Json.g.cs | 49 ++++++ ...dels.ScheduledJobCreateJobConfig.Json.g.cs | 49 ++++++ ...els.ScheduledJobCreateWebhookUrl.Json.g.cs | 49 ++++++ ....Models.ScheduledJobListResponse.Json.g.cs | 49 ++++++ ...phAI.Models.ScheduledJobResponse.Json.g.cs | 49 ++++++ ...ls.ScheduledJobResponseJobConfig.Json.g.cs | 49 ++++++ ...ls.ScheduledJobResponseLastRunAt.Json.g.cs | 49 ++++++ ...ls.ScheduledJobResponseNextRunAt.Json.g.cs | 49 ++++++ ...I.Models.SchemaGenerationRequest.Json.g.cs | 49 ++++++ ...aGenerationRequestExistingSchema.Json.g.cs | 49 ++++++ ...GenerationRequestExistingSchema2.Json.g.cs | 49 ++++++ ....Models.SchemaGenerationResponse.Json.g.cs | 49 ++++++ ...ls.SchemaGenerationResponseError.Json.g.cs | 49 ++++++ ...enerationResponseGeneratedSchema.Json.g.cs | 49 ++++++ ...hAI.Models.ScrapeHistoryResponse.Json.g.cs | 49 ++++++ ...els.ScrapeHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...ls.ScrapeHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...rapeGraphAI.Models.ScrapeRequest.Json.g.cs | 49 ++++++ ....Models.ScrapeRequestCountryCode.Json.g.cs | 49 ++++++ ...peGraphAI.Models.ScrapeRequestDB.Json.g.cs | 49 ++++++ .../ScrapeGraphAI.Models.ScrapeRequestDB.g.cs | 4 +- ...phAI.Models.ScrapeRequestDBError.Json.g.cs | 49 ++++++ ...Models.ScrapeRequestDBFinishedAt.Json.g.cs | 49 ++++++ ...I.Models.ScrapeRequestDBMetadata.Json.g.cs | 49 ++++++ ...els.ScrapeRequestDBRequestParams.Json.g.cs | 49 ++++++ ...ls.ScrapeRequestDBRequestParams2.Json.g.cs | 49 ++++++ ...hAI.Models.ScrapeRequestDBResult.Json.g.cs | 49 ++++++ ...hAI.Models.ScrapeRequestDBUserId.Json.g.cs | 49 ++++++ ...odels.ScrapeV1ScrapePostResponse.Json.g.cs | 49 ++++++ ...phAI.Models.SearchScraperRequest.Json.g.cs | 49 ++++++ ...dels.SearchScraperRequestHeaders.Json.g.cs | 49 ++++++ ...els.SearchScraperRequestHeaders2.Json.g.cs | 49 ++++++ ...rchScraperRequestLocationGeoCode.Json.g.cs | 49 ++++++ ...SearchScraperRequestOutputSchema.Json.g.cs | 49 ++++++ ...earchScraperRequestOutputSchema2.Json.g.cs | 49 ++++++ ...ls.SearchScraperRequestTimeRange.Json.g.cs | 49 ++++++ ...s.SearchScraperRequestWebhookUrl.Json.g.cs | 49 ++++++ ...els.SearchscraperHistoryResponse.Json.g.cs | 49 ++++++ ...rchscraperHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...chscraperHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...AI.Models.SearchscraperRequestDB.Json.g.cs | 49 ++++++ ...dels.SearchscraperRequestDBError.Json.g.cs | 49 ++++++ ...hscraperRequestDBExtractionQuery.Json.g.cs | 49 ++++++ ...SearchscraperRequestDBFinishedAt.Json.g.cs | 49 ++++++ ...s.SearchscraperRequestDBMetadata.Json.g.cs | 49 ++++++ ...archscraperRequestDBOutputSchema.Json.g.cs | 49 ++++++ ...rchscraperRequestDBOutputSchema2.Json.g.cs | 49 ++++++ ...chscraperRequestDBReferencesUrls.Json.g.cs | 49 ++++++ ...els.SearchscraperRequestDBResult.Json.g.cs | 49 ++++++ ...ls.SearchscraperRequestDBResult2.Json.g.cs | 49 ++++++ ...earchscraperRequestDBSearchQuery.Json.g.cs | 49 ++++++ ...els.SearchscraperRequestDBUserId.Json.g.cs | 49 ++++++ ...GraphAI.Models.SiteMonitorCreate.Json.g.cs | 49 ++++++ ...iteMonitorCreateExtractionConfig.Json.g.cs | 49 ++++++ ...hAI.Models.SiteMonitorCreateName.Json.g.cs | 49 ++++++ ...dels.SiteMonitorExtractionConfig.Json.g.cs | 49 ++++++ ...itorExtractionConfigOutputSchema.Json.g.cs | 49 ++++++ ...torExtractionConfigOutputSchema2.Json.g.cs | 49 ++++++ ...onitorExtractionConfigUserPrompt.Json.g.cs | 49 ++++++ ...I.Models.SiteMonitorListResponse.Json.g.cs | 49 ++++++ ...aphAI.Models.SiteMonitorResponse.Json.g.cs | 49 ++++++ ...eMonitorResponseExtractionConfig.Json.g.cs | 49 ++++++ ...MonitorResponseExtractionConfig2.Json.g.cs | 49 ++++++ ...els.SiteMonitorResponseLastRunAt.Json.g.cs | 49 ++++++ ...I.Models.SiteMonitorResponseName.Json.g.cs | 49 ++++++ ...els.SiteMonitorResponseNextRunAt.Json.g.cs | 49 ++++++ ...GraphAI.Models.SiteMonitorUpdate.Json.g.cs | 49 ++++++ ....SiteMonitorUpdateCronExpression.Json.g.cs | 49 ++++++ ...iteMonitorUpdateExtractionConfig.Json.g.cs | 49 ++++++ ...Models.SiteMonitorUpdateIsActive.Json.g.cs | 49 ++++++ ...hAI.Models.SiteMonitorUpdateName.Json.g.cs | 49 ++++++ ...dels.SiteMonitorUpdateWebhookUrl.Json.g.cs | 49 ++++++ ...AI.Models.SitemapHistoryResponse.Json.g.cs | 49 ++++++ ...ls.SitemapHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...s.SitemapHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.SitemapRequest.Json.g.cs | 49 ++++++ ...eGraphAI.Models.SitemapRequestDB.Json.g.cs | 49 ++++++ ...els.SitemapRequestDBErrorMessage.Json.g.cs | 49 ++++++ ....Models.SitemapRequestDBMetadata.Json.g.cs | 49 ++++++ ...Models.SitemapRequestDBMetadata2.Json.g.cs | 49 ++++++ ...peGraphAI.Models.SitemapResponse.Json.g.cs | 49 ++++++ ...dels.SmartscraperHistoryResponse.Json.g.cs | 49 ++++++ ...artscraperHistoryResponseNextKey.Json.g.cs | 49 ++++++ ...rtscraperHistoryResponseNextKey2.Json.g.cs | 49 ++++++ ...aphAI.Models.SmartscraperRequest.Json.g.cs | 49 ++++++ ...odels.SmartscraperRequestCookies.Json.g.cs | 49 ++++++ ...dels.SmartscraperRequestCookies2.Json.g.cs | 49 ++++++ ...s.SmartscraperRequestCountryCode.Json.g.cs | 49 ++++++ ...hAI.Models.SmartscraperRequestDB.Json.g.cs | 49 ++++++ ...odels.SmartscraperRequestDBError.Json.g.cs | 49 ++++++ ....SmartscraperRequestDBFinishedAt.Json.g.cs | 49 ++++++ ...ls.SmartscraperRequestDBMetadata.Json.g.cs | 49 ++++++ ...s.SmartscraperRequestDBMetadata2.Json.g.cs | 49 ++++++ ...martscraperRequestDBOutputSchema.Json.g.cs | 49 ++++++ ...artscraperRequestDBOutputSchema2.Json.g.cs | 49 ++++++ ...artscraperRequestDBRequestParams.Json.g.cs | 49 ++++++ ...rtscraperRequestDBRequestParams2.Json.g.cs | 49 ++++++ ...rtscraperRequestDBResultVariant1.Json.g.cs | 49 ++++++ ...rtscraperRequestDBResultVariant2.Json.g.cs | 49 ++++++ ...dels.SmartscraperRequestDBUserId.Json.g.cs | 49 ++++++ ...s.SmartscraperRequestDBWebpageId.Json.g.cs | 49 ++++++ ....SmartscraperRequestDBWebsiteUrl.Json.g.cs | 49 ++++++ ...odels.SmartscraperRequestHeaders.Json.g.cs | 49 ++++++ ...dels.SmartscraperRequestHeaders2.Json.g.cs | 49 ++++++ ....SmartscraperRequestOutputSchema.Json.g.cs | 49 ++++++ ...SmartscraperRequestOutputSchema2.Json.g.cs | 49 ++++++ ....Models.SmartscraperRequestSteps.Json.g.cs | 49 ++++++ ...ls.SmartscraperRequestWebhookUrl.Json.g.cs | 49 ++++++ ...s.SmartscraperRequestWebsiteHtml.Json.g.cs | 49 ++++++ ...artscraperRequestWebsiteMarkdown.Json.g.cs | 49 ++++++ ...ls.SmartscraperRequestWebsiteUrl.Json.g.cs | 49 ++++++ ...ls.StartCrawlV1CrawlPostResponse.Json.g.cs | 49 ++++++ .../ScrapeGraphAI.Models.StepResult.Json.g.cs | 49 ++++++ ...apeGraphAI.Models.StepResultData.Json.g.cs | 49 ++++++ ...peGraphAI.Models.StepResultData2.Json.g.cs | 49 ++++++ ...peGraphAI.Models.StepResultError.Json.g.cs | 49 ++++++ ...SessionV1StopSessionPostResponse.Json.g.cs | 49 ++++++ ...peGraphAI.Models.SubWorkflowStep.Json.g.cs | 49 ++++++ ...dels.SubWorkflowStepInputMapping.Json.g.cs | 49 ++++++ ...els.SubWorkflowStepOutputMapping.Json.g.cs | 49 ++++++ ...ls.SubWorkflowStepOutputMapping2.Json.g.cs | 49 ++++++ ...I.Models.SubWorkflowStepWorkflow.Json.g.cs | 49 ++++++ ...Models.SubWorkflowStepWorkflowId.Json.g.cs | 49 ++++++ ...rapeGraphAI.Models.TimelineEntry.Json.g.cs | 49 ++++++ ...dels.ToonifyV1ToonifyPostRequest.Json.g.cs | 49 ++++++ ...els.ToonifyV1ToonifyPostResponse.Json.g.cs | 49 ++++++ ...V1ScheduledJobsJobIdPatchRequest.Json.g.cs | 49 ++++++ ...hAI.Models.UsageTimelineResponse.Json.g.cs | 49 ++++++ ...idateApiKeyV1ValidateGetResponse.Json.g.cs | 49 ++++++ ...peGraphAI.Models.ValidationError.Json.g.cs | 49 ++++++ .../ScrapeGraphAI.Models.WaitStep.Json.g.cs | 49 ++++++ ...eGraphAI.Models.WaitStepDuration.Json.g.cs | 49 ++++++ ...phAI.Models.WaitStepForCondition.Json.g.cs | 49 ++++++ ...aphAI.Models.WaitStepForSelector.Json.g.cs | 49 ++++++ ...raphAI.Models.WorkflowDefinition.Json.g.cs | 49 ++++++ ...ls.WorkflowDefinitionDescription.Json.g.cs | 49 ++++++ ...WorkflowDefinitionInitialContext.Json.g.cs | 49 ++++++ ...orkflowDefinitionOutputVariables.Json.g.cs | 49 ++++++ ...odels.WorkflowDefinitionStartUrl.Json.g.cs | 49 ++++++ ...els.WorkflowDefinitionWorkflowId.Json.g.cs | 49 ++++++ ...I.Models.WorkflowExecutionResult.Json.g.cs | 49 ++++++ ...els.WorkflowExecutionResultError.Json.g.cs | 49 ++++++ ...kflowExecutionResultFinalContext.Json.g.cs | 49 ++++++ ...WorkflowExecutionResultFinalHtml.Json.g.cs | 49 ++++++ ....WorkflowExecutionResultFinalUrl.Json.g.cs | 49 ++++++ ...ls.WorkflowExecutionResultOutput.Json.g.cs | 49 ++++++ ...WorkflowExecutionResultSessionId.Json.g.cs | 49 ++++++ ...orkflowExecutionResultWorkflowId.Json.g.cs | 49 ++++++ ...AI.OrthogonalClient.ProxyX402PathGet.g.cs} | 52 +++---- ...I.OrthogonalClient.ProxyX402PathGet2.g.cs} | 52 +++---- ...I.OrthogonalClient.ProxyX402PathGet3.g.cs} | 52 +++---- ...I.OrthogonalClient.ProxyX402PathGet4.g.cs} | 52 +++---- ...I.OrthogonalClient.ProxyX402PathGet5.g.cs} | 52 +++---- src/libs/ScrapeGraphAI/openapi.yaml | 2 +- 356 files changed, 16798 insertions(+), 334 deletions(-) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs => ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet.g.cs} (95%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs => ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet2.g.cs} (95%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs => ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet3.g.cs} (95%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs => ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet4.g.cs} (95%) create mode 100644 src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet5.g.cs delete mode 100644 src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse.Json.g.cs} (65%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse.g.cs} (89%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse2.Json.g.cs} (65%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse2.g.cs} (89%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse3.Json.g.cs} (64%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse3.g.cs} (89%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse4.Json.g.cs} (64%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs => ScrapeGraphAI.Models.ProxyX402PathGetResponse4.g.cs} (89%) create mode 100644 src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.Json.g.cs create mode 100644 src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.g.cs delete mode 100644 src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs delete mode 100644 src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs => ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet.g.cs} (93%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs => ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet2.g.cs} (93%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs => ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet3.g.cs} (93%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs => ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet4.g.cs} (93%) rename src/libs/ScrapeGraphAI/Generated/{ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs => ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet5.g.cs} (93%) diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.2.Json.g.cs index b7e3dcf..40bcfbe 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AnyOf?; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AnyOf? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AnyOf?; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs index 5000f9c..add566a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.3.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AnyOf?; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AnyOf? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AnyOf?; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.8.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.8.Json.g.cs index c55ff73..0c508d0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.8.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.AnyOf.8.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AnyOf?; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AnyOf? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize>( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AnyOf?; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask?> FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync?>( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet.g.cs similarity index 95% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet.g.cs index 2750c56..e67fe6b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost2.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet.g.cs @@ -13,7 +13,7 @@ public partial interface IOrthogonalClient /// 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 ProxyX402PathPost2Async( + global::System.Threading.Tasks.Task ProxyX402PathGetAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -26,7 +26,7 @@ public partial interface IOrthogonalClient /// 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> ProxyX402PathPost2AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyX402PathGetAsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet2.g.cs similarity index 95% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet2.g.cs index e0f1fee..95f6f8d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet2.g.cs @@ -13,7 +13,7 @@ public partial interface IOrthogonalClient /// 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 ProxyX402PathPostAsync( + global::System.Threading.Tasks.Task ProxyX402PathGet2Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -26,7 +26,7 @@ public partial interface IOrthogonalClient /// 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> ProxyX402PathPostAsResponseAsync( + global::System.Threading.Tasks.Task> ProxyX402PathGet2AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet3.g.cs similarity index 95% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet3.g.cs index e95fd8d..2052c86 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost3.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet3.g.cs @@ -13,7 +13,7 @@ public partial interface IOrthogonalClient /// 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 ProxyX402PathPost3Async( + global::System.Threading.Tasks.Task ProxyX402PathGet3Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -26,7 +26,7 @@ public partial interface IOrthogonalClient /// 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> ProxyX402PathPost3AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyX402PathGet3AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet4.g.cs similarity index 95% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet4.g.cs index b1f9e58..535b615 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost4.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet4.g.cs @@ -13,7 +13,7 @@ public partial interface IOrthogonalClient /// 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 ProxyX402PathPost4Async( + global::System.Threading.Tasks.Task ProxyX402PathGet4Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); @@ -26,7 +26,7 @@ public partial interface IOrthogonalClient /// 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> ProxyX402PathPost4AsResponseAsync( + global::System.Threading.Tasks.Task> ProxyX402PathGet4AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet5.g.cs new file mode 100644 index 0000000..c9b2d65 --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathGet5.g.cs @@ -0,0 +1,34 @@ +#nullable enable + +namespace ScrapeGraphAI +{ + public partial interface IOrthogonalClient + { + /// + /// Proxy
+ /// Proxy endpoint for Orthogonal API integration.
+ /// Forwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path} + ///
+ /// + /// 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 ProxyX402PathGet5Async( + string path, + global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + /// + /// Proxy
+ /// Proxy endpoint for Orthogonal API integration.
+ /// Forwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path} + ///
+ /// + /// 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> ProxyX402PathGet5AsResponseAsync( + string path, + global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, + global::System.Threading.CancellationToken cancellationToken = default); + } +} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs deleted file mode 100644 index c2445e1..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.IOrthogonalClient.ProxyX402PathPost5.g.cs +++ /dev/null @@ -1,34 +0,0 @@ -#nullable enable - -namespace ScrapeGraphAI -{ - public partial interface IOrthogonalClient - { - /// - /// Proxy
- /// Proxy endpoint for Orthogonal API integration.
- /// Forwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path} - ///
- /// - /// 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 ProxyX402PathPost5Async( - string path, - global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - /// - /// Proxy
- /// Proxy endpoint for Orthogonal API integration.
- /// Forwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path} - ///
- /// - /// 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> ProxyX402PathPost5AsResponseAsync( - string path, - global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, - global::System.Threading.CancellationToken cancellationToken = default); - } -} \ No newline at end of file diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ActionStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ActionStep.Json.g.cs index 5caaf92..2b3ad09 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ActionStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ActionStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ActionStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ActionStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ActionStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponse.Json.g.cs index 652e02b..b04bce6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey.Json.g.cs index bd07570..9cc843b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey2.Json.g.cs index ac6ce70..ce15d41 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDB.Json.g.cs index 661a6f6..8518004 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBError.Json.g.cs index 3dad8b7..7a45fb2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBFinishedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBFinishedAt.Json.g.cs index 7250f2e..055f75a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBFinishedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBFinishedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBFinishedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBFinishedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBFinishedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata.Json.g.cs index 70e34b3..2816823 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata2.Json.g.cs index 7ade539..b0dc4c7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBMetadata2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBMetadata2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBMetadata2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBMetadata2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema.Json.g.cs index 029472b..bbbb51a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema2.Json.g.cs index 9000ff6..5d90925 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult.Json.g.cs index d63bd44..5c079da 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult2.Json.g.cs index 4cecd45..471b14f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBResult2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBResult2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBResult2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBResult2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBTotalCost.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBTotalCost.Json.g.cs index e499c1c..799d787 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBTotalCost.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBTotalCost.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBTotalCost; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBTotalCost? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBTotalCost; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUsageId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUsageId.Json.g.cs index 7c3f2e5..7d9f3d7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUsageId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUsageId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBUsageId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBUsageId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBUsageId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUserPrompt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUserPrompt.Json.g.cs index 5e69b6a..85ccc37 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUserPrompt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScraperRequestDBUserPrompt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScraperRequestDBUserPrompt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScraperRequestDBUserPrompt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScraperRequestDBUserPrompt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlRequest.Json.g.cs index 4f28045..6eaa584 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlResponse.Json.g.cs index 38c07d1..cfb1ae8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperLiveSessionUrlResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperLiveSessionUrlResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequest.Json.g.cs index 0ac4ec9..30bbdf0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestCountryCode.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestCountryCode.Json.g.cs index 719bee3..402e558 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestCountryCode.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestCountryCode.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequestCountryCode; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequestCountryCode? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequestCountryCode; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema.Json.g.cs index d4d20bf..8a9797a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequestOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequestOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequestOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema2.Json.g.cs index e85da78..be1189e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequestOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequestOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequestOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestSteps.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestSteps.Json.g.cs index b7d8174..de25507 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestSteps.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestSteps.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequestSteps; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequestSteps? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequestSteps; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestUserPrompt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestUserPrompt.Json.g.cs index 65aec6c..1f0a768 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestUserPrompt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestUserPrompt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequestUserPrompt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequestUserPrompt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequestUserPrompt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestWebhookUrl.Json.g.cs index 3d04a07..605c7e6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperRequestWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperRequestWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperRequestWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperRequestWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponse.Json.g.cs index 73c70ab..adad404 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseError.Json.g.cs index c2d7925..f4a25df 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperResponseError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperResponseError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperResponseError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult.Json.g.cs index 9663d91..42beec3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperResponseResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperResponseResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperResponseResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult2.Json.g.cs index dc4e527..804dcf5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperResponseResult2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperResponseResult2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperResponseResult2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperResponseResult2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperStopSessionRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperStopSessionRequest.Json.g.cs index cacfe34..02b64ec 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperStopSessionRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.AgenticScrapperStopSessionRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.AgenticScrapperStopSessionRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.AgenticScrapperStopSessionRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.AgenticScrapperStopSessionRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponse.Json.g.cs index fdd45f7..ce67c1e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedMarkdownifyResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedMarkdownifyResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedMarkdownifyResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponseResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponseResult.Json.g.cs index 9df3115..7fc5ab8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponseResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedMarkdownifyResponseResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedMarkdownifyResponseResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedMarkdownifyResponseResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedMarkdownifyResponseResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponse.Json.g.cs index 7aa8d3f..6df2c9e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseError.Json.g.cs index 5669023..9864157 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponseError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponseError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponseError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseMarkdownContent.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseMarkdownContent.Json.g.cs index 310e8b4..608b861 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseMarkdownContent.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseMarkdownContent.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponseMarkdownContent; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponseMarkdownContent? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponseMarkdownContent; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseNumResults.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseNumResults.Json.g.cs index 9e4155f..cb70669 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseNumResults.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseNumResults.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponseNumResults; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponseNumResults? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponseNumResults; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseReferenceUrls.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseReferenceUrls.Json.g.cs index 29a57c4..ba11938 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseReferenceUrls.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseReferenceUrls.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponseReferenceUrls; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponseReferenceUrls? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponseReferenceUrls; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant1.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant1.Json.g.cs index 06258fa..86246b7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant1.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant1.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponseResultVariant1; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponseResultVariant1? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponseResultVariant1; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant2.Json.g.cs index ef1ab33..6248ce0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSearchScraperResponseResultVariant2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSearchScraperResponseResultVariant2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSearchScraperResponseResultVariant2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSearchScraperResponseResultVariant2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.Json.g.cs index b27bab2..c16bfe9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSmartscraperResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSmartscraperResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSmartscraperResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseResult.Json.g.cs index 318e550..846fd2b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSmartscraperResponseResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSmartscraperResponseResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSmartscraperResponseResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseWebsiteUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseWebsiteUrl.Json.g.cs index c219fd9..57754f1 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseWebsiteUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CompletedSmartscraperResponseWebsiteUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CompletedSmartscraperResponseWebsiteUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CompletedSmartscraperResponseWebsiteUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CompletedSmartscraperResponseWebsiteUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStep.Json.g.cs index ea4038d..59a4b09 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ConditionalStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ConditionalStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ConditionalStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStepElseSteps.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStepElseSteps.Json.g.cs index 2c36bb0..fd3acb1 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStepElseSteps.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ConditionalStepElseSteps.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ConditionalStepElseSteps; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ConditionalStepElseSteps? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ConditionalStepElseSteps; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJob.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJob.Json.g.cs index c735c36..c4ccfc6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJob.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJob.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJob; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJob? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJob; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobBreadth.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobBreadth.Json.g.cs index f4d9b62..ba4f3ac 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobBreadth.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobBreadth.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobBreadth; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobBreadth? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobBreadth; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobCountryCode.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobCountryCode.Json.g.cs index 90cc7e9..fe1f3aa 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobCountryCode.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobCountryCode.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobCountryCode; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobCountryCode? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobCountryCode; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobMaxPages.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobMaxPages.Json.g.cs index 90d242b..1c287b4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobMaxPages.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobMaxPages.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobMaxPages; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobMaxPages? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobMaxPages; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobPrompt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobPrompt.Json.g.cs index e2acdea..60981a2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobPrompt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobPrompt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobPrompt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobPrompt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobPrompt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules.Json.g.cs index 6a0e7ba..cfd19c4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobRules; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobRules? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobRules; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules2.Json.g.cs index 0784b91..45a25ae 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRules2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobRules2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobRules2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobRules2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExclude.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExclude.Json.g.cs index 216b541..ec38ae0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExclude.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExclude.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobRulesExclude; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobRulesExclude? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobRulesExclude; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExcludePaths.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExcludePaths.Json.g.cs index 7f0a50e..6bf651e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExcludePaths.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesExcludePaths.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobRulesExcludePaths; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobRulesExcludePaths? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobRulesExcludePaths; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesIncludePaths.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesIncludePaths.Json.g.cs index 8abfa18..b9ee7a5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesIncludePaths.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobRulesIncludePaths.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobRulesIncludePaths; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobRulesIncludePaths? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobRulesIncludePaths; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema.Json.g.cs index e66cfb9..25f0d7e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema2.Json.g.cs index 156f7ea..a3ff3c9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobWebhookUrl.Json.g.cs index 7eb846f..c7aac42 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlJobWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlJobWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlJobWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlJobWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponse.Json.g.cs index 9ebd552..8ba4e93 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey.Json.g.cs index a5eb025..9039ef8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey2.Json.g.cs index b637445..ec0f272 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDB.Json.g.cs index c638b54..4f499b8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCrawledUrls.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCrawledUrls.Json.g.cs index 7fea356..14bda69 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCrawledUrls.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCrawledUrls.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBCrawledUrls; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBCrawledUrls? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBCrawledUrls; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCreditsUsed.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCreditsUsed.Json.g.cs index 0e636d4..b36479b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCreditsUsed.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBCreditsUsed.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBCreditsUsed; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBCreditsUsed? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBCreditsUsed; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBError.Json.g.cs index 2338b66..7f38924 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBFinishedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBFinishedAt.Json.g.cs index 55211be..cc3b6bc 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBFinishedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBFinishedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBFinishedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBFinishedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBFinishedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata.Json.g.cs index e3546d0..45f0441 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata2.Json.g.cs index d26ea7c..63a58a8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBMetadata2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBMetadata2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBMetadata2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBMetadata2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPagesProcessed.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPagesProcessed.Json.g.cs index a9c7342..ad09f7e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPagesProcessed.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPagesProcessed.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBPagesProcessed; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBPagesProcessed? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBPagesProcessed; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPrompt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPrompt.Json.g.cs index c9cf836..ece6716 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPrompt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBPrompt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBPrompt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBPrompt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBPrompt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams.Json.g.cs index 8b94b8a..bfdee3f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBRequestParams; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBRequestParams? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBRequestParams; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams2.Json.g.cs index 2983320..c2629d4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBRequestParams2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBRequestParams2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBRequestParams2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBRequestParams2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult.Json.g.cs index 68e486a..ecdfe28 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult2.Json.g.cs index 06f002b..6eb9f88 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResult2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBResult2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBResult2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBResult2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResultUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResultUrl.Json.g.cs index 05424b7..066707c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResultUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBResultUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBResultUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBResultUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBResultUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTaskId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTaskId.Json.g.cs index a575ece..c65bbef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTaskId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTaskId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBTaskId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBTaskId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBTaskId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTotalCost.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTotalCost.Json.g.cs index 1850357..f510ac6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTotalCost.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CrawlerRequestDBTotalCost.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CrawlerRequestDBTotalCost; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CrawlerRequestDBTotalCost? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CrawlerRequestDBTotalCost; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CreditsResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CreditsResponse.Json.g.cs index b050ae6..4816fb3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CreditsResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.CreditsResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.CreditsResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.CreditsResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.CreditsResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsBody.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsBody.Json.g.cs index 4e29c76..9b44024 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsBody.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsBody.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.DeductCreditsBody; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.DeductCreditsBody? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.DeductCreditsBody; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsResponse.Json.g.cs index 5b6e882..208ec3e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeductCreditsResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.DeductCreditsResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.DeductCreditsResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.DeductCreditsResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse.Json.g.cs index 533a7b5..a5cff56 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.DeleteMonitorV1SiteMonitorsMonitorIdDeleteResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse.Json.g.cs index ad60320..6725241 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.DeleteScheduledJobV1ScheduledJobsJobIdDeleteResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionRequest.Json.g.cs index 612d714..67fa819 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndPointSuggestionRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndPointSuggestionRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndPointSuggestionRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestions.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestions.Json.g.cs index dc36a8e..c84c580 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestions.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestions.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndPointSuggestions; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndPointSuggestions? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndPointSuggestions; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponse.Json.g.cs index ea1d39c..db70edb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndPointSuggestionsResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndPointSuggestionsResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndPointSuggestionsResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponseHtmlWithMarkdowns.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponseHtmlWithMarkdowns.Json.g.cs index f576d07..1bcdaef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponseHtmlWithMarkdowns.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndPointSuggestionsResponseHtmlWithMarkdowns.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndPointSuggestionsResponseHtmlWithMarkdowns; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndPointSuggestionsResponseHtmlWithMarkdowns? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndPointSuggestionsResponseHtmlWithMarkdowns; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointParameter.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointParameter.Json.g.cs index 28b4640..1f629f7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointParameter.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointParameter.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndpointParameter; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndpointParameter? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndpointParameter; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestion.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestion.Json.g.cs index 8a804c1..779161a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestion.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestion.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndpointSuggestion; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndpointSuggestion? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndpointSuggestion; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionInteractionSteps.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionInteractionSteps.Json.g.cs index d76e305..ef2a36a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionInteractionSteps.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionInteractionSteps.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndpointSuggestionInteractionSteps; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndpointSuggestionInteractionSteps? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndpointSuggestionInteractionSteps; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionPydanticSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionPydanticSchema.Json.g.cs index 9249139..afa6b0a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionPydanticSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.EndpointSuggestionPydanticSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.EndpointSuggestionPydanticSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.EndpointSuggestionPydanticSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.EndpointSuggestionPydanticSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest.Json.g.cs index 3f9ddb7..bca48ae 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ExecuteEndpointV1EndpointEndpointIdFullPathPostRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse.Json.g.cs index 179a02d..bf740a2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ExecuteEndpointV1EndpointEndpointIdFullPathPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStep.Json.g.cs index 57931ed..04c1509 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ExtractionStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ExtractionStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ExtractionStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema.Json.g.cs index 303709d..9c3ae48 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ExtractionStepSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ExtractionStepSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ExtractionStepSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema2.Json.g.cs index 52a0925..4c4f3a8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ExtractionStepSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ExtractionStepSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ExtractionStepSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ExtractionStepSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreate.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreate.Json.g.cs index e30dba9..06412f9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreate.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreate.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.FeedbackCreate; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.FeedbackCreate? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.FeedbackCreate; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreateFeedbackText.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreateFeedbackText.Json.g.cs index 0b641c2..621355f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreateFeedbackText.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackCreateFeedbackText.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.FeedbackCreateFeedbackText; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.FeedbackCreateFeedbackText? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.FeedbackCreateFeedbackText; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackResponse.Json.g.cs index 639238d..a362d84 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FeedbackResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.FeedbackResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.FeedbackResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.FeedbackResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetIsActive.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetIsActive.Json.g.cs index 31fac69..33d7b7c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetIsActive.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetIsActive.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.FetchScheduledJobsV1ScheduledJobsGetIsActive; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.FetchScheduledJobsV1ScheduledJobsGetIsActive? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.FetchScheduledJobsV1ScheduledJobsGetIsActive; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetServiceType.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetServiceType.Json.g.cs index 1e0a352..895d87b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetServiceType.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.FetchScheduledJobsV1ScheduledJobsGetServiceType.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.FetchScheduledJobsV1ScheduledJobsGetServiceType; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.FetchScheduledJobsV1ScheduledJobsGetServiceType? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.FetchScheduledJobsV1ScheduledJobsGetServiceType; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest.Json.g.cs index f6b084a..bf6dd45 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2.Json.g.cs index 64cacac..a5ad94d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetAgenticScraperHistoryV1HistoryAgenticScraperGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlResultV1CrawlTaskIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlResultV1CrawlTaskIdGetResponse.Json.g.cs index e02f231..4e70ff2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlResultV1CrawlTaskIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlResultV1CrawlTaskIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetCrawlResultV1CrawlTaskIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetCrawlResultV1CrawlTaskIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetCrawlResultV1CrawlTaskIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest.Json.g.cs index 025073f..d496313 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetCrawlerHistoryV1HistoryCrawlGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetCrawlerHistoryV1HistoryCrawlGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetCrawlerHistoryV1HistoryCrawlGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest2.Json.g.cs index 17f2e2d..1f10d98 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetCrawlerHistoryV1HistoryCrawlGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetCrawlerHistoryV1HistoryCrawlGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetCrawlerHistoryV1HistoryCrawlGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetCrawlerHistoryV1HistoryCrawlGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse.Json.g.cs index 93c873f..933a041 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetGenerateSchemaStatusV1GenerateSchemaRequestIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus.Json.g.cs index 04d39e6..913ee4c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetJobExecutionsV1ScheduledJobsJobIdExecutionsGetStatus; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest.Json.g.cs index 532733b..200a889 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2.Json.g.cs index 3d6ee30..0060cff 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetMarkdownifyHistoryV1HistoryMarkdownifyGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse.Json.g.cs index c00e618..8f44b8c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetMarkdownifyStatusV1MarkdownifyRequestIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse.Json.g.cs index 34c8d78..6531814 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSalesFeedItemsDetailsV1BandcampGetItemDetailsPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse.Json.g.cs index 3d3bd5b..a86a103 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSalesFeedItemsV1BandcampGetSalesFeedItemsPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest.Json.g.cs index c2f9347..82ce37e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetScrapeHistoryV1HistoryScrapeGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetScrapeHistoryV1HistoryScrapeGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetScrapeHistoryV1HistoryScrapeGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest2.Json.g.cs index 3e977a0..ade0e08 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetScrapeHistoryV1HistoryScrapeGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetScrapeHistoryV1HistoryScrapeGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetScrapeHistoryV1HistoryScrapeGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetScrapeHistoryV1HistoryScrapeGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest.Json.g.cs index 09ba9cd..4ff0ae6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSearchscraperHistoryV1HistorySearchscraperGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSearchscraperHistoryV1HistorySearchscraperGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSearchscraperHistoryV1HistorySearchscraperGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2.Json.g.cs index c98723e..358ecd3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSearchscraperHistoryV1HistorySearchscraperGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse.Json.g.cs index d7e438a..8839a17 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSearchscraperStatusV1SearchscraperRequestIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest.Json.g.cs index a0b9c56..b015f4d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSitemapHistoryV1HistorySitemapGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSitemapHistoryV1HistorySitemapGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSitemapHistoryV1HistorySitemapGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest2.Json.g.cs index 8004dd3..c4b4ed9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSitemapHistoryV1HistorySitemapGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSitemapHistoryV1HistorySitemapGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSitemapHistoryV1HistorySitemapGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSitemapHistoryV1HistorySitemapGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest.Json.g.cs index 2d7b950..f7553fb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSmartscraperHistoryV1HistorySmartscraperGetRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSmartscraperHistoryV1HistorySmartscraperGetRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSmartscraperHistoryV1HistorySmartscraperGetRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2.Json.g.cs index a1cce5f..ef79ee5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSmartscraperHistoryV1HistorySmartscraperGetRequest2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse.Json.g.cs index 73b6f1b..0e449ca 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetSmartscraperStatusV1SmartscraperRequestIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetUsageTimelineV1UsageTimelineGetDays.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetUsageTimelineV1UsageTimelineGetDays.Json.g.cs index ae296be..4160d4a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetUsageTimelineV1UsageTimelineGetDays.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetUsageTimelineV1UsageTimelineGetDays.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetUsageTimelineV1UsageTimelineGetDays; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetUsageTimelineV1UsageTimelineGetDays? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetUsageTimelineV1UsageTimelineGetDays; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse.Json.g.cs index 264d03e..4e0d9cb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetWebhookLogsV1WebhookLogsCrawlerIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse.Json.g.cs index c02f69c..84b1079 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.GetWebhookStatusV1WebhookStatusWebhookIdGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HTTPValidationError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HTTPValidationError.Json.g.cs index e024420..dd99963 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HTTPValidationError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HTTPValidationError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.HTTPValidationError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.HTTPValidationError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.HTTPValidationError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HealthCheckHealthzGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HealthCheckHealthzGetResponse.Json.g.cs index d2e5796..297e84a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HealthCheckHealthzGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.HealthCheckHealthzGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.HealthCheckHealthzGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.HealthCheckHealthzGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.HealthCheckHealthzGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionListResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionListResponse.Json.g.cs index 3ef8a9c..045dcae 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionListResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionListResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobExecutionListResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobExecutionListResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobExecutionListResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponse.Json.g.cs index a84bc00..c5a4824 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobExecutionResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobExecutionResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobExecutionResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseCompletedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseCompletedAt.Json.g.cs index 8419af3..f4562e3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseCompletedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseCompletedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobExecutionResponseCompletedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobExecutionResponseCompletedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobExecutionResponseCompletedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseErrorMessage.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseErrorMessage.Json.g.cs index 92a3ec7..5a84bdb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseErrorMessage.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseErrorMessage.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobExecutionResponseErrorMessage; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobExecutionResponseErrorMessage? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobExecutionResponseErrorMessage; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult.Json.g.cs index e8683da..3048c2c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobExecutionResponseResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobExecutionResponseResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobExecutionResponseResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult2.Json.g.cs index b819327..1546431 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobExecutionResponseResult2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobExecutionResponseResult2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobExecutionResponseResult2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobExecutionResponseResult2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobTriggerResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobTriggerResponse.Json.g.cs index 5cbee80..9d70f0b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobTriggerResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.JobTriggerResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.JobTriggerResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.JobTriggerResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.JobTriggerResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ListMonitorsV1SiteMonitorsGetIsActive.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ListMonitorsV1SiteMonitorsGetIsActive.Json.g.cs index eb4257a..6215a11 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ListMonitorsV1SiteMonitorsGetIsActive.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ListMonitorsV1SiteMonitorsGetIsActive.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ListMonitorsV1SiteMonitorsGetIsActive; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ListMonitorsV1SiteMonitorsGetIsActive? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ListMonitorsV1SiteMonitorsGetIsActive; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStep.Json.g.cs index 6cd9b15..6929937 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.LoopStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.LoopStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.LoopStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStepMaxIterations.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStepMaxIterations.Json.g.cs index 510ecd2..d2b5056 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStepMaxIterations.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.LoopStepMaxIterations.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.LoopStepMaxIterations; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.LoopStepMaxIterations? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.LoopStepMaxIterations; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownExtractionStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownExtractionStep.Json.g.cs index 96de4fe..6d31ce8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownExtractionStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownExtractionStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownExtractionStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownExtractionStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownExtractionStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponse.Json.g.cs index 7e737d9..54aed1c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey.Json.g.cs index 1e1d151..881156d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey2.Json.g.cs index 12d7c28..9a801ec 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequest.Json.g.cs index 75b99bb..c69fd50 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestCountryCode.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestCountryCode.Json.g.cs index ac0d91d..b12476c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestCountryCode.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestCountryCode.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestCountryCode; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestCountryCode? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestCountryCode; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDB.Json.g.cs index 63cdf94..fca3a0a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBError.Json.g.cs index b0d4084..51f6d3f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBFinishedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBFinishedAt.Json.g.cs index da6ac0d..9dc8fba 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBFinishedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBFinishedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBFinishedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBFinishedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBFinishedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata.Json.g.cs index 23c94fa..d1cad01 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata2.Json.g.cs index 1c39fac..ab4ef14 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBMetadata2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBMetadata2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBMetadata2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBMetadata2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams.Json.g.cs index 7cedbea..78bc4fe 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBRequestParams; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBRequestParams? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBRequestParams; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams2.Json.g.cs index 55d0708..f85ec51 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBRequestParams2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBRequestParams2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBRequestParams2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBRequestParams2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUsageId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUsageId.Json.g.cs index c2ae220..46ad81c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUsageId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUsageId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBUsageId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBUsageId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBUsageId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUserId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUserId.Json.g.cs index 9dacb30..f9c449a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUserId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBUserId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBUserId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBUserId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBUserId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBWebpageId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBWebpageId.Json.g.cs index e579cdc..fd2ff77 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBWebpageId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestDBWebpageId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestDBWebpageId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestDBWebpageId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestDBWebpageId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders.Json.g.cs index 0653104..7157df5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestHeaders; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestHeaders? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestHeaders; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders2.Json.g.cs index 2f101eb..a7563c6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestHeaders2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestHeaders2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestHeaders2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestHeaders2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestSteps.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestSteps.Json.g.cs index b9aa86f..00204b5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestSteps.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestSteps.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestSteps; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestSteps? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestSteps; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestWebhookUrl.Json.g.cs index dced6c8..5beaf03 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.MarkdownifyRequestWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.MarkdownifyRequestWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.MarkdownifyRequestWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.MarkdownifyRequestWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStep.Json.g.cs index 8681dc1..ba5c577 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.NavigationStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.NavigationStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.NavigationStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStepWaitFor.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStepWaitFor.Json.g.cs index fcd34cc..2ab0dca 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStepWaitFor.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.NavigationStepWaitFor.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.NavigationStepWaitFor; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.NavigationStepWaitFor? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.NavigationStepWaitFor; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse.Json.g.cs index 87cc96f..2122e43 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.PauseScheduledJobV1ScheduledJobsJobIdPausePostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedback.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedback.Json.g.cs index a4a9a82..aba7139 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedback.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedback.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedback; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedback? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedback; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCanContact.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCanContact.Json.g.cs index c5fc5c1..e0971e1 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCanContact.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCanContact.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackCanContact; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackCanContact? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackCanContact; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCompany.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCompany.Json.g.cs index e4006cc..a5a480f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCompany.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackCompany.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackCompany; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackCompany? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackCompany; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackContactMethod.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackContactMethod.Json.g.cs index 3c42305..7b653b3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackContactMethod.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackContactMethod.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackContactMethod; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackContactMethod? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackContactMethod; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackDisliked.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackDisliked.Json.g.cs index c7a4ff5..27ef994 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackDisliked.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackDisliked.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackDisliked; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackDisliked? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackDisliked; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackEmail.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackEmail.Json.g.cs index e3bf794..d57c489 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackEmail.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackEmail.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackEmail; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackEmail? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackEmail; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackHowDiscovered.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackHowDiscovered.Json.g.cs index 3839219..d484373 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackHowDiscovered.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackHowDiscovered.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackHowDiscovered; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackHowDiscovered? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackHowDiscovered; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackImprovementSuggestions.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackImprovementSuggestions.Json.g.cs index e17b391..35e843a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackImprovementSuggestions.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackImprovementSuggestions.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackImprovementSuggestions; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackImprovementSuggestions? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackImprovementSuggestions; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackIssues.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackIssues.Json.g.cs index faa11e2..51392db 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackIssues.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackIssues.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackIssues; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackIssues? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackIssues; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackLikedMost.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackLikedMost.Json.g.cs index 709aacf..6421f59 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackLikedMost.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackLikedMost.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackLikedMost; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackLikedMost? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackLikedMost; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackName.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackName.Json.g.cs index d40ce14..b5a7415 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackName.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackName.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackName; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackName? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackName; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRating.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRating.Json.g.cs index 4311861..ceb7df4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRating.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRating.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackRating; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackRating? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackRating; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRecommendScore.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRecommendScore.Json.g.cs index 69a7fe3..30fe10c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRecommendScore.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRecommendScore.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackRecommendScore; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackRecommendScore? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackRecommendScore; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRequestedFeatures.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRequestedFeatures.Json.g.cs index 9a05e04..549ef51 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRequestedFeatures.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackRequestedFeatures.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackRequestedFeatures; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackRequestedFeatures? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackRequestedFeatures; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackResponse.Json.g.cs index 4503601..d0f4808 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackSetupEasy.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackSetupEasy.Json.g.cs index eff81c5..1789c37 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackSetupEasy.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackSetupEasy.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackSetupEasy; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackSetupEasy? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackSetupEasy; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUsageFrequency.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUsageFrequency.Json.g.cs index c05e095..31c78a0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUsageFrequency.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUsageFrequency.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackUsageFrequency; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackUsageFrequency? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackUsageFrequency; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUseCases.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUseCases.Json.g.cs index 757698f..f1e1d5d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUseCases.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProductFeedbackUseCases.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ProductFeedbackUseCases; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProductFeedbackUseCases? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProductFeedbackUseCases; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse.Json.g.cs similarity index 65% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse.Json.g.cs index 7021695..445e970 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathPostResponse2 + public sealed partial class ProxyX402PathGetResponse { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -34,14 +47,25 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathPostResponse2? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse2), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse2; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathGetResponse; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -51,11 +75,18 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse2? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +94,25 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse2; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathGetResponse; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -80,11 +122,18 @@ 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( + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse.g.cs similarity index 89% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse.g.cs index a5afe75..8714f9c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathPostResponse + public sealed partial class ProxyX402PathGetResponse { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse2.Json.g.cs similarity index 65% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse2.Json.g.cs index cc1ffdf..6bf29f6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse2.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathPostResponse + public sealed partial class ProxyX402PathGetResponse2 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -34,14 +47,25 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathPostResponse? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse2? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse2), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathGetResponse2; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathGetResponse2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -51,11 +75,18 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse2? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +94,25 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse2), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathGetResponse2; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -80,11 +122,18 @@ 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( + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse2.g.cs similarity index 89% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse2.g.cs index c6a6e89..bd1898a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse2.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse2.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathPostResponse2 + public sealed partial class ProxyX402PathGetResponse2 { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse3.Json.g.cs similarity index 64% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse3.Json.g.cs index e9797e4..25e6476 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse3.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathPostResponse3 + public sealed partial class ProxyX402PathGetResponse3 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -34,14 +47,25 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathPostResponse3? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse3? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse3), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse3; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse3), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathGetResponse3; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathGetResponse3? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -51,11 +75,18 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse3? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse3? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +94,25 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse3; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse3), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathGetResponse3; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -80,11 +122,18 @@ 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( + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse3.g.cs similarity index 89% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse3.g.cs index f4d4c1c..230f2b8 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse3.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse3.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathPostResponse3 + public sealed partial class ProxyX402PathGetResponse3 { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse4.Json.g.cs similarity index 64% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse4.Json.g.cs index 96c33f6..7775e1e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse4.Json.g.cs @@ -2,7 +2,7 @@ namespace ScrapeGraphAI { - public sealed partial class ProxyX402PathPostResponse4 + public sealed partial class ProxyX402PathGetResponse4 { /// /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -34,14 +47,25 @@ public string ToJson( /// /// Deserializes a JSON string using the provided JsonSerializerContext. /// - public static global::ScrapeGraphAI.ProxyX402PathPostResponse4? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse4? FromJson( string json, global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) { return global::System.Text.Json.JsonSerializer.Deserialize( json, - typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse4), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse4; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse4), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathGetResponse4; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathGetResponse4? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -51,11 +75,18 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse4? FromJson( + public static global::ScrapeGraphAI.ProxyX402PathGetResponse4? FromJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { - return global::System.Text.Json.JsonSerializer.Deserialize( + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); } @@ -63,14 +94,25 @@ 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::ScrapeGraphAI.ProxyX402PathPostResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse4; + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse4), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathGetResponse4; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); } /// @@ -80,11 +122,18 @@ 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( + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); } diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse4.g.cs similarity index 89% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse4.g.cs index 5d702cc..08f3dad 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse4.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse4.g.cs @@ -6,7 +6,7 @@ namespace ScrapeGraphAI /// /// /// - public sealed partial class ProxyX402PathPostResponse4 + public sealed partial class ProxyX402PathGetResponse4 { /// diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.Json.g.cs new file mode 100644 index 0000000..1b6517c --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.Json.g.cs @@ -0,0 +1,141 @@ +#nullable enable + +namespace ScrapeGraphAI +{ + public sealed partial class ProxyX402PathGetResponse5 + { + /// + /// 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 generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.Serialize( + this, + jsonSerializerOptions); + } + + /// + /// Deserializes a JSON string using the provided JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathGetResponse5? FromJson( + string json, + global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) + { + return global::System.Text.Json.JsonSerializer.Deserialize( + json, + typeof(global::ScrapeGraphAI.ProxyX402PathGetResponse5), + jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathGetResponse5; + } + + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ProxyX402PathGetResponse5? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + /// + /// 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::ScrapeGraphAI.ProxyX402PathGetResponse5? FromJson( + string json, + global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) + { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + 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::ScrapeGraphAI.ProxyX402PathGetResponse5), + jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathGetResponse5; + } + + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + /// + /// 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) + { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + + return global::System.Text.Json.JsonSerializer.DeserializeAsync( + jsonStream, + jsonSerializerOptions); + } + } +} diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.g.cs new file mode 100644 index 0000000..55f6419 --- /dev/null +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathGetResponse5.g.cs @@ -0,0 +1,19 @@ + +#nullable enable + +namespace ScrapeGraphAI +{ + /// + /// + /// + public sealed partial class ProxyX402PathGetResponse5 + { + + /// + /// 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/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs deleted file mode 100644 index bd53e36..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.Json.g.cs +++ /dev/null @@ -1,92 +0,0 @@ -#nullable enable - -namespace ScrapeGraphAI -{ - public sealed partial class ProxyX402PathPostResponse5 - { - /// - /// 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::ScrapeGraphAI.ProxyX402PathPostResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::ScrapeGraphAI.ProxyX402PathPostResponse5), - jsonSerializerContext) as global::ScrapeGraphAI.ProxyX402PathPostResponse5; - } - - /// - /// 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::ScrapeGraphAI.ProxyX402PathPostResponse5? 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::ScrapeGraphAI.ProxyX402PathPostResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ProxyX402PathPostResponse5; - } - - /// - /// 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/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs deleted file mode 100644 index d82047e..0000000 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ProxyX402PathPostResponse5.g.cs +++ /dev/null @@ -1,19 +0,0 @@ - -#nullable enable - -namespace ScrapeGraphAI -{ - /// - /// - /// - public sealed partial class ProxyX402PathPostResponse5 - { - - /// - /// 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/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternRequest.Json.g.cs index 1aaed67..8dc6309 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.QueryRedisCacheByPatternRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.QueryRedisCacheByPatternRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.QueryRedisCacheByPatternRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse.Json.g.cs index 11987ea..14f8280 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.QueryRedisCacheByPatternV1AdminQueryRedisCacheByPatternPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse.Json.g.cs index 32dc678..b08f26f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ResumeScheduledJobV1ScheduledJobsJobIdResumePostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SaveEndpointV1EndpointSaveEndpointPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SaveEndpointV1EndpointSaveEndpointPostResponse.Json.g.cs index bcbadad..e39cfc7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SaveEndpointV1EndpointSaveEndpointPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SaveEndpointV1EndpointSaveEndpointPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SaveEndpointV1EndpointSaveEndpointPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SaveEndpointV1EndpointSaveEndpointPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SaveEndpointV1EndpointSaveEndpointPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreate.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreate.Json.g.cs index 6ee04b3..39af555 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreate.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreate.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobCreate; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobCreate? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobCreate; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateJobConfig.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateJobConfig.Json.g.cs index 4177374..c668368 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateJobConfig.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateJobConfig.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobCreateJobConfig; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobCreateJobConfig? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobCreateJobConfig; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateWebhookUrl.Json.g.cs index 476e438..f72990f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobCreateWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobCreateWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobCreateWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobCreateWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobListResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobListResponse.Json.g.cs index 681a534..77a8c95 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobListResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobListResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobListResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobListResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobListResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponse.Json.g.cs index 71e902a..60588f6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseJobConfig.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseJobConfig.Json.g.cs index 283b548..ea10f1a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseJobConfig.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseJobConfig.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobResponseJobConfig; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobResponseJobConfig? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobResponseJobConfig; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseLastRunAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseLastRunAt.Json.g.cs index 9ea862c..630f540 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseLastRunAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseLastRunAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobResponseLastRunAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobResponseLastRunAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobResponseLastRunAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseNextRunAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseNextRunAt.Json.g.cs index 5fa53a0..8de2fbc 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseNextRunAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScheduledJobResponseNextRunAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScheduledJobResponseNextRunAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScheduledJobResponseNextRunAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScheduledJobResponseNextRunAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequest.Json.g.cs index b12cee3..4bcbc58 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SchemaGenerationRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SchemaGenerationRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SchemaGenerationRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema.Json.g.cs index af5d705..fb7b7a4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SchemaGenerationRequestExistingSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SchemaGenerationRequestExistingSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SchemaGenerationRequestExistingSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema2.Json.g.cs index f99029b..3338c1d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationRequestExistingSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SchemaGenerationRequestExistingSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SchemaGenerationRequestExistingSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SchemaGenerationRequestExistingSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponse.Json.g.cs index 299dc92..1fa9768 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SchemaGenerationResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SchemaGenerationResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SchemaGenerationResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseError.Json.g.cs index f814ff0..a73f69d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SchemaGenerationResponseError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SchemaGenerationResponseError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SchemaGenerationResponseError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseGeneratedSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseGeneratedSchema.Json.g.cs index cb37019..864422a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseGeneratedSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SchemaGenerationResponseGeneratedSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SchemaGenerationResponseGeneratedSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SchemaGenerationResponseGeneratedSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SchemaGenerationResponseGeneratedSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponse.Json.g.cs index dfb62ef..e71cc94 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey.Json.g.cs index df9eb76..57987b6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey2.Json.g.cs index a5ab6e2..782ceaa 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequest.Json.g.cs index 2c87a64..4c8cda6 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestCountryCode.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestCountryCode.Json.g.cs index 30ff2ad..fa42c5f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestCountryCode.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestCountryCode.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestCountryCode; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestCountryCode? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestCountryCode; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.Json.g.cs index 31f8baa..37cccb0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs index 5b50eff..a3a2756 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDB.g.cs @@ -67,7 +67,7 @@ public sealed partial class ScrapeRequestDB public global::System.DateTime? FinishedAt { get; set; } /// - /// Default Value: 2026-06-16T15:44:18.349674 + /// Default Value: 2026-06-15T14:09:59.207604 /// [global::System.Text.Json.Serialization.JsonPropertyName("requested_at")] public global::System.DateTime? RequestedAt { get; set; } @@ -110,7 +110,7 @@ public sealed partial class ScrapeRequestDB /// /// /// - /// Default Value: 2026-06-16T15:44:18.349674 + /// Default Value: 2026-06-15T14:09:59.207604 /// /// /// Default Value: 0 diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBError.Json.g.cs index da76e61..1c6a00c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBFinishedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBFinishedAt.Json.g.cs index 2db091b..e4c451e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBFinishedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBFinishedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBFinishedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBFinishedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBFinishedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBMetadata.Json.g.cs index fea1475..d18a692 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams.Json.g.cs index 31d033a..62260a4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBRequestParams; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBRequestParams? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBRequestParams; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams2.Json.g.cs index 068369e..2fd1e05 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBRequestParams2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBRequestParams2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBRequestParams2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBRequestParams2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBResult.Json.g.cs index 230e08f..eb01988 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBUserId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBUserId.Json.g.cs index d1ca123..626b3fb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBUserId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeRequestDBUserId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeRequestDBUserId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeRequestDBUserId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeRequestDBUserId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeV1ScrapePostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeV1ScrapePostResponse.Json.g.cs index f64ea6b..58e2e92 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeV1ScrapePostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ScrapeV1ScrapePostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ScrapeV1ScrapePostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ScrapeV1ScrapePostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ScrapeV1ScrapePostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequest.Json.g.cs index 6e89c9d..9d25410 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders.Json.g.cs index 5e4c9f3..0302dd7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestHeaders; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestHeaders? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestHeaders; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders2.Json.g.cs index bd5d1f4..17290f2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestHeaders2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestHeaders2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestHeaders2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestHeaders2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestLocationGeoCode.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestLocationGeoCode.Json.g.cs index 2b6a0ae..b833f32 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestLocationGeoCode.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestLocationGeoCode.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestLocationGeoCode; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestLocationGeoCode? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestLocationGeoCode; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema.Json.g.cs index 2036751..8a43492 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema2.Json.g.cs index 3378b29..3676275 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestTimeRange.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestTimeRange.Json.g.cs index f3b7e66..805ded3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestTimeRange.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestTimeRange.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestTimeRange; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestTimeRange? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestTimeRange; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestWebhookUrl.Json.g.cs index 1553697..687ed46 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchScraperRequestWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchScraperRequestWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchScraperRequestWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchScraperRequestWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponse.Json.g.cs index d8f2465..588f687 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey.Json.g.cs index 177d9d9..f0a24f4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey2.Json.g.cs index a717d01..144de9d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDB.Json.g.cs index 2a22eb3..b7f3d4d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBError.Json.g.cs index 1e319ca..aac3545 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBExtractionQuery.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBExtractionQuery.Json.g.cs index 6e904cb..2cecf57 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBExtractionQuery.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBExtractionQuery.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBExtractionQuery; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBExtractionQuery? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBExtractionQuery; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBFinishedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBFinishedAt.Json.g.cs index f22760b..457abd4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBFinishedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBFinishedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBFinishedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBFinishedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBFinishedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBMetadata.Json.g.cs index e106837..2eeaa0d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema.Json.g.cs index 6f561ae..b97ac51 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema2.Json.g.cs index 0157601..3bf3d0d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBReferencesUrls.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBReferencesUrls.Json.g.cs index 4fbd693..df2c046 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBReferencesUrls.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBReferencesUrls.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBReferencesUrls; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBReferencesUrls? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBReferencesUrls; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult.Json.g.cs index 60f6932..3332ce4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult2.Json.g.cs index 979f53d..9f78a2b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBResult2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBResult2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBResult2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBResult2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBSearchQuery.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBSearchQuery.Json.g.cs index 1fc9dbf..73ac62e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBSearchQuery.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBSearchQuery.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBSearchQuery; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBSearchQuery? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBSearchQuery; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBUserId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBUserId.Json.g.cs index 9b263d4..b790dab 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBUserId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SearchscraperRequestDBUserId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SearchscraperRequestDBUserId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SearchscraperRequestDBUserId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SearchscraperRequestDBUserId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreate.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreate.Json.g.cs index 2fc2ce7..3428e0d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreate.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreate.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorCreate; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorCreate? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorCreate; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateExtractionConfig.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateExtractionConfig.Json.g.cs index 280c339..6443c4f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateExtractionConfig.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateExtractionConfig.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorCreateExtractionConfig; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorCreateExtractionConfig? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorCreateExtractionConfig; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateName.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateName.Json.g.cs index 187b846..5adbfa9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateName.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorCreateName.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorCreateName; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorCreateName? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorCreateName; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfig.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfig.Json.g.cs index 17c2055..0ef6277 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfig.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfig.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorExtractionConfig; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorExtractionConfig? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorExtractionConfig; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema.Json.g.cs index f552e0c..6bac5ef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorExtractionConfigOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorExtractionConfigOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorExtractionConfigOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema2.Json.g.cs index 9ebe176..2267d2e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorExtractionConfigOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorExtractionConfigOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorExtractionConfigOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigUserPrompt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigUserPrompt.Json.g.cs index d986df4..c9743d4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigUserPrompt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorExtractionConfigUserPrompt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorExtractionConfigUserPrompt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorExtractionConfigUserPrompt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorExtractionConfigUserPrompt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorListResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorListResponse.Json.g.cs index a150c0f..e565237 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorListResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorListResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorListResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorListResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorListResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponse.Json.g.cs index b5579d9..de837b0 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig.Json.g.cs index 3490d97..dff15c7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorResponseExtractionConfig; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorResponseExtractionConfig? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorResponseExtractionConfig; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig2.Json.g.cs index 96963ef..cd8f1c9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseExtractionConfig2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorResponseExtractionConfig2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorResponseExtractionConfig2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorResponseExtractionConfig2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseLastRunAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseLastRunAt.Json.g.cs index 031e925..3cd4212 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseLastRunAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseLastRunAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorResponseLastRunAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorResponseLastRunAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorResponseLastRunAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseName.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseName.Json.g.cs index 1a01dce..5e00d40 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseName.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseName.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorResponseName; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorResponseName? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorResponseName; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseNextRunAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseNextRunAt.Json.g.cs index 8314da2..1ada588 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseNextRunAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorResponseNextRunAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorResponseNextRunAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorResponseNextRunAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorResponseNextRunAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdate.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdate.Json.g.cs index ccf0025..103ae2c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdate.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdate.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorUpdate; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorUpdate? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorUpdate; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateCronExpression.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateCronExpression.Json.g.cs index 7abad70..835f5de 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateCronExpression.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateCronExpression.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorUpdateCronExpression; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorUpdateCronExpression? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorUpdateCronExpression; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateExtractionConfig.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateExtractionConfig.Json.g.cs index 0b4e4ac..99c3f66 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateExtractionConfig.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateExtractionConfig.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorUpdateExtractionConfig; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorUpdateExtractionConfig? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorUpdateExtractionConfig; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateIsActive.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateIsActive.Json.g.cs index e36defc..42b2048 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateIsActive.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateIsActive.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorUpdateIsActive; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorUpdateIsActive? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorUpdateIsActive; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateName.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateName.Json.g.cs index 2c820b8..ef567bd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateName.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateName.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorUpdateName; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorUpdateName? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorUpdateName; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateWebhookUrl.Json.g.cs index 6fabfcc..294f1fe 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SiteMonitorUpdateWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SiteMonitorUpdateWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SiteMonitorUpdateWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SiteMonitorUpdateWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponse.Json.g.cs index 70f2fbb..234a38a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey.Json.g.cs index 27688bf..51b2f87 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey2.Json.g.cs index dedcba3..610f71b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequest.Json.g.cs index 1563849..8fea188 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDB.Json.g.cs index 8abd0eb..e28eec2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBErrorMessage.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBErrorMessage.Json.g.cs index 1f2abf5..7387fbc 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBErrorMessage.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBErrorMessage.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapRequestDBErrorMessage; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapRequestDBErrorMessage? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapRequestDBErrorMessage; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata.Json.g.cs index ed9f34d..4d29bb9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata2.Json.g.cs index 64c5dbf..6154a61 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapRequestDBMetadata2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapRequestDBMetadata2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapRequestDBMetadata2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapRequestDBMetadata2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapResponse.Json.g.cs index a27b6e3..e0b9a65 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SitemapResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SitemapResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SitemapResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SitemapResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponse.Json.g.cs index 2370a09..569a8f3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperHistoryResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperHistoryResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperHistoryResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey.Json.g.cs index 9267365..7fc8085 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperHistoryResponseNextKey; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperHistoryResponseNextKey? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperHistoryResponseNextKey; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey2.Json.g.cs index 51fb1ca..866a45e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperHistoryResponseNextKey2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperHistoryResponseNextKey2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperHistoryResponseNextKey2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperHistoryResponseNextKey2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequest.Json.g.cs index 90b96b3..5eb7092 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies.Json.g.cs index 2d5deb2..5941465 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestCookies; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestCookies? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestCookies; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies2.Json.g.cs index 1535870..a4d71dc 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCookies2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestCookies2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestCookies2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestCookies2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCountryCode.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCountryCode.Json.g.cs index 1f3f07f..1c9e5d5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCountryCode.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestCountryCode.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestCountryCode; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestCountryCode? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestCountryCode; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDB.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDB.Json.g.cs index 18b3a3b..6802b07 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDB.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDB.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDB; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDB? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDB; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBError.Json.g.cs index bf2f7c3..2498ffd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBFinishedAt.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBFinishedAt.Json.g.cs index 2b7d2d5..3b82139 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBFinishedAt.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBFinishedAt.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBFinishedAt; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBFinishedAt? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBFinishedAt; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata.Json.g.cs index 702ce87..6f64dab 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBMetadata; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBMetadata? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBMetadata; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata2.Json.g.cs index bfc725e..09d1d23 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBMetadata2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBMetadata2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBMetadata2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBMetadata2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema.Json.g.cs index a964c7a..7d1f27e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema2.Json.g.cs index 044996c..9ccf2ef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams.Json.g.cs index 403ab01..fbe447a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBRequestParams; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBRequestParams? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBRequestParams; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams2.Json.g.cs index 99a1ed6..1bfaa64 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBRequestParams2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBRequestParams2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBRequestParams2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBRequestParams2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant1.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant1.Json.g.cs index 19e6087..d88d759 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant1.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant1.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBResultVariant1; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBResultVariant1? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBResultVariant1; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant2.Json.g.cs index d857d68..8cd72b3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBResultVariant2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBResultVariant2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBResultVariant2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBResultVariant2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBUserId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBUserId.Json.g.cs index a878675..d8693c5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBUserId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBUserId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBUserId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBUserId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBUserId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebpageId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebpageId.Json.g.cs index 38dd0d3..a1bf18d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebpageId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebpageId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBWebpageId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBWebpageId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBWebpageId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebsiteUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebsiteUrl.Json.g.cs index 4df1aca..75c5b3f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebsiteUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestDBWebsiteUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestDBWebsiteUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestDBWebsiteUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestDBWebsiteUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders.Json.g.cs index 2af48c2..fadb8a4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestHeaders; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestHeaders? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestHeaders; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders2.Json.g.cs index 30b1086..3f62a9c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestHeaders2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestHeaders2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestHeaders2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestHeaders2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema.Json.g.cs index ef39471..8479564 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestOutputSchema; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestOutputSchema? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestOutputSchema; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema2.Json.g.cs index 74cbbd1..2211418 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestOutputSchema2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestOutputSchema2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestOutputSchema2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestOutputSchema2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestSteps.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestSteps.Json.g.cs index 319e13e..414f66e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestSteps.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestSteps.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestSteps; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestSteps? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestSteps; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebhookUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebhookUrl.Json.g.cs index 772dbc8..22a21aa 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebhookUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebhookUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestWebhookUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestWebhookUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestWebhookUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteHtml.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteHtml.Json.g.cs index d068a34..523f60c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteHtml.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteHtml.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestWebsiteHtml; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestWebsiteHtml? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestWebsiteHtml; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteMarkdown.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteMarkdown.Json.g.cs index a467444..f5afce4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteMarkdown.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteMarkdown.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestWebsiteMarkdown; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestWebsiteMarkdown? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestWebsiteMarkdown; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteUrl.Json.g.cs index e8b3696..241565a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SmartscraperRequestWebsiteUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SmartscraperRequestWebsiteUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SmartscraperRequestWebsiteUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SmartscraperRequestWebsiteUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StartCrawlV1CrawlPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StartCrawlV1CrawlPostResponse.Json.g.cs index 257fb3a..94afc36 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StartCrawlV1CrawlPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StartCrawlV1CrawlPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.StartCrawlV1CrawlPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.StartCrawlV1CrawlPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.StartCrawlV1CrawlPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResult.Json.g.cs index e6b29f0..6010bd9 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.StepResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.StepResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.StepResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData.Json.g.cs index db3d7c0..735a05d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.StepResultData; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.StepResultData? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.StepResultData; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData2.Json.g.cs index 10c9097..4ae0dcf 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultData2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.StepResultData2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.StepResultData2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.StepResultData2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultError.Json.g.cs index 232b61c..c8a77b3 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StepResultError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.StepResultError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.StepResultError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.StepResultError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StopSessionV1StopSessionPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StopSessionV1StopSessionPostResponse.Json.g.cs index d641144..c99c2a5 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StopSessionV1StopSessionPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.StopSessionV1StopSessionPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.StopSessionV1StopSessionPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.StopSessionV1StopSessionPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.StopSessionV1StopSessionPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStep.Json.g.cs index 4295d06..814d19a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SubWorkflowStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SubWorkflowStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SubWorkflowStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepInputMapping.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepInputMapping.Json.g.cs index 203e4d2..cf12108 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepInputMapping.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepInputMapping.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SubWorkflowStepInputMapping; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SubWorkflowStepInputMapping? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SubWorkflowStepInputMapping; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping.Json.g.cs index 2d425ce..c2b95d7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SubWorkflowStepOutputMapping; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SubWorkflowStepOutputMapping? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SubWorkflowStepOutputMapping; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping2.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping2.Json.g.cs index 06c3141..b58ea11 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping2.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepOutputMapping2.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SubWorkflowStepOutputMapping2; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SubWorkflowStepOutputMapping2? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SubWorkflowStepOutputMapping2; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflow.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflow.Json.g.cs index 8de76a3..ef61cbd 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflow.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflow.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SubWorkflowStepWorkflow; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SubWorkflowStepWorkflow? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SubWorkflowStepWorkflow; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflowId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflowId.Json.g.cs index 0d721b4..83040c4 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflowId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.SubWorkflowStepWorkflowId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.SubWorkflowStepWorkflowId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.SubWorkflowStepWorkflowId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.SubWorkflowStepWorkflowId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.TimelineEntry.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.TimelineEntry.Json.g.cs index 1abd508..145a017 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.TimelineEntry.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.TimelineEntry.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.TimelineEntry; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.TimelineEntry? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.TimelineEntry; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostRequest.Json.g.cs index 6e6f183..b2aeceb 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ToonifyV1ToonifyPostRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ToonifyV1ToonifyPostRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ToonifyV1ToonifyPostRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostResponse.Json.g.cs index 7b04474..76c4b26 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ToonifyV1ToonifyPostResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ToonifyV1ToonifyPostResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ToonifyV1ToonifyPostResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ToonifyV1ToonifyPostResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest.Json.g.cs index 0cb2c76..7aab72f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.UpdateScheduledJobV1ScheduledJobsJobIdPatchRequest; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UsageTimelineResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UsageTimelineResponse.Json.g.cs index b9a19fc..f50558d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UsageTimelineResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.UsageTimelineResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.UsageTimelineResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.UsageTimelineResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.UsageTimelineResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidateApiKeyV1ValidateGetResponse.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidateApiKeyV1ValidateGetResponse.Json.g.cs index ace6dff..16c1aaf 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidateApiKeyV1ValidateGetResponse.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidateApiKeyV1ValidateGetResponse.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ValidateApiKeyV1ValidateGetResponse; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ValidateApiKeyV1ValidateGetResponse? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ValidateApiKeyV1ValidateGetResponse; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidationError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidationError.Json.g.cs index d7a6de9..755640a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidationError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.ValidationError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.ValidationError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.ValidationError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.ValidationError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStep.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStep.Json.g.cs index 265aba9..3297189 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStep.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStep.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WaitStep; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WaitStep? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WaitStep; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepDuration.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepDuration.Json.g.cs index 16f3213..549af30 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepDuration.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepDuration.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WaitStepDuration; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WaitStepDuration? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WaitStepDuration; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForCondition.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForCondition.Json.g.cs index 45bb175..271835a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForCondition.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForCondition.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WaitStepForCondition; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WaitStepForCondition? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WaitStepForCondition; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForSelector.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForSelector.Json.g.cs index 918b96b..0190823 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForSelector.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WaitStepForSelector.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WaitStepForSelector; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WaitStepForSelector? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WaitStepForSelector; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinition.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinition.Json.g.cs index fa42a0d..555c58c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinition.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinition.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowDefinition; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowDefinition? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowDefinition; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionDescription.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionDescription.Json.g.cs index c8b2909..3e8df5e 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionDescription.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionDescription.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowDefinitionDescription; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowDefinitionDescription? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowDefinitionDescription; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionInitialContext.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionInitialContext.Json.g.cs index 3c6b075..4ce8fef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionInitialContext.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionInitialContext.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowDefinitionInitialContext; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowDefinitionInitialContext? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowDefinitionInitialContext; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionOutputVariables.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionOutputVariables.Json.g.cs index 2abce5f..6f6de56 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionOutputVariables.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionOutputVariables.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowDefinitionOutputVariables; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowDefinitionOutputVariables? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowDefinitionOutputVariables; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionStartUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionStartUrl.Json.g.cs index e02c18c..f4cfee7 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionStartUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionStartUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowDefinitionStartUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowDefinitionStartUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowDefinitionStartUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionWorkflowId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionWorkflowId.Json.g.cs index 518ab90..b21f48b 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionWorkflowId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowDefinitionWorkflowId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowDefinitionWorkflowId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowDefinitionWorkflowId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowDefinitionWorkflowId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResult.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResult.Json.g.cs index 984691c..960245c 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResult.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResult.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResult; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResult? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResult; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultError.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultError.Json.g.cs index 9715d32..0ec5919 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultError.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultError.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultError; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultError? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultError; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalContext.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalContext.Json.g.cs index 503f218..d44c37a 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalContext.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalContext.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultFinalContext; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultFinalContext? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultFinalContext; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalHtml.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalHtml.Json.g.cs index 3a7f0bd..90963ba 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalHtml.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalHtml.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultFinalHtml; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultFinalHtml? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultFinalHtml; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalUrl.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalUrl.Json.g.cs index 0f40b81..26c1d5d 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalUrl.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultFinalUrl.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultFinalUrl; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultFinalUrl? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultFinalUrl; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultOutput.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultOutput.Json.g.cs index eacc3fc..038e2c2 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultOutput.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultOutput.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultOutput; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultOutput? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultOutput; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultSessionId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultSessionId.Json.g.cs index 9f7e950..6228aab 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultSessionId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultSessionId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultSessionId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultSessionId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultSessionId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultWorkflowId.Json.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultWorkflowId.Json.g.cs index 3c89d35..c16b54f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultWorkflowId.Json.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.Models.WorkflowExecutionResultWorkflowId.Json.g.cs @@ -16,6 +16,14 @@ public string ToJson( jsonSerializerContext); } + /// + /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. + /// + public string ToJson() + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. /// @@ -26,6 +34,11 @@ public string ToJson( public string ToJson( global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return ToJson(global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Serialize( this, jsonSerializerOptions); @@ -44,6 +57,17 @@ public string ToJson( jsonSerializerContext) as global::ScrapeGraphAI.WorkflowExecutionResultWorkflowId; } + /// + /// Deserializes a JSON string using the generated default JsonSerializerContext. + /// + public static global::ScrapeGraphAI.WorkflowExecutionResultWorkflowId? FromJson( + string json) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON string using the provided JsonSerializerOptions. /// @@ -55,6 +79,13 @@ public string ToJson( string json, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJson( + json, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.Deserialize( json, jsonSerializerOptions); @@ -73,6 +104,17 @@ public string ToJson( jsonSerializerContext).ConfigureAwait(false)) as global::ScrapeGraphAI.WorkflowExecutionResultWorkflowId; } + /// + /// Deserializes a JSON stream using the generated default JsonSerializerContext. + /// + public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( + global::System.IO.Stream jsonStream) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + /// /// Deserializes a JSON stream using the provided JsonSerializerOptions. /// @@ -84,6 +126,13 @@ public string ToJson( global::System.IO.Stream jsonStream, global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) { + if (jsonSerializerOptions is null) + { + return FromJsonStreamAsync( + jsonStream, + global::ScrapeGraphAI.SourceGenerationContext.Default); + } + return global::System.Text.Json.JsonSerializer.DeserializeAsync( jsonStream, jsonSerializerOptions); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet.g.cs similarity index 93% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet.g.cs index 7c260bf..43d7199 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost4.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet.g.cs @@ -7,7 +7,7 @@ public partial class OrthogonalClient { - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost4SecurityRequirement0 = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathGetSecurityRequirement0 = new global::ScrapeGraphAI.EndPointSecurityRequirement { Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class OrthogonalClient }, }, }; - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost4SecurityRequirements = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathGetSecurityRequirements = new global::ScrapeGraphAI.EndPointSecurityRequirement[] - { s_ProxyX402PathPost4SecurityRequirement0, + { s_ProxyX402PathGetSecurityRequirement0, }; - partial void PrepareProxyX402PathPost4Arguments( + partial void PrepareProxyX402PathGetArguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathPost4Request( + partial void PrepareProxyX402PathGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathPost4Response( + partial void ProcessProxyX402PathGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathPost4ResponseContent( + partial void ProcessProxyX402PathGetResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -50,12 +50,12 @@ partial void ProcessProxyX402PathPost4ResponseContent( /// 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 ProxyX402PathPost4Async( + public async global::System.Threading.Tasks.Task ProxyX402PathGetAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyX402PathPost4AsResponseAsync( + var __response = await ProxyX402PathGetAsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -72,22 +72,22 @@ partial void ProcessProxyX402PathPost4ResponseContent( /// 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> ProxyX402PathPost4AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyX402PathGetAsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathPost4Arguments( + PrepareProxyX402PathGetArguments( httpClient: HttpClient, path: ref path); var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyX402PathPost4SecurityRequirements, - operationName: "ProxyX402PathPost4Async"); + securityRequirements: s_ProxyX402PathGetSecurityRequirements, + operationName: "ProxyX402PathGetAsync"); using var __timeoutCancellationTokenSource = global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -146,7 +146,7 @@ partial void ProcessProxyX402PathPost4ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathPost4Request( + PrepareProxyX402PathGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -166,8 +166,8 @@ partial void ProcessProxyX402PathPost4ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost4", - methodName: "ProxyX402PathPost4Async", + operationId: "ProxyX402PathGet", + methodName: "ProxyX402PathGetAsync", pathTemplate: "$\"/x402/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -200,8 +200,8 @@ partial void ProcessProxyX402PathPost4ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost4", - methodName: "ProxyX402PathPost4Async", + operationId: "ProxyX402PathGet", + methodName: "ProxyX402PathGetAsync", pathTemplate: "$\"/x402/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -241,8 +241,8 @@ partial void ProcessProxyX402PathPost4ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost4", - methodName: "ProxyX402PathPost4Async", + operationId: "ProxyX402PathGet", + methodName: "ProxyX402PathGetAsync", pathTemplate: "$\"/x402/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -281,7 +281,7 @@ partial void ProcessProxyX402PathPost4ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathPost4Response( + ProcessProxyX402PathGetResponse( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -289,8 +289,8 @@ partial void ProcessProxyX402PathPost4ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost4", - methodName: "ProxyX402PathPost4Async", + operationId: "ProxyX402PathGet", + methodName: "ProxyX402PathGetAsync", pathTemplate: "$\"/x402/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -311,8 +311,8 @@ partial void ProcessProxyX402PathPost4ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost4", - methodName: "ProxyX402PathPost4Async", + operationId: "ProxyX402PathGet", + methodName: "ProxyX402PathGetAsync", pathTemplate: "$\"/x402/{path}\"", httpMethod: "GET", baseUri: BaseUri, @@ -378,7 +378,7 @@ partial void ProcessProxyX402PathPost4ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathPost4ResponseContent( + ProcessProxyX402PathGetResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet2.g.cs similarity index 93% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet2.g.cs index 1ecb3ab..4f1baef 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet2.g.cs @@ -7,7 +7,7 @@ public partial class OrthogonalClient { - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPostSecurityRequirement0 = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathGet2SecurityRequirement0 = new global::ScrapeGraphAI.EndPointSecurityRequirement { Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class OrthogonalClient }, }, }; - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPostSecurityRequirements = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathGet2SecurityRequirements = new global::ScrapeGraphAI.EndPointSecurityRequirement[] - { s_ProxyX402PathPostSecurityRequirement0, + { s_ProxyX402PathGet2SecurityRequirement0, }; - partial void PrepareProxyX402PathPostArguments( + partial void PrepareProxyX402PathGet2Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathPostRequest( + partial void PrepareProxyX402PathGet2Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathPostResponse( + partial void ProcessProxyX402PathGet2Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathPostResponseContent( + partial void ProcessProxyX402PathGet2ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -50,12 +50,12 @@ partial void ProcessProxyX402PathPostResponseContent( /// 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 ProxyX402PathPostAsync( + public async global::System.Threading.Tasks.Task ProxyX402PathGet2Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyX402PathPostAsResponseAsync( + var __response = await ProxyX402PathGet2AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -72,22 +72,22 @@ partial void ProcessProxyX402PathPostResponseContent( /// 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> ProxyX402PathPostAsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyX402PathGet2AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathPostArguments( + PrepareProxyX402PathGet2Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyX402PathPostSecurityRequirements, - operationName: "ProxyX402PathPostAsync"); + securityRequirements: s_ProxyX402PathGet2SecurityRequirements, + operationName: "ProxyX402PathGet2Async"); using var __timeoutCancellationTokenSource = global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -146,7 +146,7 @@ partial void ProcessProxyX402PathPostResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathPostRequest( + PrepareProxyX402PathGet2Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -166,8 +166,8 @@ partial void ProcessProxyX402PathPostResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost", - methodName: "ProxyX402PathPostAsync", + operationId: "ProxyX402PathGet2", + methodName: "ProxyX402PathGet2Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -200,8 +200,8 @@ partial void ProcessProxyX402PathPostResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost", - methodName: "ProxyX402PathPostAsync", + operationId: "ProxyX402PathGet2", + methodName: "ProxyX402PathGet2Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -241,8 +241,8 @@ partial void ProcessProxyX402PathPostResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost", - methodName: "ProxyX402PathPostAsync", + operationId: "ProxyX402PathGet2", + methodName: "ProxyX402PathGet2Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -281,7 +281,7 @@ partial void ProcessProxyX402PathPostResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathPostResponse( + ProcessProxyX402PathGet2Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -289,8 +289,8 @@ partial void ProcessProxyX402PathPostResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost", - methodName: "ProxyX402PathPostAsync", + operationId: "ProxyX402PathGet2", + methodName: "ProxyX402PathGet2Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -311,8 +311,8 @@ partial void ProcessProxyX402PathPostResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost", - methodName: "ProxyX402PathPostAsync", + operationId: "ProxyX402PathGet2", + methodName: "ProxyX402PathGet2Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "POST", baseUri: BaseUri, @@ -378,7 +378,7 @@ partial void ProcessProxyX402PathPostResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathPostResponseContent( + ProcessProxyX402PathGet2ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet3.g.cs similarity index 93% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet3.g.cs index 96a6766..b98ee5f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost2.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet3.g.cs @@ -7,7 +7,7 @@ public partial class OrthogonalClient { - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost2SecurityRequirement0 = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathGet3SecurityRequirement0 = new global::ScrapeGraphAI.EndPointSecurityRequirement { Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class OrthogonalClient }, }, }; - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost2SecurityRequirements = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathGet3SecurityRequirements = new global::ScrapeGraphAI.EndPointSecurityRequirement[] - { s_ProxyX402PathPost2SecurityRequirement0, + { s_ProxyX402PathGet3SecurityRequirement0, }; - partial void PrepareProxyX402PathPost2Arguments( + partial void PrepareProxyX402PathGet3Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathPost2Request( + partial void PrepareProxyX402PathGet3Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathPost2Response( + partial void ProcessProxyX402PathGet3Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathPost2ResponseContent( + partial void ProcessProxyX402PathGet3ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -50,12 +50,12 @@ partial void ProcessProxyX402PathPost2ResponseContent( /// 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 ProxyX402PathPost2Async( + public async global::System.Threading.Tasks.Task ProxyX402PathGet3Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyX402PathPost2AsResponseAsync( + var __response = await ProxyX402PathGet3AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -72,22 +72,22 @@ partial void ProcessProxyX402PathPost2ResponseContent( /// 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> ProxyX402PathPost2AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyX402PathGet3AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathPost2Arguments( + PrepareProxyX402PathGet3Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyX402PathPost2SecurityRequirements, - operationName: "ProxyX402PathPost2Async"); + securityRequirements: s_ProxyX402PathGet3SecurityRequirements, + operationName: "ProxyX402PathGet3Async"); using var __timeoutCancellationTokenSource = global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -146,7 +146,7 @@ partial void ProcessProxyX402PathPost2ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathPost2Request( + PrepareProxyX402PathGet3Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -166,8 +166,8 @@ partial void ProcessProxyX402PathPost2ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost2", - methodName: "ProxyX402PathPost2Async", + operationId: "ProxyX402PathGet3", + methodName: "ProxyX402PathGet3Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -200,8 +200,8 @@ partial void ProcessProxyX402PathPost2ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost2", - methodName: "ProxyX402PathPost2Async", + operationId: "ProxyX402PathGet3", + methodName: "ProxyX402PathGet3Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -241,8 +241,8 @@ partial void ProcessProxyX402PathPost2ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost2", - methodName: "ProxyX402PathPost2Async", + operationId: "ProxyX402PathGet3", + methodName: "ProxyX402PathGet3Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -281,7 +281,7 @@ partial void ProcessProxyX402PathPost2ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathPost2Response( + ProcessProxyX402PathGet3Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -289,8 +289,8 @@ partial void ProcessProxyX402PathPost2ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost2", - methodName: "ProxyX402PathPost2Async", + operationId: "ProxyX402PathGet3", + methodName: "ProxyX402PathGet3Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -311,8 +311,8 @@ partial void ProcessProxyX402PathPost2ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost2", - methodName: "ProxyX402PathPost2Async", + operationId: "ProxyX402PathGet3", + methodName: "ProxyX402PathGet3Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PUT", baseUri: BaseUri, @@ -378,7 +378,7 @@ partial void ProcessProxyX402PathPost2ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathPost2ResponseContent( + ProcessProxyX402PathGet3ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet4.g.cs similarity index 93% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet4.g.cs index 7f03a65..5bd5c8f 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost5.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet4.g.cs @@ -7,7 +7,7 @@ public partial class OrthogonalClient { - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost5SecurityRequirement0 = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathGet4SecurityRequirement0 = new global::ScrapeGraphAI.EndPointSecurityRequirement { Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class OrthogonalClient }, }, }; - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost5SecurityRequirements = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathGet4SecurityRequirements = new global::ScrapeGraphAI.EndPointSecurityRequirement[] - { s_ProxyX402PathPost5SecurityRequirement0, + { s_ProxyX402PathGet4SecurityRequirement0, }; - partial void PrepareProxyX402PathPost5Arguments( + partial void PrepareProxyX402PathGet4Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathPost5Request( + partial void PrepareProxyX402PathGet4Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathPost5Response( + partial void ProcessProxyX402PathGet4Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathPost5ResponseContent( + partial void ProcessProxyX402PathGet4ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -50,12 +50,12 @@ partial void ProcessProxyX402PathPost5ResponseContent( /// 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 ProxyX402PathPost5Async( + public async global::System.Threading.Tasks.Task ProxyX402PathGet4Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyX402PathPost5AsResponseAsync( + var __response = await ProxyX402PathGet4AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -72,22 +72,22 @@ partial void ProcessProxyX402PathPost5ResponseContent( /// 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> ProxyX402PathPost5AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyX402PathGet4AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathPost5Arguments( + PrepareProxyX402PathGet4Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyX402PathPost5SecurityRequirements, - operationName: "ProxyX402PathPost5Async"); + securityRequirements: s_ProxyX402PathGet4SecurityRequirements, + operationName: "ProxyX402PathGet4Async"); using var __timeoutCancellationTokenSource = global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -146,7 +146,7 @@ partial void ProcessProxyX402PathPost5ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathPost5Request( + PrepareProxyX402PathGet4Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -166,8 +166,8 @@ partial void ProcessProxyX402PathPost5ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost5", - methodName: "ProxyX402PathPost5Async", + operationId: "ProxyX402PathGet4", + methodName: "ProxyX402PathGet4Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -200,8 +200,8 @@ partial void ProcessProxyX402PathPost5ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost5", - methodName: "ProxyX402PathPost5Async", + operationId: "ProxyX402PathGet4", + methodName: "ProxyX402PathGet4Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -241,8 +241,8 @@ partial void ProcessProxyX402PathPost5ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost5", - methodName: "ProxyX402PathPost5Async", + operationId: "ProxyX402PathGet4", + methodName: "ProxyX402PathGet4Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -281,7 +281,7 @@ partial void ProcessProxyX402PathPost5ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathPost5Response( + ProcessProxyX402PathGet4Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -289,8 +289,8 @@ partial void ProcessProxyX402PathPost5ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost5", - methodName: "ProxyX402PathPost5Async", + operationId: "ProxyX402PathGet4", + methodName: "ProxyX402PathGet4Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -311,8 +311,8 @@ partial void ProcessProxyX402PathPost5ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost5", - methodName: "ProxyX402PathPost5Async", + operationId: "ProxyX402PathGet4", + methodName: "ProxyX402PathGet4Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "PATCH", baseUri: BaseUri, @@ -378,7 +378,7 @@ partial void ProcessProxyX402PathPost5ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathPost5ResponseContent( + ProcessProxyX402PathGet4ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet5.g.cs similarity index 93% rename from src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs rename to src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet5.g.cs index c679d1f..5eb8561 100644 --- a/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathPost3.g.cs +++ b/src/libs/ScrapeGraphAI/Generated/ScrapeGraphAI.OrthogonalClient.ProxyX402PathGet5.g.cs @@ -7,7 +7,7 @@ public partial class OrthogonalClient { - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathPost3SecurityRequirement0 = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement s_ProxyX402PathGet5SecurityRequirement0 = new global::ScrapeGraphAI.EndPointSecurityRequirement { Authorizations = new global::ScrapeGraphAI.EndPointAuthorizationRequirement[] @@ -21,22 +21,22 @@ public partial class OrthogonalClient }, }, }; - private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathPost3SecurityRequirements = + private static readonly global::ScrapeGraphAI.EndPointSecurityRequirement[] s_ProxyX402PathGet5SecurityRequirements = new global::ScrapeGraphAI.EndPointSecurityRequirement[] - { s_ProxyX402PathPost3SecurityRequirement0, + { s_ProxyX402PathGet5SecurityRequirement0, }; - partial void PrepareProxyX402PathPost3Arguments( + partial void PrepareProxyX402PathGet5Arguments( global::System.Net.Http.HttpClient httpClient, ref string path); - partial void PrepareProxyX402PathPost3Request( + partial void PrepareProxyX402PathGet5Request( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, string path); - partial void ProcessProxyX402PathPost3Response( + partial void ProcessProxyX402PathGet5Response( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); - partial void ProcessProxyX402PathPost3ResponseContent( + partial void ProcessProxyX402PathGet5ResponseContent( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage, ref string content); @@ -50,12 +50,12 @@ partial void ProcessProxyX402PathPost3ResponseContent( /// 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 ProxyX402PathPost3Async( + public async global::System.Threading.Tasks.Task ProxyX402PathGet5Async( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { - var __response = await ProxyX402PathPost3AsResponseAsync( + var __response = await ProxyX402PathGet5AsResponseAsync( path: path, requestOptions: requestOptions, cancellationToken: cancellationToken @@ -72,22 +72,22 @@ partial void ProcessProxyX402PathPost3ResponseContent( /// 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> ProxyX402PathPost3AsResponseAsync( + public async global::System.Threading.Tasks.Task> ProxyX402PathGet5AsResponseAsync( string path, global::ScrapeGraphAI.AutoSDKRequestOptions? requestOptions = default, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); - PrepareProxyX402PathPost3Arguments( + PrepareProxyX402PathGet5Arguments( httpClient: HttpClient, path: ref path); var __authorizations = global::ScrapeGraphAI.EndPointSecurityResolver.ResolveAuthorizations( availableAuthorizations: Authorizations, - securityRequirements: s_ProxyX402PathPost3SecurityRequirements, - operationName: "ProxyX402PathPost3Async"); + securityRequirements: s_ProxyX402PathGet5SecurityRequirements, + operationName: "ProxyX402PathGet5Async"); using var __timeoutCancellationTokenSource = global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateTimeoutCancellationTokenSource( clientOptions: Options, @@ -146,7 +146,7 @@ partial void ProcessProxyX402PathPost3ResponseContent( PrepareRequest( client: HttpClient, request: __httpRequest); - PrepareProxyX402PathPost3Request( + PrepareProxyX402PathGet5Request( httpClient: HttpClient, httpRequestMessage: __httpRequest, path: path!); @@ -166,8 +166,8 @@ partial void ProcessProxyX402PathPost3ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnBeforeRequestAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost3", - methodName: "ProxyX402PathPost3Async", + operationId: "ProxyX402PathGet5", + methodName: "ProxyX402PathGet5Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -200,8 +200,8 @@ partial void ProcessProxyX402PathPost3ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost3", - methodName: "ProxyX402PathPost3Async", + operationId: "ProxyX402PathGet5", + methodName: "ProxyX402PathGet5Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -241,8 +241,8 @@ partial void ProcessProxyX402PathPost3ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost3", - methodName: "ProxyX402PathPost3Async", + operationId: "ProxyX402PathGet5", + methodName: "ProxyX402PathGet5Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -281,7 +281,7 @@ partial void ProcessProxyX402PathPost3ResponseContent( ProcessResponse( client: HttpClient, response: __response); - ProcessProxyX402PathPost3Response( + ProcessProxyX402PathGet5Response( httpClient: HttpClient, httpResponseMessage: __response); if (__response.IsSuccessStatusCode) @@ -289,8 +289,8 @@ partial void ProcessProxyX402PathPost3ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterSuccessAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost3", - methodName: "ProxyX402PathPost3Async", + operationId: "ProxyX402PathGet5", + methodName: "ProxyX402PathGet5Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -311,8 +311,8 @@ partial void ProcessProxyX402PathPost3ResponseContent( await global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.OnAfterErrorAsync( clientOptions: Options, context: global::ScrapeGraphAI.AutoSDKRequestOptionsSupport.CreateHookContext( - operationId: "ProxyX402PathPost3", - methodName: "ProxyX402PathPost3Async", + operationId: "ProxyX402PathGet5", + methodName: "ProxyX402PathGet5Async", pathTemplate: "$\"/x402/{path}\"", httpMethod: "DELETE", baseUri: BaseUri, @@ -378,7 +378,7 @@ partial void ProcessProxyX402PathPost3ResponseContent( client: HttpClient, response: __response, content: ref __content); - ProcessProxyX402PathPost3ResponseContent( + ProcessProxyX402PathGet5ResponseContent( httpClient: HttpClient, httpResponseMessage: __response, content: ref __content); diff --git a/src/libs/ScrapeGraphAI/openapi.yaml b/src/libs/ScrapeGraphAI/openapi.yaml index c8ef46c..b3cdae1 100644 --- a/src/libs/ScrapeGraphAI/openapi.yaml +++ b/src/libs/ScrapeGraphAI/openapi.yaml @@ -1 +1 @@ -{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/v1/smartscraper":{"post":{"tags":["SmartScraper"],"summary":"Start Smartscraper","operationId":"start_smartscraper_v1_smartscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSmartscraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/smartscraper/{request_id}":{"get":{"tags":["SmartScraper"],"summary":"Get Smartscraper Status","operationId":"get_smartscraper_status_v1_smartscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify":{"post":{"tags":["Markdownify"],"summary":"Start Markdownify","operationId":"start_markdownify_v1_markdownify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedMarkdownifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify/{request_id}":{"get":{"tags":["Markdownify"],"summary":"Get Markdownify Status","operationId":"get_markdownify_status_v1_markdownify__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scrape":{"post":{"tags":["Scrape"],"summary":"Scrape","operationId":"scrape_v1_scrape_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper":{"post":{"tags":["SearchScraper"],"summary":"Start Searchscraper","operationId":"start_searchscraper_v1_searchscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchScraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSearchScraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper/{request_id}":{"get":{"tags":["SearchScraper"],"summary":"Get Searchscraper Status","operationId":"get_searchscraper_status_v1_searchscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema":{"post":{"tags":["SchemaGenerator"],"summary":"Generate or modify a JSON schema based on a search query","description":"Generate a refined search prompt and a structured JSON schema for analyzing search results.\n Optionally modify an existing schema to better fit the current search query.","operationId":"start_generate_schema_v1_generate_schema_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema/{request_id}":{"get":{"tags":["SchemaGenerator"],"summary":"Get Generate Schema Status","operationId":"get_generate_schema_status_v1_generate_schema__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs":{"post":{"tags":["ScheduledJobs"],"summary":"Create Scheduled Job","description":"Create a new scheduled job","operationId":"create_scheduled_job_v1_scheduled_jobs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ScheduledJobs"],"summary":"Fetch Scheduled Jobs","description":"Get user's scheduled jobs with pagination","operationId":"fetch_scheduled_jobs_v1_scheduled_jobs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of jobs per page","default":20,"title":"Page Size"},"description":"Number of jobs per page"},{"name":"service_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ServiceType"},{"type":"null"}],"description":"Filter by service type","title":"Service Type"},"description":"Filter by service type"},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by active status","title":"Is Active"},"description":"Filter by active status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}":{"get":{"tags":["ScheduledJobs"],"summary":"Get Scheduled Job","description":"Get a specific scheduled job","operationId":"get_scheduled_job_v1_scheduled_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["ScheduledJobs"],"summary":"Update Scheduled Job","description":"Update a scheduled job","operationId":"update_scheduled_job_v1_scheduled_jobs__job_id__patch","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Job Update"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ScheduledJobs"],"summary":"Replace Scheduled Job","operationId":"replace_scheduled_job_v1_scheduled_jobs__job_id__put","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ScheduledJobs"],"summary":"Delete Scheduled Job","description":"Delete a scheduled job","operationId":"delete_scheduled_job_v1_scheduled_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/executions":{"get":{"tags":["ScheduledJobs"],"summary":"Get Job Executions","description":"Get execution history for a scheduled job","operationId":"get_job_executions_v1_scheduled_jobs__job_id__executions_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of executions per page","default":20,"title":"Page Size"},"description":"Number of executions per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by execution status","title":"Status"},"description":"Filter by execution status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobExecutionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/pause":{"post":{"tags":["ScheduledJobs"],"summary":"Pause Scheduled Job","operationId":"pause_scheduled_job_v1_scheduled_jobs__job_id__pause_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/resume":{"post":{"tags":["ScheduledJobs"],"summary":"Resume Scheduled Job","operationId":"resume_scheduled_job_v1_scheduled_jobs__job_id__resume_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/trigger":{"post":{"tags":["ScheduledJobs"],"summary":"Trigger Job Manually","description":"Manually trigger a scheduled job\n\nRate limited to 10 triggers per minute per user to prevent abuse.","operationId":"trigger_job_manually_v1_scheduled_jobs__job_id__trigger_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTriggerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors":{"post":{"tags":["SiteMonitors"],"summary":"Create Monitor","description":"Register a website for monitoring. We will check on the given cron schedule and POST webhook events on content change.","operationId":"create_monitor_v1_site_monitors_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SiteMonitors"],"summary":"List Monitors","description":"List site monitors for the current user.","operationId":"list_monitors_v1_site_monitors_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors/{monitor_id}":{"get":{"tags":["SiteMonitors"],"summary":"Get Monitor","description":"Get a site monitor by id.","operationId":"get_monitor_v1_site_monitors__monitor_id__get","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["SiteMonitors"],"summary":"Update Monitor","description":"Update a site monitor. Schedule is updated if cron or config changed.","operationId":"update_monitor_v1_site_monitors__monitor_id__patch","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SiteMonitors"],"summary":"Delete Monitor","description":"Delete a site monitor and its schedule.","operationId":"delete_monitor_v1_site_monitors__monitor_id__delete","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"tags":["Health"],"summary":"Health Check","description":"Health check endpoint that includes memory monitoring","operationId":"health_check_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/credits":{"get":{"tags":["User"],"summary":"Get Credits","operationId":"get_credits_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}}}}},"/v1/validate":{"get":{"tags":["User"],"summary":"Validate Api Key","operationId":"validate_api_key_v1_validate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Api Key V1 Validate Get"}}}}}}},"/v1/feedback":{"post":{"tags":["User"],"summary":"Submit Feedback","operationId":"submit_feedback_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/product-feedback":{"post":{"tags":["User"],"summary":"Submit Product Feedback","operationId":"submit_product_feedback_v1_product_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedback"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deduct-credits":{"post":{"tags":["User"],"summary":"Deduct Credits","operationId":"deduct_credits_v1_deduct_credits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl":{"post":{"tags":["Crawler"],"summary":"Start Crawl","description":"Start a new crawl job.","operationId":"start_crawl_v1_crawl_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlJob"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl/{task_id}":{"get":{"tags":["Crawler"],"summary":"Get Crawl Result","description":"Get the result of a crawl job by task ID.","operationId":"get_crawl_result_v1_crawl__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/logs/{crawler_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Logs","description":"Get webhook delivery logs for a crawler job.","operationId":"get_webhook_logs_v1_webhook_logs__crawler_id__get","parameters":[{"name":"crawler_id","in":"path","required":true,"schema":{"type":"string","title":"Crawler Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/status/{webhook_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Status","description":"Get status of a specific webhook delivery.","operationId":"get_webhook_status_v1_webhook_status__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agentic-scrapper":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Scrapper","operationId":"agentic_scrapper_v1_agentic_scrapper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/get-live-session-url":{"post":{"tags":["AgenticScrapper"],"summary":"Get Live Session Url","operationId":"get_live_session_url_v1_get_live_session_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stop-session":{"post":{"tags":["AgenticScrapper"],"summary":"Stop Session","operationId":"stop_session_v1_stop_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperStopSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/workflows/execute":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Browser V2","operationId":"agentic_browser_v2_v1_workflows_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDefinition"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowExecutionResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/markdownify":{"get":{"tags":["History"],"summary":"Get Markdownify History","description":"Get paginated history of markdownify requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n MarkdownifyHistoryResponse containing the list of requests and next page key","operationId":"get_markdownify_history_v1_history_markdownify_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/smartscraper":{"get":{"tags":["History"],"summary":"Get Smartscraper History","description":"Get paginated history of smart scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SmartscraperHistoryResponse containing the list of requests and next page key","operationId":"get_smartscraper_history_v1_history_smartscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/searchscraper":{"get":{"tags":["History"],"summary":"Get Searchscraper History","description":"Get paginated history of search scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SearchscraperHistoryResponse containing the list of requests and next page key","operationId":"get_searchscraper_history_v1_history_searchscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/scrape":{"get":{"tags":["History"],"summary":"Get Scrape History","description":"Get paginated history of scrape requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n ScrapeHistoryResponse containing the list of requests and next page key","operationId":"get_scrape_history_v1_history_scrape_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/crawl":{"get":{"tags":["History"],"summary":"Get Crawler History","description":"Get paginated history of crawler requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n CrawlerHistoryResponse containing the list of requests and next page key","operationId":"get_crawler_history_v1_history_crawl_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlerHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/agentic-scraper":{"get":{"tags":["History"],"summary":"Get Agentic Scraper History","description":"Get paginated history of agentic scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n next_key: Key for pagination (default: None)\n\nReturns:\n AgenticScraperHistoryResponse containing the list of requests and next page key","operationId":"get_agentic_scraper_history_v1_history_agentic_scraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/sitemap":{"get":{"tags":["History"],"summary":"Get Sitemap History","description":"Get sitemap request history for the current API key.","operationId":"get_sitemap_history_v1_history_sitemap_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sitemap":{"post":{"tags":["Sitemap"],"summary":"Generate Sitemap","operationId":"generate_sitemap_v1_sitemap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/toonify":{"post":{"tags":["Toonify"],"summary":"Toonify","operationId":"toonify_v1_toonify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage/timeline":{"get":{"tags":["Usage"],"summary":"Get Usage Timeline","description":"Get usage timeline with only timestamps for chart rendering.","operationId":"get_usage_timeline_v1_usage_timeline_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"anyOf":[{"enum":["7","14","30","all"],"type":"string"},{"type":"null"}],"default":"all","title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageTimelineResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/bandcamp/get-sales-feed-items":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items","operationId":"get_sales_feed_items_v1_bandcamp_get_sales_feed_items_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/bandcamp/get-item-details/":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items Details","operationId":"get_sales_feed_items_details_v1_bandcamp_get_item_details__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/endpoint/get-suggestions":{"post":{"tags":["EndpointPoc"],"summary":"Get Suggestions","operationId":"get_suggestions_v1_endpoint_get_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/save-endpoint":{"post":{"tags":["EndpointPoc"],"summary":"Save Endpoint","operationId":"save_endpoint_v1_endpoint_save_endpoint_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestions"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/{endpoint_id}/{full_path}":{"post":{"tags":["EndpointPoc"],"summary":"Execute Endpoint","operationId":"execute_endpoint_v1_endpoint__endpoint_id___full_path__post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"full_path","in":"path","required":true,"schema":{"type":"string","title":"Full Path"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Query Params"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/query_redis_cache_by_pattern":{"post":{"tags":["Admin"],"summary":"Query Redis Cache By Pattern","operationId":"query_redis_cache_by_pattern_v1_admin_query_redis_cache_by_pattern_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRedisCacheByPatternRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/x402/{path}":{"post":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__post","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"action"},"action":{"type":"string","title":"Action","description":"Natural language action description (e.g., 'Click login button', 'Fill email with {{email}}')"},"observe_first":{"type":"boolean","title":"Observe First","description":"Whether to observe elements before acting","default":true}},"type":"object","required":["action"],"title":"ActionStep","description":"Perform an action on the page"},"AgenticScraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/AgenticScraperRequestDB"},"type":"array","title":"Requests","description":"List of agentic scraper requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"AgenticScraperHistoryResponse"},"AgenticScraperRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"user_id":{"type":"string","title":"User Id"},"webpage_id":{"type":"string","title":"Webpage Id"},"website_url":{"type":"string","title":"Website Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"status":{"$ref":"#/components/schemas/AgenticScrapperStatus"},"metadata":{"anyOf":[{},{"type":"null"}],"title":"Metadata"},"result":{"anyOf":[{},{"type":"null"}],"title":"Result"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost","default":0.0},"usage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","user_id","webpage_id","website_url","requested_at","status"],"title":"AgenticScraperRequestDB","description":"DynamoDB model for agentic scraper requests."},"AgenticScrapperLiveSessionUrlRequest":{"properties":{"url":{"type":"string","title":"Url"},"timeout":{"type":"integer","title":"Timeout","description":"Timeout for the live session","default":300}},"type":"object","required":["url"],"title":"AgenticScrapperLiveSessionUrlRequest"},"AgenticScrapperLiveSessionUrlResponse":{"properties":{"session_url":{"type":"string","title":"Session Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_url","session_id"],"title":"AgenticScrapperLiveSessionUrlResponse"},"AgenticScrapperRequest":{"properties":{"url":{"type":"string","title":"Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","default":""},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","default":{}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website","default":[]},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use a session to scrape the website","default":false},"ai_extraction":{"type":"boolean","title":"Ai Extraction","description":"Whether to use AI extraction to extract the information","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape (e.g. US, GB)"}},"type":"object","required":["url"],"title":"AgenticScrapperRequest"},"AgenticScrapperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"markdown":{"type":"string","title":"Markdown"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"}},"type":"object","required":["request_id","markdown"],"title":"AgenticScrapperResponse"},"AgenticScrapperStatus":{"type":"string","enum":["queued","processing","processinghtml","processedhtml","completed","failed"],"title":"AgenticScrapperStatus","description":"Status enum for agentic scraper requests."},"AgenticScrapperStopSessionRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"AgenticScrapperStopSessionRequest"},"CompletedMarkdownifyResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/MarkdownifyStatus"},"website_url":{"type":"string","title":"Website Url"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","website_url"],"title":"CompletedMarkdownifyResponse"},"CompletedSearchScraperResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"$ref":"#/components/schemas/SearchScraperStatus"},"user_prompt":{"type":"string","title":"User Prompt"},"num_results":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Results"},"result":{"anyOf":[{"type":"object"},{}],"title":"Result"},"reference_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reference Urls"},"markdown_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Markdown Content","description":"Raw markdown content when extraction_mode is False"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","result","reference_urls"],"title":"CompletedSearchScraperResponse"},"CompletedSmartscraperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/SmartscraperStatus"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","user_prompt"],"title":"CompletedSmartscraperResponse"},"ConditionalStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"conditional"},"condition":{"type":"string","title":"Condition","description":"Condition to evaluate (e.g., '{{index}} < 10', '{{item}} != null')"},"if_steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"If Steps","description":"Steps to execute if condition is true"},"else_steps":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array"},{"type":"null"}],"title":"Else Steps","description":"Steps to execute if condition is false"}},"type":"object","required":["condition","if_steps"],"title":"ConditionalStep","description":"Conditional execution (if/else)"},"CrawlJob":{"properties":{"url":{"type":"string","title":"Url"},"depth":{"type":"integer","title":"Depth","default":1},"breadth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Breadth","description":"Maximum number of links to crawl per depth level. If None, unlimited (default). Ignored when sitemap=True."},"max_pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Pages","default":10},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema"},"rules":{"anyOf":[{"$ref":"#/components/schemas/CrawlJobRules"},{"type":"null"}]},"sitemap":{"type":"boolean","title":"Sitemap","default":true},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"extraction_mode":{"type":"boolean","title":"Extraction Mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"reader_mode":{"type":"boolean","title":"Reader Mode","default":false},"wait_ms":{"type":"integer","title":"Wait Ms","default":3000},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for fetching (e.g. US, GB)"}},"type":"object","required":["url"],"title":"CrawlJob"},"CrawlJobRules":{"properties":{"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude"},"include_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Paths","description":"List of path patterns to include (e.g., ['/products/*', '/blog/*']). If empty, all paths are included."},"exclude_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Paths","description":"List of path patterns to exclude (e.g., ['/admin/*', '/api/*']). Takes precedence over include_paths."},"same_domain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Same Domain","default":true}},"type":"object","title":"CrawlJobRules"},"CrawlStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"CrawlStatus"},"CrawlerHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/CrawlerRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"CrawlerHistoryResponse"},"CrawlerRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"url":{"type":"string","title":"Url"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"max_pages":{"type":"integer","title":"Max Pages"},"status":{"$ref":"#/components/schemas/CrawlStatus"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost"},"credits_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Used"},"pages_processed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages Processed"},"crawled_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Crawled Urls"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_id","url","max_pages","status","requested_at"],"title":"CrawlerRequestDB","description":"DynamoDB model for crawler requests"},"CreditsResponse":{"properties":{"remaining_credits":{"type":"integer","title":"Remaining Credits"},"total_credits_used":{"type":"integer","title":"Total Credits Used"}},"type":"object","required":["remaining_credits","total_credits_used"],"title":"CreditsResponse"},"DeductCreditsBody":{"properties":{"credits_to_deduct":{"type":"integer","title":"Credits To Deduct"}},"type":"object","required":["credits_to_deduct"],"title":"DeductCreditsBody"},"DeductCreditsResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Credits deducted successfully"}},"type":"object","title":"DeductCreditsResponse"},"EndPointSuggestionRequest":{"properties":{"website_url":{"type":"string","title":"Website Url"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["website_url","prompt"],"title":"EndPointSuggestionRequest"},"EndPointSuggestions":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"}},"type":"object","required":["suggestions"],"title":"EndPointSuggestions"},"EndPointSuggestionsResponse":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"},"html_with_markdowns":{"title":"Html With Markdowns"}},"type":"object","required":["suggestions","html_with_markdowns"],"title":"EndPointSuggestionsResponse"},"EndpointParameter":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"location":{"type":"string","title":"Location"},"required":{"type":"boolean","title":"Required"},"description":{"type":"string","title":"Description"},"is_url":{"type":"boolean","title":"Is Url","default":false}},"type":"object","required":["name","type","location","required","description"],"title":"EndpointParameter"},"EndpointSuggestion":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"method":{"type":"string","title":"Method","default":"POST"},"description":{"type":"string","title":"Description"},"target_url":{"type":"string","title":"Target Url"},"parameters":{"items":{"$ref":"#/components/schemas/EndpointParameter"},"type":"array","title":"Parameters"},"pydantic_schema":{"type":"object","title":"Pydantic Schema"},"extraction_prompt":{"type":"string","title":"Extraction Prompt"},"interaction_steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interaction Steps"}},"type":"object","required":["endpoint","description","target_url","parameters","pydantic_schema","extraction_prompt"],"title":"EndpointSuggestion"},"ExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract"},"instruction":{"type":"string","title":"Instruction","description":"What to extract (e.g., 'Extract all product links from the page')"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema","description":"Optional schema for structured extraction"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted data to (e.g., 'product_links')"}},"type":"object","required":["instruction","save_to"],"title":"ExtractionStep","description":"Extract data from the page"},"FeedbackCreate":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"ID of the request/session this feedback is for"},"rating":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Rating"},"feedback_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback Text"}},"type":"object","required":["request_id","rating"],"title":"FeedbackCreate"},"FeedbackResponse":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"message":{"type":"string","title":"Message","default":"Feedback submitted successfully"},"feedback_timestamp":{"type":"string","format":"date-time","title":"Feedback Timestamp"}},"type":"object","required":["feedback_id","request_id","feedback_timestamp"],"title":"FeedbackResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobExecutionListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"executions":{"items":{"$ref":"#/components/schemas/JobExecutionResponse"},"type":"array","title":"Executions"}},"type":"object","required":["total","page","page_size","executions"],"title":"JobExecutionListResponse","description":"Paginated response for job executions"},"JobExecutionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"execution_id":{"type":"string","title":"Execution Id"},"status":{"type":"string","title":"Status"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"credits_used":{"type":"integer","title":"Credits Used","default":0}},"type":"object","required":["id","scheduled_job_id","execution_id","status","started_at"],"title":"JobExecutionResponse","description":"Response model for job execution details"},"JobTriggerResponse":{"properties":{"execution_id":{"type":"string","title":"Execution Id"},"message":{"type":"string","title":"Message"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"triggered_at":{"type":"string","format":"date-time","title":"Triggered At"}},"type":"object","required":["execution_id","message","scheduled_job_id","triggered_at"],"title":"JobTriggerResponse","description":"Response model for manual job trigger"},"LoopStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"loop"},"iterate_over":{"type":"string","title":"Iterate Over","description":"Variable name containing array to iterate over (e.g., 'product_links')"},"item_name":{"type":"string","title":"Item Name","description":"Variable name for current item in loop (e.g., 'current_link')","default":"item"},"index_name":{"type":"string","title":"Index Name","description":"Variable name for current index (e.g., 'i')","default":"index"},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Steps to execute for each item"},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Iterations","description":"Maximum number of iterations (safety limit)"}},"type":"object","required":["iterate_over","steps"],"title":"LoopStep","description":"Iterate over an array"},"MarkdownExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract_markdown"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted markdown to (e.g., 'markdown')"}},"type":"object","required":["save_to"],"title":"MarkdownExtractionStep","description":"Extract markdown from the page"},"MarkdownifyHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/MarkdownifyRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"MarkdownifyHistoryResponse"},"MarkdownifyRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"type":"object","required":["website_url"],"title":"MarkdownifyRequest"},"MarkdownifyRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Unique identifier for the request"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user who made the request"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id","description":"ID of the associated webpage"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","description":"Timestamp when the request was made"},"status":{"$ref":"#/components/schemas/MarkdownifyRequestStatus","description":"Current status of the request"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the request failed"},"website_url":{"type":"string","title":"Website Url","description":"URL of the website to be markdownified"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Timestamp when the request was completed"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about the request"},"usage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Usage Id","description":"ID of the associated LLM usage record"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["status","website_url"],"title":"MarkdownifyRequestDB","description":"Pydantic model representing the markdownify_requests database table."},"MarkdownifyRequestStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyRequestStatus"},"MarkdownifyStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyStatus"},"NavigationStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"navigate"},"url":{"type":"string","title":"Url","description":"URL to navigate to. Supports variable interpolation: {{variable_name}}"},"wait_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wait For","description":"Optional selector to wait for after navigation"}},"type":"object","required":["url"],"title":"NavigationStep","description":"Navigate to a URL"},"ProductFeedback":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","examples":["John Doe"]},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email","examples":["john@example.com"]},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company","examples":["XYZ Ltd"]},"how_discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"How Discovered","examples":["Twitter"]},"usage_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Frequency","examples":["Weekly"]},"use_cases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Use Cases","examples":[["Web scraping","Automation"]]},"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"},"liked_most":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liked Most","examples":["Easy setup"]},"disliked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disliked","examples":["Pagination issues"]},"requested_features":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Features","examples":["Scheduler, dashboard analytics"]},"setup_easy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Setup Easy","examples":[true]},"issues":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issues","examples":["Error saving graphs"]},"recommend_score":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Recommend Score"},"improvement_suggestions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Improvement Suggestions","examples":["Better docs, faster runtime"]},"can_contact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Can Contact","examples":[true]},"contact_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Method","examples":["Email"]}},"type":"object","title":"ProductFeedback"},"ProductFeedbackResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Product feedback submitted successfully"}},"type":"object","title":"ProductFeedbackResponse"},"QueryRedisCacheByPatternRequest":{"properties":{"cursor":{"type":"integer","title":"Cursor","default":0},"page_size":{"type":"integer","title":"Page Size","default":100},"pattern":{"type":"string","title":"Pattern","default":"providers_order:*"}},"type":"object","title":"QueryRedisCacheByPatternRequest"},"ScheduledJobCreate":{"properties":{"job_name":{"type":"string","maxLength":255,"minLength":1,"title":"Job Name","description":"Human-readable name for the scheduled job","strip_whitespace":true},"service_type":{"$ref":"#/components/schemas/ServiceType","description":"Type of service to run: smartscraper, searchscraper, markdownify, or smartcrawler"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Standard 5-field cron expression (minute hour day month day_of_week) in UTC timezone. All times are interpreted as UTC (e.g., '0 9 * * 1' for 9 AM UTC every Monday)"},"job_config":{"type":"object","title":"Job Config","description":"Service-specific configuration that matches the service's request schema"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the job is active and should be scheduled","default":true},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"additionalProperties":false,"type":"object","required":["job_name","service_type","cron_expression","job_config"],"title":"ScheduledJobCreate","description":"Model for creating scheduled jobs (required fields enforced)"},"ScheduledJobListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"jobs":{"items":{"$ref":"#/components/schemas/ScheduledJobResponse"},"type":"array","title":"Jobs"}},"type":"object","required":["total","page","page_size","jobs"],"title":"ScheduledJobListResponse","description":"Paginated response for scheduled jobs"},"ScheduledJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"job_name":{"type":"string","title":"Job Name"},"service_type":{"$ref":"#/components/schemas/ServiceType"},"cron_expression":{"type":"string","title":"Cron Expression"},"job_config":{"type":"object","title":"Job Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","job_name","service_type","cron_expression","job_config","is_active","created_at","updated_at"],"title":"ScheduledJobResponse","description":"Response model for scheduled job operations"},"SchemaGenerationRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","description":"The user's search query to be refined"},"existing_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Existing Schema","description":"Optional existing JSON schema to modify/extend"}},"type":"object","required":["user_prompt"],"title":"SchemaGenerationRequest","description":"Request model for schema generation"},"SchemaGenerationResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"type":"string","title":"Status"},"user_prompt":{"type":"string","title":"User Prompt"},"refined_prompt":{"type":"string","title":"Refined Prompt","description":"The refined search query"},"generated_schema":{"type":"object","title":"Generated Schema","description":"The generated JSON schema"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","refined_prompt","generated_schema"],"title":"SchemaGenerationResponse","description":"Response model for schema generation"},"ScrapeHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/ScrapeRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"ScrapeHistoryResponse"},"ScrapeRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000}},"type":"object","required":["website_url"],"title":"ScrapeRequest"},"ScrapeRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"website_url":{"type":"string","title":"Website Url"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/ScrapeStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata","default":{}},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","default":"2026-06-16T15:44:18.349674"},"cost":{"type":"integer","title":"Cost","default":0},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","website_url"],"title":"ScrapeRequestDB","description":"DynamoDB model for scrape requests."},"ScrapeStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"ScrapeStatus","description":"Status of a scrape request."},"SearchScraperRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","example":"What is the latest version of Python?"},"num_results":{"type":"integer","maximum":20.0,"minimum":3.0,"title":"Num Results","description":"Number of websites to scrape (3-20). Default is 3.","default":3,"example":5},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"extraction_mode":{"type":"boolean","title":"Extraction Mode","description":"True for AI extraction mode, False for markdown conversion only","default":true},"markdown_mode":{"type":"boolean","title":"Markdown Mode","description":"True for markdown conversion mode, False for raw mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"location_geo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Geo Code","description":"The geo code of the location to search in"},"time_range":{"anyOf":[{"$ref":"#/components/schemas/TimeRange"},{"type":"null"}],"description":"The date range to search in","examples":["past_hour","past_24_hours","past_week","past_month","past_year"]}},"type":"object","required":["user_prompt"],"title":"SearchScraperRequest"},"SearchScraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SearchScraperStatus"},"SearchscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SearchscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SearchscraperHistoryResponse"},"SearchscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_prompt":{"type":"string","title":"User Prompt"},"search_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Query"},"extraction_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extraction Query"},"references_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Urls"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SearchScraperStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["user_prompt"],"title":"SearchscraperRequestDB","description":"Database model for search scraper requests."},"ServiceType":{"type":"string","enum":["smartscraper","searchscraper","markdownify","smartcrawler","agenticscrapper","site_monitor"],"title":"ServiceType"},"SiteMonitorCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name","description":"Human-readable name for the monitor"},"website_url":{"type":"string","title":"Website Url","description":"URL to monitor"},"webhook_url":{"type":"string","title":"Webhook Url","description":"URL to POST webhook events to"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Cron schedule (5 fields, UTC), e.g. '*/15 * * * *' for every 15 min"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}],"description":"Optional: user_prompt and output_schema for structured extraction and diff","default":{"user_prompt":"Extract all main content and key data as structured JSON."}}},"additionalProperties":false,"type":"object","required":["website_url","webhook_url","cron_expression"],"title":"SiteMonitorCreate","description":"Request body for registering a new site monitor."},"SiteMonitorExtractionConfig":{"properties":{"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","description":"Prompt for extracting structured data from the page"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","description":"JSON schema for extracted fields (enables structured diff)"}},"additionalProperties":false,"type":"object","title":"SiteMonitorExtractionConfig","description":"Optional extraction config for monitored page (smartscraper-style)."},"SiteMonitorListResponse":{"properties":{"monitors":{"items":{"$ref":"#/components/schemas/SiteMonitorResponse"},"type":"array","title":"Monitors"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["monitors","total","page","page_size"],"title":"SiteMonitorListResponse","description":"Paginated list of site monitors."},"SiteMonitorResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"website_url":{"type":"string","title":"Website Url"},"webhook_url":{"type":"string","title":"Webhook Url"},"cron_expression":{"type":"string","title":"Cron Expression"},"extraction_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extraction Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","api_key_id","website_url","webhook_url","cron_expression","is_active","created_at","updated_at"],"title":"SiteMonitorResponse","description":"Response for a single site monitor."},"SiteMonitorUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"cron_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cron Expression"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"additionalProperties":false,"type":"object","title":"SiteMonitorUpdate","description":"Request body for updating a site monitor (partial)."},"SitemapHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SitemapRequestDB"},"type":"array","title":"Requests","description":"List of sitemap requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"SitemapHistoryResponse"},"SitemapRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to generate a sitemap for"},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false}},"type":"object","required":["website_url"],"title":"SitemapRequest"},"SitemapRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"website_url":{"type":"string","title":"Website Url"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"status":{"type":"string","title":"Status"},"urls_count":{"type":"integer","title":"Urls Count"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["request_id","website_url","api_key_id","user_id","requested_at","status","urls_count"],"title":"SitemapRequestDB","description":"Model for storing sitemap request history in DynamoDB."},"SitemapResponse":{"properties":{"urls":{"items":{"type":"string"},"type":"array","title":"Urls","description":"The URLs found in the sitemap"},"request_id":{"type":"string","title":"Request Id","description":"The ID of the sitemap request for tracking"}},"type":"object","required":["urls","request_id"],"title":"SitemapResponse"},"SmartscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SmartscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SmartscraperHistoryResponse"},"SmartscraperRequest":{"properties":{"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url","description":"The URL of the website to scrape (optional for Smartscraper)"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"user_prompt":{"type":"string","title":"User Prompt","example":"Extract info about the company"},"website_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Html","description":"HTML content, maximum size 2MB","example":"

Title

Content

"},"website_markdown":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Markdown","description":"Markdown content, maximum size 2MB","example":"# Title\n\nThis is some content in markdown format."},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"number_of_scrolls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Number Of Scrolls","description":"Number of scroll operations to perform for infinite scrolling (0 = disabled, range: 1-100). Values between 1-9 will be automatically set to 10.","default":0},"total_pages":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Total Pages","description":"Total number of pages to scrape if pagination enabled","default":1},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website"},"cookies":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Cookies","description":"Cookies to send with the request","default":{}},"plain_text":{"type":"boolean","title":"Plain Text","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"offset":{"type":"integer","title":"Offset","description":"Offset to start scraping from","default":0},"is_multipage_child":{"type":"boolean","title":"Is Multipage Child","description":"Whether this is a multi-page child request","default":false}},"type":"object","required":["user_prompt"],"title":"SmartscraperRequest"},"SmartscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SmartscraperStatus","default":"processing"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_prompt","requested_at"],"title":"SmartscraperRequestDB","description":"Database model for smart scraper requests."},"SmartscraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SmartscraperStatus"},"StepResult":{"properties":{"step_index":{"type":"integer","title":"Step Index"},"step_type":{"$ref":"#/components/schemas/StepType"},"success":{"type":"boolean","title":"Success"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Data"},"duration_seconds":{"type":"number","title":"Duration Seconds"}},"type":"object","required":["step_index","step_type","success","duration_seconds"],"title":"StepResult","description":"Result of a single step execution"},"StepType":{"type":"string","enum":["navigate","action","extract","loop","conditional","subworkflow","wait","extract_markdown"],"title":"StepType","description":"Types of workflow steps"},"SubWorkflowStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"subworkflow"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"ID of saved workflow to execute"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/WorkflowDefinition"},{"type":"null"}],"description":"Inline workflow definition"},"input_mapping":{"additionalProperties":{"type":"string"},"type":"object","title":"Input Mapping","description":"Map parent context variables to subworkflow variables (e.g., {'url': '{{current_link}}'})"},"output_mapping":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Output Mapping","description":"Map subworkflow output variables back to parent context"}},"type":"object","title":"SubWorkflowStep","description":"Execute a subworkflow"},"TimeRange":{"type":"string","enum":["past_hour","past_24_hours","past_week","past_month","past_year"],"title":"TimeRange"},"TimelineEntry":{"properties":{"service":{"type":"string","title":"Service"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["service","timestamp"],"title":"TimelineEntry"},"UsageTimelineResponse":{"properties":{"timeline":{"items":{"$ref":"#/components/schemas/TimelineEntry"},"type":"array","title":"Timeline"}},"type":"object","required":["timeline"],"title":"UsageTimelineResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WaitStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"wait"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","description":"Seconds to wait"},"for_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Selector","description":"CSS selector to wait for"},"for_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Condition","description":"JavaScript condition to wait for"}},"type":"object","title":"WaitStep","description":"Wait for a condition or time"},"WorkflowDefinition":{"properties":{"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"Unique workflow identifier"},"name":{"type":"string","title":"Name","description":"Human-readable workflow name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Workflow description"},"start_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Url","description":"Initial URL to navigate to (can be overridden)"},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use persistent browser session","default":false},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Ordered list of workflow steps"},"initial_context":{"type":"object","title":"Initial Context","description":"Initial variables/context (e.g., {'email': 'user@example.com', 'password': 'secret'})"},"output_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variables","description":"List of variables to include in final output"}},"type":"object","required":["name","steps"],"title":"WorkflowDefinition","description":"Main workflow definition"},"WorkflowExecutionResult":{"properties":{"request_id":{"type":"string","title":"Request Id"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"success":{"type":"boolean","title":"Success"},"steps_executed":{"items":{"$ref":"#/components/schemas/StepResult"},"type":"array","title":"Steps Executed"},"total_duration_seconds":{"type":"number","title":"Total Duration Seconds"},"final_context":{"type":"object","title":"Final Context","description":"Final workflow context with all variables"},"output":{"type":"object","title":"Output","description":"Filtered output based on output_variables"},"final_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Url"},"final_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Html"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","workflow_id","success","steps_executed","total_duration_seconds"],"title":"WorkflowExecutionResult","description":"Result of workflow execution"}}}} \ No newline at end of file +{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/v1/smartscraper":{"post":{"tags":["SmartScraper"],"summary":"Start Smartscraper","operationId":"start_smartscraper_v1_smartscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSmartscraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/smartscraper/{request_id}":{"get":{"tags":["SmartScraper"],"summary":"Get Smartscraper Status","operationId":"get_smartscraper_status_v1_smartscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify":{"post":{"tags":["Markdownify"],"summary":"Start Markdownify","operationId":"start_markdownify_v1_markdownify_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedMarkdownifyResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/markdownify/{request_id}":{"get":{"tags":["Markdownify"],"summary":"Get Markdownify Status","operationId":"get_markdownify_status_v1_markdownify__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scrape":{"post":{"tags":["Scrape"],"summary":"Scrape","operationId":"scrape_v1_scrape_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper":{"post":{"tags":["SearchScraper"],"summary":"Start Searchscraper","operationId":"start_searchscraper_v1_searchscraper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchScraperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompletedSearchScraperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/searchscraper/{request_id}":{"get":{"tags":["SearchScraper"],"summary":"Get Searchscraper Status","operationId":"get_searchscraper_status_v1_searchscraper__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema":{"post":{"tags":["SchemaGenerator"],"summary":"Generate or modify a JSON schema based on a search query","description":"Generate a refined search prompt and a structured JSON schema for analyzing search results.\n Optionally modify an existing schema to better fit the current search query.","operationId":"start_generate_schema_v1_generate_schema_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaGenerationResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/generate_schema/{request_id}":{"get":{"tags":["SchemaGenerator"],"summary":"Get Generate Schema Status","operationId":"get_generate_schema_status_v1_generate_schema__request_id__get","parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs":{"post":{"tags":["ScheduledJobs"],"summary":"Create Scheduled Job","description":"Create a new scheduled job","operationId":"create_scheduled_job_v1_scheduled_jobs_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["ScheduledJobs"],"summary":"Fetch Scheduled Jobs","description":"Get user's scheduled jobs with pagination","operationId":"fetch_scheduled_jobs_v1_scheduled_jobs_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of jobs per page","default":20,"title":"Page Size"},"description":"Number of jobs per page"},{"name":"service_type","in":"query","required":false,"schema":{"anyOf":[{"$ref":"#/components/schemas/ServiceType"},{"type":"null"}],"description":"Filter by service type","title":"Service Type"},"description":"Filter by service type"},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"Filter by active status","title":"Is Active"},"description":"Filter by active status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}":{"get":{"tags":["ScheduledJobs"],"summary":"Get Scheduled Job","description":"Get a specific scheduled job","operationId":"get_scheduled_job_v1_scheduled_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["ScheduledJobs"],"summary":"Update Scheduled Job","description":"Update a scheduled job","operationId":"update_scheduled_job_v1_scheduled_jobs__job_id__patch","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Job Update"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["ScheduledJobs"],"summary":"Replace Scheduled Job","operationId":"replace_scheduled_job_v1_scheduled_jobs__job_id__put","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledJobResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["ScheduledJobs"],"summary":"Delete Scheduled Job","description":"Delete a scheduled job","operationId":"delete_scheduled_job_v1_scheduled_jobs__job_id__delete","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/executions":{"get":{"tags":["ScheduledJobs"],"summary":"Get Job Executions","description":"Get execution history for a scheduled job","operationId":"get_job_executions_v1_scheduled_jobs__job_id__executions_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"description":"Page number","default":1,"title":"Page"},"description":"Page number"},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"description":"Number of executions per page","default":20,"title":"Page Size"},"description":"Number of executions per page"},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Filter by execution status","title":"Status"},"description":"Filter by execution status"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobExecutionListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/pause":{"post":{"tags":["ScheduledJobs"],"summary":"Pause Scheduled Job","operationId":"pause_scheduled_job_v1_scheduled_jobs__job_id__pause_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/resume":{"post":{"tags":["ScheduledJobs"],"summary":"Resume Scheduled Job","operationId":"resume_scheduled_job_v1_scheduled_jobs__job_id__resume_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/scheduled-jobs/{job_id}/trigger":{"post":{"tags":["ScheduledJobs"],"summary":"Trigger Job Manually","description":"Manually trigger a scheduled job\n\nRate limited to 10 triggers per minute per user to prevent abuse.","operationId":"trigger_job_manually_v1_scheduled_jobs__job_id__trigger_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobTriggerResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors":{"post":{"tags":["SiteMonitors"],"summary":"Create Monitor","description":"Register a website for monitoring. We will check on the given cron schedule and POST webhook events on content change.","operationId":"create_monitor_v1_site_monitors_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorCreate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["SiteMonitors"],"summary":"List Monitors","description":"List site monitors for the current user.","operationId":"list_monitors_v1_site_monitors_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Page Size"}},{"name":"is_active","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorListResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/site-monitors/{monitor_id}":{"get":{"tags":["SiteMonitors"],"summary":"Get Monitor","description":"Get a site monitor by id.","operationId":"get_monitor_v1_site_monitors__monitor_id__get","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["SiteMonitors"],"summary":"Update Monitor","description":"Update a site monitor. Schedule is updated if cron or config changed.","operationId":"update_monitor_v1_site_monitors__monitor_id__patch","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorUpdate"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteMonitorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["SiteMonitors"],"summary":"Delete Monitor","description":"Delete a site monitor and its schedule.","operationId":"delete_monitor_v1_site_monitors__monitor_id__delete","parameters":[{"name":"monitor_id","in":"path","required":true,"schema":{"type":"string","title":"Monitor Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"tags":["Health"],"summary":"Health Check","description":"Health check endpoint that includes memory monitoring","operationId":"health_check_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/credits":{"get":{"tags":["User"],"summary":"Get Credits","operationId":"get_credits_v1_credits_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditsResponse"}}}}}}},"/v1/validate":{"get":{"tags":["User"],"summary":"Validate Api Key","operationId":"validate_api_key_v1_validate_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","title":"Response Validate Api Key V1 Validate Get"}}}}}}},"/v1/feedback":{"post":{"tags":["User"],"summary":"Submit Feedback","operationId":"submit_feedback_v1_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackCreate"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/product-feedback":{"post":{"tags":["User"],"summary":"Submit Product Feedback","operationId":"submit_product_feedback_v1_product_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedback"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFeedbackResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/deduct-credits":{"post":{"tags":["User"],"summary":"Deduct Credits","operationId":"deduct_credits_v1_deduct_credits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsBody"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeductCreditsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl":{"post":{"tags":["Crawler"],"summary":"Start Crawl","description":"Start a new crawl job.","operationId":"start_crawl_v1_crawl_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlJob"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/crawl/{task_id}":{"get":{"tags":["Crawler"],"summary":"Get Crawl Result","description":"Get the result of a crawl job by task ID.","operationId":"get_crawl_result_v1_crawl__task_id__get","parameters":[{"name":"task_id","in":"path","required":true,"schema":{"type":"string","title":"Task Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/logs/{crawler_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Logs","description":"Get webhook delivery logs for a crawler job.","operationId":"get_webhook_logs_v1_webhook_logs__crawler_id__get","parameters":[{"name":"crawler_id","in":"path","required":true,"schema":{"type":"string","title":"Crawler Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/webhook/status/{webhook_id}":{"get":{"tags":["Crawler"],"summary":"Get Webhook Status","description":"Get status of a specific webhook delivery.","operationId":"get_webhook_status_v1_webhook_status__webhook_id__get","parameters":[{"name":"webhook_id","in":"path","required":true,"schema":{"type":"string","title":"Webhook Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agentic-scrapper":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Scrapper","operationId":"agentic_scrapper_v1_agentic_scrapper_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/get-live-session-url":{"post":{"tags":["AgenticScrapper"],"summary":"Get Live Session Url","operationId":"get_live_session_url_v1_get_live_session_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperLiveSessionUrlResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/stop-session":{"post":{"tags":["AgenticScrapper"],"summary":"Stop Session","operationId":"stop_session_v1_stop_session_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScrapperStopSessionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/workflows/execute":{"post":{"tags":["AgenticScrapper"],"summary":"Agentic Browser V2","operationId":"agentic_browser_v2_v1_workflows_execute_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowDefinition"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WorkflowExecutionResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/markdownify":{"get":{"tags":["History"],"summary":"Get Markdownify History","description":"Get paginated history of markdownify requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n MarkdownifyHistoryResponse containing the list of requests and next page key","operationId":"get_markdownify_history_v1_history_markdownify_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkdownifyHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/smartscraper":{"get":{"tags":["History"],"summary":"Get Smartscraper History","description":"Get paginated history of smart scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SmartscraperHistoryResponse containing the list of requests and next page key","operationId":"get_smartscraper_history_v1_history_smartscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SmartscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/searchscraper":{"get":{"tags":["History"],"summary":"Get Searchscraper History","description":"Get paginated history of search scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n SearchscraperHistoryResponse containing the list of requests and next page key","operationId":"get_searchscraper_history_v1_history_searchscraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchscraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/scrape":{"get":{"tags":["History"],"summary":"Get Scrape History","description":"Get paginated history of scrape requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n ScrapeHistoryResponse containing the list of requests and next page key","operationId":"get_scrape_history_v1_history_scrape_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScrapeHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/crawl":{"get":{"tags":["History"],"summary":"Get Crawler History","description":"Get paginated history of crawler requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n\nReturns:\n CrawlerHistoryResponse containing the list of requests and next page key","operationId":"get_crawler_history_v1_history_crawl_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CrawlerHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/agentic-scraper":{"get":{"tags":["History"],"summary":"Get Agentic Scraper History","description":"Get paginated history of agentic scraper requests.\n\nArgs:\n request: The FastAPI request object\n page: Page number (default: 1)\n page_size: Number of items per page (default: 10)\n next_key: Key for pagination (default: None)\n\nReturns:\n AgenticScraperHistoryResponse containing the list of requests and next page key","operationId":"get_agentic_scraper_history_v1_history_agentic_scraper_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticScraperHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/history/sitemap":{"get":{"tags":["History"],"summary":"Get Sitemap History","description":"Get sitemap request history for the current API key.","operationId":"get_sitemap_history_v1_history_sitemap_get","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","default":1,"title":"Page"}},{"name":"page_size","in":"query","required":false,"schema":{"type":"integer","default":10,"title":"Page Size"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapHistoryResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/sitemap":{"post":{"tags":["Sitemap"],"summary":"Generate Sitemap","operationId":"generate_sitemap_v1_sitemap_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SitemapResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/toonify":{"post":{"tags":["Toonify"],"summary":"Toonify","operationId":"toonify_v1_toonify_post","requestBody":{"content":{"application/json":{"schema":{"type":"object","title":"Body"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage/timeline":{"get":{"tags":["Usage"],"summary":"Get Usage Timeline","description":"Get usage timeline with only timestamps for chart rendering.","operationId":"get_usage_timeline_v1_usage_timeline_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"anyOf":[{"enum":["7","14","30","all"],"type":"string"},{"type":"null"}],"default":"all","title":"Days"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageTimelineResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/bandcamp/get-sales-feed-items":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items","operationId":"get_sales_feed_items_v1_bandcamp_get_sales_feed_items_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/bandcamp/get-item-details/":{"post":{"tags":["EndpointPoc"],"summary":"Get Sales Feed Items Details","operationId":"get_sales_feed_items_details_v1_bandcamp_get_item_details__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/endpoint/get-suggestions":{"post":{"tags":["EndpointPoc"],"summary":"Get Suggestions","operationId":"get_suggestions_v1_endpoint_get_suggestions_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestionsResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/save-endpoint":{"post":{"tags":["EndpointPoc"],"summary":"Save Endpoint","operationId":"save_endpoint_v1_endpoint_save_endpoint_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EndPointSuggestions"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/endpoint/{endpoint_id}/{full_path}":{"post":{"tags":["EndpointPoc"],"summary":"Execute Endpoint","operationId":"execute_endpoint_v1_endpoint__endpoint_id___full_path__post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}},{"name":"full_path","in":"path","required":true,"schema":{"type":"string","title":"Full Path"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","title":"Query Params"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/admin/query_redis_cache_by_pattern":{"post":{"tags":["Admin"],"summary":"Query Redis Cache By Pattern","operationId":"query_redis_cache_by_pattern_v1_admin_query_redis_cache_by_pattern_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QueryRedisCacheByPatternRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/x402/{path}":{"get":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"put":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"patch":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"delete":{"tags":["Orthogonal"],"summary":"Proxy","description":"Proxy endpoint for Orthogonal API integration.\nForwards requests to https://api.orth.sh/pay/{ORTHOGONHAL_API_KEY}/{path}","operationId":"proxy_x402__path__get","parameters":[{"name":"path","in":"path","required":true,"schema":{"type":"string","title":"Path"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"ActionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"action"},"action":{"type":"string","title":"Action","description":"Natural language action description (e.g., 'Click login button', 'Fill email with {{email}}')"},"observe_first":{"type":"boolean","title":"Observe First","description":"Whether to observe elements before acting","default":true}},"type":"object","required":["action"],"title":"ActionStep","description":"Perform an action on the page"},"AgenticScraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/AgenticScraperRequestDB"},"type":"array","title":"Requests","description":"List of agentic scraper requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"AgenticScraperHistoryResponse"},"AgenticScraperRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"user_id":{"type":"string","title":"User Id"},"webpage_id":{"type":"string","title":"Webpage Id"},"website_url":{"type":"string","title":"Website Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"status":{"$ref":"#/components/schemas/AgenticScrapperStatus"},"metadata":{"anyOf":[{},{"type":"null"}],"title":"Metadata"},"result":{"anyOf":[{},{"type":"null"}],"title":"Result"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost","default":0.0},"usage_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","user_id","webpage_id","website_url","requested_at","status"],"title":"AgenticScraperRequestDB","description":"DynamoDB model for agentic scraper requests."},"AgenticScrapperLiveSessionUrlRequest":{"properties":{"url":{"type":"string","title":"Url"},"timeout":{"type":"integer","title":"Timeout","description":"Timeout for the live session","default":300}},"type":"object","required":["url"],"title":"AgenticScrapperLiveSessionUrlRequest"},"AgenticScrapperLiveSessionUrlResponse":{"properties":{"session_url":{"type":"string","title":"Session Url"},"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_url","session_id"],"title":"AgenticScrapperLiveSessionUrlResponse"},"AgenticScrapperRequest":{"properties":{"url":{"type":"string","title":"Url"},"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","default":""},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","default":{}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website","default":[]},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use a session to scrape the website","default":false},"ai_extraction":{"type":"boolean","title":"Ai Extraction","description":"Whether to use AI extraction to extract the information","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape (e.g. US, GB)"}},"type":"object","required":["url"],"title":"AgenticScrapperRequest"},"AgenticScrapperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"markdown":{"type":"string","title":"Markdown"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"}},"type":"object","required":["request_id","markdown"],"title":"AgenticScrapperResponse"},"AgenticScrapperStatus":{"type":"string","enum":["queued","processing","processinghtml","processedhtml","completed","failed"],"title":"AgenticScrapperStatus","description":"Status enum for agentic scraper requests."},"AgenticScrapperStopSessionRequest":{"properties":{"session_id":{"type":"string","title":"Session Id"}},"type":"object","required":["session_id"],"title":"AgenticScrapperStopSessionRequest"},"CompletedMarkdownifyResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/MarkdownifyStatus"},"website_url":{"type":"string","title":"Website Url"},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","website_url"],"title":"CompletedMarkdownifyResponse"},"CompletedSearchScraperResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"$ref":"#/components/schemas/SearchScraperStatus"},"user_prompt":{"type":"string","title":"User Prompt"},"num_results":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Num Results"},"result":{"anyOf":[{"type":"object"},{}],"title":"Result"},"reference_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Reference Urls"},"markdown_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Markdown Content","description":"Raw markdown content when extraction_mode is False"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","result","reference_urls"],"title":"CompletedSearchScraperResponse"},"CompletedSmartscraperResponse":{"properties":{"request_id":{"type":"string","title":"Request Id"},"status":{"$ref":"#/components/schemas/SmartscraperStatus"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"result":{"anyOf":[{"type":"object"},{"type":"string"},{"type":"null"}],"title":"Result"},"error":{"type":"string","title":"Error","default":""}},"type":"object","required":["request_id","status","user_prompt"],"title":"CompletedSmartscraperResponse"},"ConditionalStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"conditional"},"condition":{"type":"string","title":"Condition","description":"Condition to evaluate (e.g., '{{index}} < 10', '{{item}} != null')"},"if_steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"If Steps","description":"Steps to execute if condition is true"},"else_steps":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array"},{"type":"null"}],"title":"Else Steps","description":"Steps to execute if condition is false"}},"type":"object","required":["condition","if_steps"],"title":"ConditionalStep","description":"Conditional execution (if/else)"},"CrawlJob":{"properties":{"url":{"type":"string","title":"Url"},"depth":{"type":"integer","title":"Depth","default":1},"breadth":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Breadth","description":"Maximum number of links to crawl per depth level. If None, unlimited (default). Ignored when sitemap=True."},"max_pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Pages","default":10},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema"},"rules":{"anyOf":[{"$ref":"#/components/schemas/CrawlJobRules"},{"type":"null"}]},"sitemap":{"type":"boolean","title":"Sitemap","default":true},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"extraction_mode":{"type":"boolean","title":"Extraction Mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"reader_mode":{"type":"boolean","title":"Reader Mode","default":false},"wait_ms":{"type":"integer","title":"Wait Ms","default":3000},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for fetching (e.g. US, GB)"}},"type":"object","required":["url"],"title":"CrawlJob"},"CrawlJobRules":{"properties":{"exclude":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude"},"include_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Include Paths","description":"List of path patterns to include (e.g., ['/products/*', '/blog/*']). If empty, all paths are included."},"exclude_paths":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Exclude Paths","description":"List of path patterns to exclude (e.g., ['/admin/*', '/api/*']). Takes precedence over include_paths."},"same_domain":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Same Domain","default":true}},"type":"object","title":"CrawlJobRules"},"CrawlStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"CrawlStatus"},"CrawlerHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/CrawlerRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"CrawlerHistoryResponse"},"CrawlerRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"url":{"type":"string","title":"Url"},"prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prompt"},"max_pages":{"type":"integer","title":"Max Pages"},"status":{"$ref":"#/components/schemas/CrawlStatus"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"total_cost":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Total Cost"},"credits_used":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Credits Used"},"pages_processed":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages Processed"},"crawled_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Crawled Urls"},"task_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Task Id"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"result_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result Url"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_id","url","max_pages","status","requested_at"],"title":"CrawlerRequestDB","description":"DynamoDB model for crawler requests"},"CreditsResponse":{"properties":{"remaining_credits":{"type":"integer","title":"Remaining Credits"},"total_credits_used":{"type":"integer","title":"Total Credits Used"}},"type":"object","required":["remaining_credits","total_credits_used"],"title":"CreditsResponse"},"DeductCreditsBody":{"properties":{"credits_to_deduct":{"type":"integer","title":"Credits To Deduct"}},"type":"object","required":["credits_to_deduct"],"title":"DeductCreditsBody"},"DeductCreditsResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Credits deducted successfully"}},"type":"object","title":"DeductCreditsResponse"},"EndPointSuggestionRequest":{"properties":{"website_url":{"type":"string","title":"Website Url"},"prompt":{"type":"string","title":"Prompt"}},"type":"object","required":["website_url","prompt"],"title":"EndPointSuggestionRequest"},"EndPointSuggestions":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"}},"type":"object","required":["suggestions"],"title":"EndPointSuggestions"},"EndPointSuggestionsResponse":{"properties":{"suggestions":{"items":{"$ref":"#/components/schemas/EndpointSuggestion"},"type":"array","title":"Suggestions"},"html_with_markdowns":{"title":"Html With Markdowns"}},"type":"object","required":["suggestions","html_with_markdowns"],"title":"EndPointSuggestionsResponse"},"EndpointParameter":{"properties":{"name":{"type":"string","title":"Name"},"type":{"type":"string","title":"Type"},"location":{"type":"string","title":"Location"},"required":{"type":"boolean","title":"Required"},"description":{"type":"string","title":"Description"},"is_url":{"type":"boolean","title":"Is Url","default":false}},"type":"object","required":["name","type","location","required","description"],"title":"EndpointParameter"},"EndpointSuggestion":{"properties":{"endpoint":{"type":"string","title":"Endpoint"},"method":{"type":"string","title":"Method","default":"POST"},"description":{"type":"string","title":"Description"},"target_url":{"type":"string","title":"Target Url"},"parameters":{"items":{"$ref":"#/components/schemas/EndpointParameter"},"type":"array","title":"Parameters"},"pydantic_schema":{"type":"object","title":"Pydantic Schema"},"extraction_prompt":{"type":"string","title":"Extraction Prompt"},"interaction_steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Interaction Steps"}},"type":"object","required":["endpoint","description","target_url","parameters","pydantic_schema","extraction_prompt"],"title":"EndpointSuggestion"},"ExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract"},"instruction":{"type":"string","title":"Instruction","description":"What to extract (e.g., 'Extract all product links from the page')"},"schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Schema","description":"Optional schema for structured extraction"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted data to (e.g., 'product_links')"}},"type":"object","required":["instruction","save_to"],"title":"ExtractionStep","description":"Extract data from the page"},"FeedbackCreate":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"ID of the request/session this feedback is for"},"rating":{"type":"integer","maximum":5.0,"minimum":0.0,"title":"Rating"},"feedback_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feedback Text"}},"type":"object","required":["request_id","rating"],"title":"FeedbackCreate"},"FeedbackResponse":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"request_id":{"type":"string","format":"uuid","title":"Request Id"},"message":{"type":"string","title":"Message","default":"Feedback submitted successfully"},"feedback_timestamp":{"type":"string","format":"date-time","title":"Feedback Timestamp"}},"type":"object","required":["feedback_id","request_id","feedback_timestamp"],"title":"FeedbackResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobExecutionListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"executions":{"items":{"$ref":"#/components/schemas/JobExecutionResponse"},"type":"array","title":"Executions"}},"type":"object","required":["total","page","page_size","executions"],"title":"JobExecutionListResponse","description":"Paginated response for job executions"},"JobExecutionResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"execution_id":{"type":"string","title":"Execution Id"},"status":{"type":"string","title":"Status"},"started_at":{"type":"string","format":"date-time","title":"Started At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"credits_used":{"type":"integer","title":"Credits Used","default":0}},"type":"object","required":["id","scheduled_job_id","execution_id","status","started_at"],"title":"JobExecutionResponse","description":"Response model for job execution details"},"JobTriggerResponse":{"properties":{"execution_id":{"type":"string","title":"Execution Id"},"message":{"type":"string","title":"Message"},"scheduled_job_id":{"type":"string","format":"uuid","title":"Scheduled Job Id"},"triggered_at":{"type":"string","format":"date-time","title":"Triggered At"}},"type":"object","required":["execution_id","message","scheduled_job_id","triggered_at"],"title":"JobTriggerResponse","description":"Response model for manual job trigger"},"LoopStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"loop"},"iterate_over":{"type":"string","title":"Iterate Over","description":"Variable name containing array to iterate over (e.g., 'product_links')"},"item_name":{"type":"string","title":"Item Name","description":"Variable name for current item in loop (e.g., 'current_link')","default":"item"},"index_name":{"type":"string","title":"Index Name","description":"Variable name for current index (e.g., 'i')","default":"index"},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Steps to execute for each item"},"max_iterations":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Iterations","description":"Maximum number of iterations (safety limit)"}},"type":"object","required":["iterate_over","steps"],"title":"LoopStep","description":"Iterate over an array"},"MarkdownExtractionStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"extract_markdown"},"save_to":{"type":"string","title":"Save To","description":"Variable name to save extracted markdown to (e.g., 'markdown')"}},"type":"object","required":["save_to"],"title":"MarkdownExtractionStep","description":"Extract markdown from the page"},"MarkdownifyHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/MarkdownifyRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"MarkdownifyHistoryResponse"},"MarkdownifyRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"type":"object","required":["website_url"],"title":"MarkdownifyRequest"},"MarkdownifyRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id","description":"Unique identifier for the request"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id","description":"ID of the user who made the request"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id","description":"ID of the associated webpage"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","description":"Timestamp when the request was made"},"status":{"$ref":"#/components/schemas/MarkdownifyRequestStatus","description":"Current status of the request"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error","description":"Error message if the request failed"},"website_url":{"type":"string","title":"Website Url","description":"URL of the website to be markdownified"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At","description":"Timestamp when the request was completed"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata","description":"Additional metadata about the request"},"usage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Usage Id","description":"ID of the associated LLM usage record"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["status","website_url"],"title":"MarkdownifyRequestDB","description":"Pydantic model representing the markdownify_requests database table."},"MarkdownifyRequestStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyRequestStatus"},"MarkdownifyStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"MarkdownifyStatus"},"NavigationStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"navigate"},"url":{"type":"string","title":"Url","description":"URL to navigate to. Supports variable interpolation: {{variable_name}}"},"wait_for":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wait For","description":"Optional selector to wait for after navigation"}},"type":"object","required":["url"],"title":"NavigationStep","description":"Navigate to a URL"},"ProductFeedback":{"properties":{"feedback_id":{"type":"string","format":"uuid","title":"Feedback Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name","examples":["John Doe"]},"email":{"anyOf":[{"type":"string","format":"email"},{"type":"null"}],"title":"Email","examples":["john@example.com"]},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company","examples":["XYZ Ltd"]},"how_discovered":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"How Discovered","examples":["Twitter"]},"usage_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Frequency","examples":["Weekly"]},"use_cases":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Use Cases","examples":[["Web scraping","Automation"]]},"rating":{"anyOf":[{"type":"integer","maximum":5.0,"minimum":1.0},{"type":"null"}],"title":"Rating"},"liked_most":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liked Most","examples":["Easy setup"]},"disliked":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disliked","examples":["Pagination issues"]},"requested_features":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Requested Features","examples":["Scheduler, dashboard analytics"]},"setup_easy":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Setup Easy","examples":[true]},"issues":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Issues","examples":["Error saving graphs"]},"recommend_score":{"anyOf":[{"type":"integer","maximum":10.0,"minimum":0.0},{"type":"null"}],"title":"Recommend Score"},"improvement_suggestions":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Improvement Suggestions","examples":["Better docs, faster runtime"]},"can_contact":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Can Contact","examples":[true]},"contact_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Method","examples":["Email"]}},"type":"object","title":"ProductFeedback"},"ProductFeedbackResponse":{"properties":{"message":{"type":"string","title":"Message","default":"Product feedback submitted successfully"}},"type":"object","title":"ProductFeedbackResponse"},"QueryRedisCacheByPatternRequest":{"properties":{"cursor":{"type":"integer","title":"Cursor","default":0},"page_size":{"type":"integer","title":"Page Size","default":100},"pattern":{"type":"string","title":"Pattern","default":"providers_order:*"}},"type":"object","title":"QueryRedisCacheByPatternRequest"},"ScheduledJobCreate":{"properties":{"job_name":{"type":"string","maxLength":255,"minLength":1,"title":"Job Name","description":"Human-readable name for the scheduled job","strip_whitespace":true},"service_type":{"$ref":"#/components/schemas/ServiceType","description":"Type of service to run: smartscraper, searchscraper, markdownify, or smartcrawler"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Standard 5-field cron expression (minute hour day month day_of_week) in UTC timezone. All times are interpreted as UTC (e.g., '0 9 * * 1' for 9 AM UTC every Monday)"},"job_config":{"type":"object","title":"Job Config","description":"Service-specific configuration that matches the service's request schema"},"is_active":{"type":"boolean","title":"Is Active","description":"Whether the job is active and should be scheduled","default":true},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"}},"additionalProperties":false,"type":"object","required":["job_name","service_type","cron_expression","job_config"],"title":"ScheduledJobCreate","description":"Model for creating scheduled jobs (required fields enforced)"},"ScheduledJobListResponse":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"},"jobs":{"items":{"$ref":"#/components/schemas/ScheduledJobResponse"},"type":"array","title":"Jobs"}},"type":"object","required":["total","page","page_size","jobs"],"title":"ScheduledJobListResponse","description":"Paginated response for scheduled jobs"},"ScheduledJobResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"job_name":{"type":"string","title":"Job Name"},"service_type":{"$ref":"#/components/schemas/ServiceType"},"cron_expression":{"type":"string","title":"Cron Expression"},"job_config":{"type":"object","title":"Job Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","job_name","service_type","cron_expression","job_config","is_active","created_at","updated_at"],"title":"ScheduledJobResponse","description":"Response model for scheduled job operations"},"SchemaGenerationRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","description":"The user's search query to be refined"},"existing_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Existing Schema","description":"Optional existing JSON schema to modify/extend"}},"type":"object","required":["user_prompt"],"title":"SchemaGenerationRequest","description":"Request model for schema generation"},"SchemaGenerationResponse":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"status":{"type":"string","title":"Status"},"user_prompt":{"type":"string","title":"User Prompt"},"refined_prompt":{"type":"string","title":"Refined Prompt","description":"The refined search query"},"generated_schema":{"type":"object","title":"Generated Schema","description":"The generated JSON schema"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","status","user_prompt","refined_prompt","generated_schema"],"title":"SchemaGenerationResponse","description":"Response model for schema generation"},"ScrapeHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/ScrapeRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"ScrapeHistoryResponse"},"ScrapeRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to scrape"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000}},"type":"object","required":["website_url"],"title":"ScrapeRequest"},"ScrapeRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"website_url":{"type":"string","title":"Website Url"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","default":false},"result":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/ScrapeStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata","default":{}},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"requested_at":{"type":"string","format":"date-time","title":"Requested At","default":"2026-06-15T14:09:59.207604"},"cost":{"type":"integer","title":"Cost","default":0},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","website_url"],"title":"ScrapeRequestDB","description":"DynamoDB model for scrape requests."},"ScrapeStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"ScrapeStatus","description":"Status of a scrape request."},"SearchScraperRequest":{"properties":{"user_prompt":{"type":"string","title":"User Prompt","example":"What is the latest version of Python?"},"num_results":{"type":"integer","maximum":20.0,"minimum":3.0,"title":"Num Results","description":"Number of websites to scrape (3-20). Default is 3.","default":3,"example":5},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"extraction_mode":{"type":"boolean","title":"Extraction Mode","description":"True for AI extraction mode, False for markdown conversion only","default":true},"markdown_mode":{"type":"boolean","title":"Markdown Mode","description":"True for markdown conversion mode, False for raw mode","default":true},"stealth":{"type":"boolean","title":"Stealth","description":"Enable stealth mode to avoid bot detection","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"location_geo_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location Geo Code","description":"The geo code of the location to search in"},"time_range":{"anyOf":[{"$ref":"#/components/schemas/TimeRange"},{"type":"null"}],"description":"The date range to search in","examples":["past_hour","past_24_hours","past_week","past_month","past_year"]}},"type":"object","required":["user_prompt"],"title":"SearchScraperRequest"},"SearchScraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SearchScraperStatus"},"SearchscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SearchscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SearchscraperHistoryResponse"},"SearchscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"user_prompt":{"type":"string","title":"User Prompt"},"search_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Search Query"},"extraction_query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extraction Query"},"references_urls":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"References Urls"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SearchScraperStatus","default":"queued"},"metadata":{"type":"object","title":"Metadata"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"}},"type":"object","required":["user_prompt"],"title":"SearchscraperRequestDB","description":"Database model for search scraper requests."},"ServiceType":{"type":"string","enum":["smartscraper","searchscraper","markdownify","smartcrawler","agenticscrapper","site_monitor"],"title":"ServiceType"},"SiteMonitorCreate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name","description":"Human-readable name for the monitor"},"website_url":{"type":"string","title":"Website Url","description":"URL to monitor"},"webhook_url":{"type":"string","title":"Webhook Url","description":"URL to POST webhook events to"},"cron_expression":{"type":"string","title":"Cron Expression","description":"Cron schedule (5 fields, UTC), e.g. '*/15 * * * *' for every 15 min"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}],"description":"Optional: user_prompt and output_schema for structured extraction and diff","default":{"user_prompt":"Extract all main content and key data as structured JSON."}}},"additionalProperties":false,"type":"object","required":["website_url","webhook_url","cron_expression"],"title":"SiteMonitorCreate","description":"Request body for registering a new site monitor."},"SiteMonitorExtractionConfig":{"properties":{"user_prompt":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"User Prompt","description":"Prompt for extracting structured data from the page"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema","description":"JSON schema for extracted fields (enables structured diff)"}},"additionalProperties":false,"type":"object","title":"SiteMonitorExtractionConfig","description":"Optional extraction config for monitored page (smartscraper-style)."},"SiteMonitorListResponse":{"properties":{"monitors":{"items":{"$ref":"#/components/schemas/SiteMonitorResponse"},"type":"array","title":"Monitors"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"page_size":{"type":"integer","title":"Page Size"}},"type":"object","required":["monitors","total","page","page_size"],"title":"SiteMonitorListResponse","description":"Paginated list of site monitors."},"SiteMonitorResponse":{"properties":{"id":{"type":"string","format":"uuid","title":"Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"website_url":{"type":"string","title":"Website Url"},"webhook_url":{"type":"string","title":"Webhook Url"},"cron_expression":{"type":"string","title":"Cron Expression"},"extraction_config":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Extraction Config"},"is_active":{"type":"boolean","title":"Is Active"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"},"last_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Run At"},"next_run_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Next Run At"}},"type":"object","required":["id","user_id","api_key_id","website_url","webhook_url","cron_expression","is_active","created_at","updated_at"],"title":"SiteMonitorResponse","description":"Response for a single site monitor."},"SiteMonitorUpdate":{"properties":{"name":{"anyOf":[{"type":"string","maxLength":255,"minLength":1},{"type":"null"}],"title":"Name"},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url"},"cron_expression":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cron Expression"},"extraction_config":{"anyOf":[{"$ref":"#/components/schemas/SiteMonitorExtractionConfig"},{"type":"null"}]},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"}},"additionalProperties":false,"type":"object","title":"SiteMonitorUpdate","description":"Request body for updating a site monitor (partial)."},"SitemapHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SitemapRequestDB"},"type":"array","title":"Requests","description":"List of sitemap requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key","description":"Key for next page"}},"type":"object","required":["requests"],"title":"SitemapHistoryResponse"},"SitemapRequest":{"properties":{"website_url":{"type":"string","title":"Website Url","description":"The URL of the website to generate a sitemap for"},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false}},"type":"object","required":["website_url"],"title":"SitemapRequest"},"SitemapRequestDB":{"properties":{"request_id":{"type":"string","title":"Request Id"},"website_url":{"type":"string","title":"Website Url"},"api_key_id":{"type":"string","format":"uuid","title":"Api Key Id"},"user_id":{"type":"string","format":"uuid","title":"User Id"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"status":{"type":"string","title":"Status"},"urls_count":{"type":"integer","title":"Urls Count"},"error_message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Message"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"}},"type":"object","required":["request_id","website_url","api_key_id","user_id","requested_at","status","urls_count"],"title":"SitemapRequestDB","description":"Model for storing sitemap request history in DynamoDB."},"SitemapResponse":{"properties":{"urls":{"items":{"type":"string"},"type":"array","title":"Urls","description":"The URLs found in the sitemap"},"request_id":{"type":"string","title":"Request Id","description":"The ID of the sitemap request for tracking"}},"type":"object","required":["urls","request_id"],"title":"SitemapResponse"},"SmartscraperHistoryResponse":{"properties":{"requests":{"items":{"$ref":"#/components/schemas/SmartscraperRequestDB"},"type":"array","title":"Requests"},"next_key":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Next Key"}},"type":"object","required":["requests","next_key"],"title":"SmartscraperHistoryResponse"},"SmartscraperRequest":{"properties":{"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url","description":"The URL of the website to scrape (optional for Smartscraper)"},"render_heavy_js":{"type":"boolean","title":"Render Heavy Js","description":"Whether to render heavy JS","default":false},"mock":{"type":"boolean","title":"Mock","default":false},"stealth":{"type":"boolean","title":"Stealth","default":false},"branding":{"type":"boolean","title":"Branding","default":false},"stream":{"type":"boolean","title":"Stream","description":"Whether to return streaming response","default":false},"country_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Code","description":"The country code to use for the scrape"},"wait_ms":{"type":"integer","title":"Wait Ms","description":"The number of milliseconds to wait before scraping the website","default":3000},"user_prompt":{"type":"string","title":"User Prompt","example":"Extract info about the company"},"website_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Html","description":"HTML content, maximum size 2MB","example":"

Title

Content

"},"website_markdown":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Markdown","description":"Markdown content, maximum size 2MB","example":"# Title\n\nThis is some content in markdown format."},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"headers":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Headers","description":"Optional headers to send with the request, including cookies and user agent","example":{"Cookie":"cookie1=value1; cookie2=value2","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"}},"number_of_scrolls":{"type":"integer","maximum":100.0,"minimum":0.0,"title":"Number Of Scrolls","description":"Number of scroll operations to perform for infinite scrolling (0 = disabled, range: 1-100). Values between 1-9 will be automatically set to 10.","default":0},"total_pages":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Total Pages","description":"Total number of pages to scrape if pagination enabled","default":1},"steps":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Steps","description":"List of steps to actions to perform on the website"},"cookies":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Cookies","description":"Cookies to send with the request","default":{}},"plain_text":{"type":"boolean","title":"Plain Text","default":false},"webhook_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Webhook Url","description":"Webhook URL to send the job result to"},"offset":{"type":"integer","title":"Offset","description":"Offset to start scraping from","default":0},"is_multipage_child":{"type":"boolean","title":"Is Multipage Child","description":"Whether this is a multi-page child request","default":false}},"type":"object","required":["user_prompt"],"title":"SmartscraperRequest"},"SmartscraperRequestDB":{"properties":{"request_id":{"type":"string","format":"uuid","title":"Request Id"},"user_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"User Id"},"webpage_id":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"title":"Webpage Id"},"website_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Url"},"user_prompt":{"type":"string","title":"User Prompt"},"output_schema":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Output Schema"},"result":{"anyOf":[{"type":"object"},{},{"type":"null"}],"title":"Result"},"status":{"$ref":"#/components/schemas/SmartscraperStatus","default":"processing"},"requested_at":{"type":"string","format":"date-time","title":"Requested At"},"finished_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Finished At"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"metadata":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Metadata"},"request_params":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Request Params"}},"type":"object","required":["request_id","user_prompt","requested_at"],"title":"SmartscraperRequestDB","description":"Database model for smart scraper requests."},"SmartscraperStatus":{"type":"string","enum":["queued","processing","completed","failed"],"title":"SmartscraperStatus"},"StepResult":{"properties":{"step_index":{"type":"integer","title":"Step Index"},"step_type":{"$ref":"#/components/schemas/StepType"},"success":{"type":"boolean","title":"Success"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"data":{"anyOf":[{"type":"object"},{"type":"null"}],"title":"Data"},"duration_seconds":{"type":"number","title":"Duration Seconds"}},"type":"object","required":["step_index","step_type","success","duration_seconds"],"title":"StepResult","description":"Result of a single step execution"},"StepType":{"type":"string","enum":["navigate","action","extract","loop","conditional","subworkflow","wait","extract_markdown"],"title":"StepType","description":"Types of workflow steps"},"SubWorkflowStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"subworkflow"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"ID of saved workflow to execute"},"workflow":{"anyOf":[{"$ref":"#/components/schemas/WorkflowDefinition"},{"type":"null"}],"description":"Inline workflow definition"},"input_mapping":{"additionalProperties":{"type":"string"},"type":"object","title":"Input Mapping","description":"Map parent context variables to subworkflow variables (e.g., {'url': '{{current_link}}'})"},"output_mapping":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Output Mapping","description":"Map subworkflow output variables back to parent context"}},"type":"object","title":"SubWorkflowStep","description":"Execute a subworkflow"},"TimeRange":{"type":"string","enum":["past_hour","past_24_hours","past_week","past_month","past_year"],"title":"TimeRange"},"TimelineEntry":{"properties":{"service":{"type":"string","title":"Service"},"timestamp":{"type":"string","title":"Timestamp"}},"type":"object","required":["service","timestamp"],"title":"TimelineEntry"},"UsageTimelineResponse":{"properties":{"timeline":{"items":{"$ref":"#/components/schemas/TimelineEntry"},"type":"array","title":"Timeline"}},"type":"object","required":["timeline"],"title":"UsageTimelineResponse"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WaitStep":{"properties":{"type":{"$ref":"#/components/schemas/StepType","default":"wait"},"duration":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Duration","description":"Seconds to wait"},"for_selector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Selector","description":"CSS selector to wait for"},"for_condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"For Condition","description":"JavaScript condition to wait for"}},"type":"object","title":"WaitStep","description":"Wait for a condition or time"},"WorkflowDefinition":{"properties":{"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id","description":"Unique workflow identifier"},"name":{"type":"string","title":"Name","description":"Human-readable workflow name"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description","description":"Workflow description"},"start_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Start Url","description":"Initial URL to navigate to (can be overridden)"},"use_session":{"type":"boolean","title":"Use Session","description":"Whether to use persistent browser session","default":false},"steps":{"items":{"anyOf":[{"$ref":"#/components/schemas/NavigationStep"},{"$ref":"#/components/schemas/ActionStep"},{"$ref":"#/components/schemas/ExtractionStep"},{"$ref":"#/components/schemas/MarkdownExtractionStep"},{"$ref":"#/components/schemas/LoopStep"},{"$ref":"#/components/schemas/ConditionalStep"},{"$ref":"#/components/schemas/SubWorkflowStep"},{"$ref":"#/components/schemas/WaitStep"}]},"type":"array","title":"Steps","description":"Ordered list of workflow steps"},"initial_context":{"type":"object","title":"Initial Context","description":"Initial variables/context (e.g., {'email': 'user@example.com', 'password': 'secret'})"},"output_variables":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Output Variables","description":"List of variables to include in final output"}},"type":"object","required":["name","steps"],"title":"WorkflowDefinition","description":"Main workflow definition"},"WorkflowExecutionResult":{"properties":{"request_id":{"type":"string","title":"Request Id"},"workflow_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Workflow Id"},"success":{"type":"boolean","title":"Success"},"steps_executed":{"items":{"$ref":"#/components/schemas/StepResult"},"type":"array","title":"Steps Executed"},"total_duration_seconds":{"type":"number","title":"Total Duration Seconds"},"final_context":{"type":"object","title":"Final Context","description":"Final workflow context with all variables"},"output":{"type":"object","title":"Output","description":"Filtered output based on output_variables"},"final_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Url"},"final_html":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Final Html"},"session_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Id"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"}},"type":"object","required":["request_id","workflow_id","success","steps_executed","total_duration_seconds"],"title":"WorkflowExecutionResult","description":"Result of workflow execution"}}}} \ No newline at end of file