diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 2561e42..cfae19d 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -11,6 +11,7 @@ api_ai_inference.go api_ai_models.go api_ai_monitoring.go api_ai_orchestrations.go +api_ai_search.go api_ai_sessions.go api_ai_skills.go api_ai_slack_bots.go @@ -51,6 +52,7 @@ docs/AIInferenceAPI.md docs/AIModelsAPI.md docs/AIMonitoringAPI.md docs/AIOrchestrationsAPI.md +docs/AISearchAPI.md docs/AISessionsAPI.md docs/AISkillsAPI.md docs/AISlackBotsAPI.md @@ -58,6 +60,14 @@ docs/AITaskManagementAPI.md docs/AIToolsAPI.md docs/AIUsageAPI.md docs/AIVectorDatabaseAPI.md +docs/AiSearchChatRequest.md +docs/AiSearchDeletePagesRequest.md +docs/AiSearchEnableRequest.md +docs/AiSearchIngestPagesRequest.md +docs/AiSearchIngestPagesRequestPagesInner.md +docs/AiSearchSearchRequest.md +docs/AiSearchTriggerCrawlRequest.md +docs/AiSearchUpdateSettingsRequest.md docs/Application.md docs/ApplicationDatabase.md docs/ApplicationDeploymentInformationInner.md @@ -229,6 +239,8 @@ docs/GetMyUsage200Response.md docs/GetMyUsage200ResponseDaily.md docs/GetMyUsage200ResponseMonthly.md docs/GetMyUsage200ResponseQuota.md +docs/GetMyUsage200ResponseQuotaDailyLimit.md +docs/GetMyUsage200ResponseQuotaMonthlyLimit.md docs/GetSkill200Response.md docs/GetSkill200ResponseSkill.md docs/GetSlackBot200Response.md @@ -471,6 +483,14 @@ docs/WafConfigThresholdsInner.md git_push.sh go.mod go.sum +model_ai_search_chat_request.go +model_ai_search_delete_pages_request.go +model_ai_search_enable_request.go +model_ai_search_ingest_pages_request.go +model_ai_search_ingest_pages_request_pages_inner.go +model_ai_search_search_request.go +model_ai_search_trigger_crawl_request.go +model_ai_search_update_settings_request.go model_application.go model_application_database.go model_application_deployment_information_inner.go @@ -631,6 +651,8 @@ model_get_my_usage_200_response.go model_get_my_usage_200_response_daily.go model_get_my_usage_200_response_monthly.go model_get_my_usage_200_response_quota.go +model_get_my_usage_200_response_quota_daily_limit.go +model_get_my_usage_200_response_quota_monthly_limit.go model_get_skill_200_response.go model_get_skill_200_response_skill.go model_get_slack_bot_200_response.go @@ -869,6 +891,7 @@ test/api_ai_inference_test.go test/api_ai_models_test.go test/api_ai_monitoring_test.go test/api_ai_orchestrations_test.go +test/api_ai_search_test.go test/api_ai_sessions_test.go test/api_ai_skills_test.go test/api_ai_slack_bots_test.go diff --git a/README.md b/README.md index a0a1078..aa43991 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Unified API for QuantCDN Admin and QuantCloud Platform services ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client. -- API version: 4.15.8 +- API version: 4.17.0 - Package version: 1.0.0 - Generator version: 7.13.0 - Build package: org.openapitools.codegen.languages.GoClientCodegen @@ -123,6 +123,23 @@ Class | Method | HTTP request | Description *AIOrchestrationsAPI* | [**PauseOrchestration**](docs/AIOrchestrationsAPI.md#pauseorchestration) | **Post** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/pause | Pause Durable Orchestration *AIOrchestrationsAPI* | [**ResumeOrchestration**](docs/AIOrchestrationsAPI.md#resumeorchestration) | **Post** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/resume | Resume Durable Orchestration *AIOrchestrationsAPI* | [**StartOrchestration**](docs/AIOrchestrationsAPI.md#startorchestration) | **Post** /api/v3/organizations/{organisation}/ai/orchestrations/{orchestrationId}/start | Start Durable Orchestration +*AISearchAPI* | [**AiSearchChat**](docs/AISearchAPI.md#aisearchchat) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/chat | RAG chat with AI Search content +*AISearchAPI* | [**AiSearchDeletePages**](docs/AISearchAPI.md#aisearchdeletepages) | **Delete** /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages | Delete pages by URLs or patterns +*AISearchAPI* | [**AiSearchDisable**](docs/AISearchAPI.md#aisearchdisable) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/disable | Disable AI Search for a project +*AISearchAPI* | [**AiSearchEnable**](docs/AISearchAPI.md#aisearchenable) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/enable | Enable AI Search for a project +*AISearchAPI* | [**AiSearchGetCrawl**](docs/AISearchAPI.md#aisearchgetcrawl) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId} | Get AI Search ingest job status +*AISearchAPI* | [**AiSearchGetCrawlPages**](docs/AISearchAPI.md#aisearchgetcrawlpages) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId}/pages | Get per-page ingest results for a crawl job +*AISearchAPI* | [**AiSearchGetSettings**](docs/AISearchAPI.md#aisearchgetsettings) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/settings | Get AI Search public access and rate limit settings +*AISearchAPI* | [**AiSearchIngestPages**](docs/AISearchAPI.md#aisearchingestpages) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages | Ingest pages into the AI Search index +*AISearchAPI* | [**AiSearchListCrawls**](docs/AISearchAPI.md#aisearchlistcrawls) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls | List AI Search ingest jobs +*AISearchAPI* | [**AiSearchListPages**](docs/AISearchAPI.md#aisearchlistpages) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages | List indexed pages with cursor pagination +*AISearchAPI* | [**AiSearchPurgeIndex**](docs/AISearchAPI.md#aisearchpurgeindex) | **Delete** /api/v3/organisations/{organisation}/projects/{project}/ai-search/index | Purge the entire AI Search index +*AISearchAPI* | [**AiSearchSearch**](docs/AISearchAPI.md#aisearchsearch) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/search | Semantic search across the AI Search index +*AISearchAPI* | [**AiSearchStatus**](docs/AISearchAPI.md#aisearchstatus) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search | Get AI Search status for a project +*AISearchAPI* | [**AiSearchTopQueries**](docs/AISearchAPI.md#aisearchtopqueries) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/top-queries | Get the most popular AI Search queries +*AISearchAPI* | [**AiSearchTriggerCrawl**](docs/AISearchAPI.md#aisearchtriggercrawl) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls | Trigger a crawler run that ingests into AI Search +*AISearchAPI* | [**AiSearchUpdateSettings**](docs/AISearchAPI.md#aisearchupdatesettings) | **Put** /api/v3/organisations/{organisation}/projects/{project}/ai-search/settings | Update AI Search public access and rate limit settings +*AISearchAPI* | [**AiSearchUsage**](docs/AISearchAPI.md#aisearchusage) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/usage | Get usage statistics for the AI Search site *AISessionsAPI* | [**CreateAISession**](docs/AISessionsAPI.md#createaisession) | **Post** /api/v3/organizations/{organisation}/ai/sessions | Create a new chat session with multi-tenant isolation *AISessionsAPI* | [**DeleteAISession**](docs/AISessionsAPI.md#deleteaisession) | **Delete** /api/v3/organizations/{organisation}/ai/sessions/{sessionId} | Delete a chat session *AISessionsAPI* | [**ExtendAISession**](docs/AISessionsAPI.md#extendaisession) | **Put** /api/v3/organizations/{organisation}/ai/sessions/{sessionId}/extend | Extend Session Expiration @@ -308,6 +325,14 @@ Class | Method | HTTP request | Description ## Documentation For Models + - [AiSearchChatRequest](docs/AiSearchChatRequest.md) + - [AiSearchDeletePagesRequest](docs/AiSearchDeletePagesRequest.md) + - [AiSearchEnableRequest](docs/AiSearchEnableRequest.md) + - [AiSearchIngestPagesRequest](docs/AiSearchIngestPagesRequest.md) + - [AiSearchIngestPagesRequestPagesInner](docs/AiSearchIngestPagesRequestPagesInner.md) + - [AiSearchSearchRequest](docs/AiSearchSearchRequest.md) + - [AiSearchTriggerCrawlRequest](docs/AiSearchTriggerCrawlRequest.md) + - [AiSearchUpdateSettingsRequest](docs/AiSearchUpdateSettingsRequest.md) - [Application](docs/Application.md) - [ApplicationDatabase](docs/ApplicationDatabase.md) - [ApplicationDeploymentInformationInner](docs/ApplicationDeploymentInformationInner.md) @@ -468,6 +493,8 @@ Class | Method | HTTP request | Description - [GetMyUsage200ResponseDaily](docs/GetMyUsage200ResponseDaily.md) - [GetMyUsage200ResponseMonthly](docs/GetMyUsage200ResponseMonthly.md) - [GetMyUsage200ResponseQuota](docs/GetMyUsage200ResponseQuota.md) + - [GetMyUsage200ResponseQuotaDailyLimit](docs/GetMyUsage200ResponseQuotaDailyLimit.md) + - [GetMyUsage200ResponseQuotaMonthlyLimit](docs/GetMyUsage200ResponseQuotaMonthlyLimit.md) - [GetSkill200Response](docs/GetSkill200Response.md) - [GetSkill200ResponseSkill](docs/GetSkill200ResponseSkill.md) - [GetSlackBot200Response](docs/GetSlackBot200Response.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index d0aba49..e63113f 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: description: Unified API for QuantCDN Admin and QuantCloud Platform services title: QuantCDN API - version: 4.15.8 + version: 4.17.0 servers: - description: QuantCDN Public Cloud url: https://dashboard.quantcdn.io @@ -26,6 +26,9 @@ tags: name: AI Monitoring - description: Durable batch processing orchestrations with pause/resume support name: AI Orchestrations +- description: "Project-scoped AI Search: site lifecycle, page ingest, semantic search,\ + \ RAG chat, analytics, and crawl monitoring" + name: AI Search - description: Conversation session management for multi-turn interactions name: AI Sessions - description: "Reusable prompts, workflows, and instructions for agents" @@ -89,6 +92,591 @@ tags: - description: AI Usage name: AI Usage paths: + /api/v3/organisations/{organisation}/projects/{project}/ai-search: + get: + operationId: AiSearch_status + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + responses: + "200": + description: Status + "401": + description: Unauthorized + "403": + description: Forbidden + "404": + description: Not found + security: + - BearerAuth: [] + summary: Get AI Search status for a project + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/enable: + post: + operationId: AiSearch_enable + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_enable_request' + required: false + responses: + "200": + description: Enabled + "400": + description: Missing base URL + "409": + description: Already enabled + security: + - BearerAuth: [] + summary: Enable AI Search for a project + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/disable: + post: + operationId: AiSearch_disable + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + responses: + "200": + description: Disabled + "404": + description: Not enabled + security: + - BearerAuth: [] + summary: Disable AI Search for a project + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/settings: + get: + operationId: AiSearch_getSettings + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + responses: + "200": + description: Settings + security: + - BearerAuth: [] + summary: Get AI Search public access and rate limit settings + tags: + - AI Search + put: + operationId: AiSearch_updateSettings + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_updateSettings_request' + required: true + responses: + "200": + description: Updated + security: + - BearerAuth: [] + summary: Update AI Search public access and rate limit settings + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages: + delete: + operationId: AiSearch_deletePages + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_deletePages_request' + required: true + responses: + "200": + description: Deleted + security: + - BearerAuth: [] + summary: Delete pages by URLs or patterns + tags: + - AI Search + get: + operationId: AiSearch_listPages + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + - explode: true + in: query + name: limit + required: false + schema: + maximum: 200 + type: integer + style: form + - explode: true + in: query + name: cursor + required: false + schema: + type: string + style: form + - explode: true + in: query + name: search + required: false + schema: + type: string + style: form + responses: + "200": + description: Pages + security: + - BearerAuth: [] + summary: List indexed pages with cursor pagination + tags: + - AI Search + post: + operationId: AiSearch_ingestPages + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_ingestPages_request' + required: true + responses: + "200": + description: Pages processed + "422": + description: Validation failed + "502": + description: Upstream failure + security: + - BearerAuth: [] + summary: Ingest pages into the AI Search index + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/index: + delete: + operationId: AiSearch_purgeIndex + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + responses: + "200": + description: Purged + security: + - BearerAuth: [] + summary: Purge the entire AI Search index + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/search: + post: + operationId: AiSearch_search + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_search_request' + required: true + responses: + "200": + description: Results + security: + - BearerAuth: [] + summary: Semantic search across the AI Search index + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/usage: + get: + operationId: AiSearch_usage + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + - explode: true + in: query + name: range + required: false + schema: + default: 30d + type: string + style: form + responses: + "200": + description: Usage + security: + - BearerAuth: [] + summary: Get usage statistics for the AI Search site + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/top-queries: + get: + operationId: AiSearch_topQueries + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + - explode: true + in: query + name: range + required: false + schema: + default: 30d + type: string + style: form + - explode: true + in: query + name: limit + required: false + schema: + maximum: 100 + type: integer + style: form + responses: + "200": + description: Top queries + security: + - BearerAuth: [] + summary: Get the most popular AI Search queries + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/chat: + post: + operationId: AiSearch_chat + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_chat_request' + required: true + responses: + "200": + description: Chat reply + security: + - BearerAuth: [] + summary: RAG chat with AI Search content + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls: + get: + operationId: AiSearch_listCrawls + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + - explode: true + in: query + name: limit + required: false + schema: + maximum: 50 + type: integer + style: form + responses: + "200": + description: Jobs + security: + - BearerAuth: [] + summary: List AI Search ingest jobs + tags: + - AI Search + post: + operationId: AiSearch_triggerCrawl + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/AiSearch_triggerCrawl_request' + required: true + responses: + "200": + description: Crawl started + security: + - BearerAuth: [] + summary: Trigger a crawler run that ingests into AI Search + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId}: + get: + operationId: AiSearch_getCrawl + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: jobId + required: true + schema: + type: string + style: simple + responses: + "200": + description: Job status + security: + - BearerAuth: [] + summary: Get AI Search ingest job status + tags: + - AI Search + /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId}/pages: + get: + operationId: AiSearch_getCrawlPages + parameters: + - explode: false + in: path + name: organisation + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: project + required: true + schema: + type: string + style: simple + - explode: false + in: path + name: jobId + required: true + schema: + type: string + style: simple + - explode: true + in: query + name: limit + required: false + schema: + type: integer + style: form + - explode: true + in: query + name: statusCode + required: false + schema: + type: integer + style: form + - explode: true + in: query + name: processingStatus + required: false + schema: + type: string + style: form + responses: + "200": + description: Pages + security: + - BearerAuth: [] + summary: Get per-page ingest results for a crawl job + tags: + - AI Search /api/v2/organizations/{organization}/projects/{project}/crawlers/{crawler}/schedules: get: operationId: CrawlerSchedules_list @@ -16770,6 +17358,109 @@ components: $ref: '#/components/schemas/WafConfig_thresholds_inner' type: array type: object + AiSearch_enable_request: + properties: + baseUrl: + format: uri + type: string + crawlerConfig: + type: object + type: object + AiSearch_updateSettings_request: + properties: + publicAccess: + type: object + rateLimits: + type: object + type: object + AiSearch_ingestPages_request_pages_inner: + properties: + url: + format: uri + type: string + title: + type: string + content: + type: string + contentType: + type: string + fetchedAt: + type: string + preProcessed: + type: boolean + summary: + type: string + tags: + items: + type: string + type: array + topics: + items: + type: string + type: array + required: + - content + - title + - url + type: object + AiSearch_ingestPages_request: + properties: + jobId: + type: string + pages: + items: + $ref: '#/components/schemas/AiSearch_ingestPages_request_pages_inner' + type: array + required: + - pages + type: object + AiSearch_deletePages_request: + properties: + urls: + items: + format: uri + type: string + type: array + patterns: + items: + type: string + type: array + type: object + AiSearch_search_request: + properties: + query: + type: string + limit: + maximum: 50 + type: integer + minScore: + type: number + required: + - query + type: object + AiSearch_chat_request: + properties: + message: + type: string + sessionId: + type: string + contextUrl: + format: uri + type: string + maxContextChunks: + maximum: 20 + type: integer + required: + - message + type: object + AiSearch_triggerCrawl_request: + properties: + crawler_uuid: + format: uuid + type: string + required: + - crawler_uuid + type: object Crawlers_run_request: properties: urls: @@ -20262,7 +20953,7 @@ components: listCustomTools_200_response_tools_inner: example: createdAt: 2000-01-23T04:56:07.000+00:00 - inputSchema: "{}" + inputSchema: inputSchema isAsync: false name: check_inventory description: Check product inventory levels @@ -20281,7 +20972,7 @@ components: example: false type: boolean inputSchema: - type: object + type: string createdAt: format: date-time type: string @@ -20291,13 +20982,13 @@ components: count: 0 tools: - createdAt: 2000-01-23T04:56:07.000+00:00 - inputSchema: "{}" + inputSchema: inputSchema isAsync: false name: check_inventory description: Check product inventory levels edgeFunctionUrl: https://my-edge-function.quant.cloud - createdAt: 2000-01-23T04:56:07.000+00:00 - inputSchema: "{}" + inputSchema: inputSchema isAsync: false name: check_inventory description: Check product inventory levels @@ -20324,8 +21015,8 @@ components: description: JavaScript source code for the edge function type: string inputSchema: - description: JSON Schema defining the tool's input parameters - type: object + description: JSON-encoded JSON Schema object defining the tool's input parameters + type: string isAsync: default: false description: Whether this tool runs asynchronously (>5 seconds) @@ -20337,9 +21028,10 @@ components: minimum: 5 type: integer outputSchema: - description: JSON Schema defining the tool's output structure + description: JSON-encoded JSON Schema object defining the tool's output + structure nullable: true - type: object + type: string outputSchemaDescription: description: Human-readable description of the tool's output nullable: true @@ -20395,9 +21087,9 @@ components: example: responseMode: llm createdAt: 2000-01-23T04:56:07.000+00:00 - outputSchema: "{}" + outputSchema: outputSchema outputSchemaDescription: outputSchemaDescription - inputSchema: "{}" + inputSchema: inputSchema isAsync: false name: check_inventory description: Check product inventory levels @@ -20421,10 +21113,10 @@ components: example: false type: boolean inputSchema: - type: object + type: string outputSchema: nullable: true - type: object + type: string outputSchemaDescription: nullable: true type: string @@ -20446,9 +21138,9 @@ components: tool: responseMode: llm createdAt: 2000-01-23T04:56:07.000+00:00 - outputSchema: "{}" + outputSchema: outputSchema outputSchemaDescription: outputSchemaDescription - inputSchema: "{}" + inputSchema: inputSchema isAsync: false name: check_inventory description: Check product inventory levels @@ -22683,28 +23375,84 @@ components: spendCents: type: integer type: object + getMyUsage_200_response_quota_monthlyLimit: + description: "Per-user monthly spend cap (object form, present when an org-level\ + \ perUserMonthlyBudget is configured)" + example: + usedPercent: 5.637377 + remainingCents: 2 + limitCents: 5 + nullable: true + properties: + limitCents: + description: The configured monthly cap in US cents + type: integer + usedPercent: + description: Percentage of the cap consumed this month (0–100+) + format: float + type: number + remainingCents: + description: Cents remaining before the cap is hit; can be negative if overspent + type: integer + type: object + getMyUsage_200_response_quota_dailyLimit: + description: "Per-user daily spend cap (object form, present when an org-level\ + \ perUserDailyBudget is configured)" + example: + usedPercent: 9.301444 + remainingCents: 3 + resetsAt: 2000-01-23T04:56:07.000+00:00 + limitCents: 7 + nullable: true + properties: + limitCents: + description: The configured daily cap in US cents + type: integer + usedPercent: + description: Percentage of the cap consumed today (0–100+) + format: float + type: number + remainingCents: + description: Cents remaining before the cap is hit; can be negative if overspent + type: integer + resetsAt: + description: UTC timestamp when the daily counter resets (always next UTC + midnight) + format: date-time + type: string + type: object getMyUsage_200_response_quota: example: - dailyLimit: 5 - monthlyLimit: 5 + dailyLimit: + usedPercent: 9.301444 + remainingCents: 3 + resetsAt: 2000-01-23T04:56:07.000+00:00 + limitCents: 7 + monthlyLimit: + usedPercent: 5.637377 + remainingCents: 2 + limitCents: 5 nullable: true properties: monthlyLimit: - description: Per-user monthly budget in US cents - nullable: true - type: integer + $ref: '#/components/schemas/getMyUsage_200_response_quota_monthlyLimit' dailyLimit: - description: Per-user daily budget in US cents - nullable: true - type: integer + $ref: '#/components/schemas/getMyUsage_200_response_quota_dailyLimit' type: object getMyUsage_200_response: example: daily: spendCents: 1 quota: - dailyLimit: 5 - monthlyLimit: 5 + dailyLimit: + usedPercent: 9.301444 + remainingCents: 3 + resetsAt: 2000-01-23T04:56:07.000+00:00 + limitCents: 7 + monthlyLimit: + usedPercent: 5.637377 + remainingCents: 2 + limitCents: 5 monthly: requestCount: 6 spendCents: 0 diff --git a/api_ai_agents.go b/api_ai_agents.go index 5fc1cde..a4bef20 100644 --- a/api_ai_agents.go +++ b/api_ai_agents.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_custom_tools.go b/api_ai_custom_tools.go index e601b87..b993248 100644 --- a/api_ai_custom_tools.go +++ b/api_ai_custom_tools.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_file_storage.go b/api_ai_file_storage.go index 6fe1e1c..a7a1451 100644 --- a/api_ai_file_storage.go +++ b/api_ai_file_storage.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_filter_policies.go b/api_ai_filter_policies.go index dde5c37..99d5b54 100644 --- a/api_ai_filter_policies.go +++ b/api_ai_filter_policies.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_governance.go b/api_ai_governance.go index 4fd0640..7b73c10 100644 --- a/api_ai_governance.go +++ b/api_ai_governance.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_inference.go b/api_ai_inference.go index b8338b0..e8b6b28 100644 --- a/api_ai_inference.go +++ b/api_ai_inference.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_models.go b/api_ai_models.go index ca273ae..954a259 100644 --- a/api_ai_models.go +++ b/api_ai_models.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_monitoring.go b/api_ai_monitoring.go index 2f1b735..a42843d 100644 --- a/api_ai_monitoring.go +++ b/api_ai_monitoring.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_orchestrations.go b/api_ai_orchestrations.go index 9bbd78a..8c4f47e 100644 --- a/api_ai_orchestrations.go +++ b/api_ai_orchestrations.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_search.go b/api_ai_search.go new file mode 100644 index 0000000..ef7401e --- /dev/null +++ b/api_ai_search.go @@ -0,0 +1,2026 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" + "strings" +) + + +type AISearchAPI interface { + + /* + AiSearchChat RAG chat with AI Search content + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchChatRequest + */ + AiSearchChat(ctx context.Context, organisation string, project string) AISearchAPIAiSearchChatRequest + + // AiSearchChatExecute executes the request + AiSearchChatExecute(r AISearchAPIAiSearchChatRequest) (*http.Response, error) + + /* + AiSearchDeletePages Delete pages by URLs or patterns + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchDeletePagesRequest + */ + AiSearchDeletePages(ctx context.Context, organisation string, project string) AISearchAPIAiSearchDeletePagesRequest + + // AiSearchDeletePagesExecute executes the request + AiSearchDeletePagesExecute(r AISearchAPIAiSearchDeletePagesRequest) (*http.Response, error) + + /* + AiSearchDisable Disable AI Search for a project + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchDisableRequest + */ + AiSearchDisable(ctx context.Context, organisation string, project string) AISearchAPIAiSearchDisableRequest + + // AiSearchDisableExecute executes the request + AiSearchDisableExecute(r AISearchAPIAiSearchDisableRequest) (*http.Response, error) + + /* + AiSearchEnable Enable AI Search for a project + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchEnableRequest + */ + AiSearchEnable(ctx context.Context, organisation string, project string) AISearchAPIAiSearchEnableRequest + + // AiSearchEnableExecute executes the request + AiSearchEnableExecute(r AISearchAPIAiSearchEnableRequest) (*http.Response, error) + + /* + AiSearchGetCrawl Get AI Search ingest job status + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @param jobId + @return AISearchAPIAiSearchGetCrawlRequest + */ + AiSearchGetCrawl(ctx context.Context, organisation string, project string, jobId string) AISearchAPIAiSearchGetCrawlRequest + + // AiSearchGetCrawlExecute executes the request + AiSearchGetCrawlExecute(r AISearchAPIAiSearchGetCrawlRequest) (*http.Response, error) + + /* + AiSearchGetCrawlPages Get per-page ingest results for a crawl job + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @param jobId + @return AISearchAPIAiSearchGetCrawlPagesRequest + */ + AiSearchGetCrawlPages(ctx context.Context, organisation string, project string, jobId string) AISearchAPIAiSearchGetCrawlPagesRequest + + // AiSearchGetCrawlPagesExecute executes the request + AiSearchGetCrawlPagesExecute(r AISearchAPIAiSearchGetCrawlPagesRequest) (*http.Response, error) + + /* + AiSearchGetSettings Get AI Search public access and rate limit settings + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchGetSettingsRequest + */ + AiSearchGetSettings(ctx context.Context, organisation string, project string) AISearchAPIAiSearchGetSettingsRequest + + // AiSearchGetSettingsExecute executes the request + AiSearchGetSettingsExecute(r AISearchAPIAiSearchGetSettingsRequest) (*http.Response, error) + + /* + AiSearchIngestPages Ingest pages into the AI Search index + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchIngestPagesRequest + */ + AiSearchIngestPages(ctx context.Context, organisation string, project string) AISearchAPIAiSearchIngestPagesRequest + + // AiSearchIngestPagesExecute executes the request + AiSearchIngestPagesExecute(r AISearchAPIAiSearchIngestPagesRequest) (*http.Response, error) + + /* + AiSearchListCrawls List AI Search ingest jobs + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchListCrawlsRequest + */ + AiSearchListCrawls(ctx context.Context, organisation string, project string) AISearchAPIAiSearchListCrawlsRequest + + // AiSearchListCrawlsExecute executes the request + AiSearchListCrawlsExecute(r AISearchAPIAiSearchListCrawlsRequest) (*http.Response, error) + + /* + AiSearchListPages List indexed pages with cursor pagination + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchListPagesRequest + */ + AiSearchListPages(ctx context.Context, organisation string, project string) AISearchAPIAiSearchListPagesRequest + + // AiSearchListPagesExecute executes the request + AiSearchListPagesExecute(r AISearchAPIAiSearchListPagesRequest) (*http.Response, error) + + /* + AiSearchPurgeIndex Purge the entire AI Search index + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchPurgeIndexRequest + */ + AiSearchPurgeIndex(ctx context.Context, organisation string, project string) AISearchAPIAiSearchPurgeIndexRequest + + // AiSearchPurgeIndexExecute executes the request + AiSearchPurgeIndexExecute(r AISearchAPIAiSearchPurgeIndexRequest) (*http.Response, error) + + /* + AiSearchSearch Semantic search across the AI Search index + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchSearchRequest + */ + AiSearchSearch(ctx context.Context, organisation string, project string) AISearchAPIAiSearchSearchRequest + + // AiSearchSearchExecute executes the request + AiSearchSearchExecute(r AISearchAPIAiSearchSearchRequest) (*http.Response, error) + + /* + AiSearchStatus Get AI Search status for a project + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchStatusRequest + */ + AiSearchStatus(ctx context.Context, organisation string, project string) AISearchAPIAiSearchStatusRequest + + // AiSearchStatusExecute executes the request + AiSearchStatusExecute(r AISearchAPIAiSearchStatusRequest) (*http.Response, error) + + /* + AiSearchTopQueries Get the most popular AI Search queries + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchTopQueriesRequest + */ + AiSearchTopQueries(ctx context.Context, organisation string, project string) AISearchAPIAiSearchTopQueriesRequest + + // AiSearchTopQueriesExecute executes the request + AiSearchTopQueriesExecute(r AISearchAPIAiSearchTopQueriesRequest) (*http.Response, error) + + /* + AiSearchTriggerCrawl Trigger a crawler run that ingests into AI Search + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchTriggerCrawlRequest + */ + AiSearchTriggerCrawl(ctx context.Context, organisation string, project string) AISearchAPIAiSearchTriggerCrawlRequest + + // AiSearchTriggerCrawlExecute executes the request + AiSearchTriggerCrawlExecute(r AISearchAPIAiSearchTriggerCrawlRequest) (*http.Response, error) + + /* + AiSearchUpdateSettings Update AI Search public access and rate limit settings + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchUpdateSettingsRequest + */ + AiSearchUpdateSettings(ctx context.Context, organisation string, project string) AISearchAPIAiSearchUpdateSettingsRequest + + // AiSearchUpdateSettingsExecute executes the request + AiSearchUpdateSettingsExecute(r AISearchAPIAiSearchUpdateSettingsRequest) (*http.Response, error) + + /* + AiSearchUsage Get usage statistics for the AI Search site + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchUsageRequest + */ + AiSearchUsage(ctx context.Context, organisation string, project string) AISearchAPIAiSearchUsageRequest + + // AiSearchUsageExecute executes the request + AiSearchUsageExecute(r AISearchAPIAiSearchUsageRequest) (*http.Response, error) +} + +// AISearchAPIService AISearchAPI service +type AISearchAPIService service + +type AISearchAPIAiSearchChatRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchChatRequest *AiSearchChatRequest +} + +func (r AISearchAPIAiSearchChatRequest) AiSearchChatRequest(aiSearchChatRequest AiSearchChatRequest) AISearchAPIAiSearchChatRequest { + r.aiSearchChatRequest = &aiSearchChatRequest + return r +} + +func (r AISearchAPIAiSearchChatRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchChatExecute(r) +} + +/* +AiSearchChat RAG chat with AI Search content + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchChatRequest +*/ +func (a *AISearchAPIService) AiSearchChat(ctx context.Context, organisation string, project string) AISearchAPIAiSearchChatRequest { + return AISearchAPIAiSearchChatRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchChatExecute(r AISearchAPIAiSearchChatRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchChat") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/chat" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.aiSearchChatRequest == nil { + return nil, reportError("aiSearchChatRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchChatRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchDeletePagesRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchDeletePagesRequest *AiSearchDeletePagesRequest +} + +func (r AISearchAPIAiSearchDeletePagesRequest) AiSearchDeletePagesRequest(aiSearchDeletePagesRequest AiSearchDeletePagesRequest) AISearchAPIAiSearchDeletePagesRequest { + r.aiSearchDeletePagesRequest = &aiSearchDeletePagesRequest + return r +} + +func (r AISearchAPIAiSearchDeletePagesRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchDeletePagesExecute(r) +} + +/* +AiSearchDeletePages Delete pages by URLs or patterns + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchDeletePagesRequest +*/ +func (a *AISearchAPIService) AiSearchDeletePages(ctx context.Context, organisation string, project string) AISearchAPIAiSearchDeletePagesRequest { + return AISearchAPIAiSearchDeletePagesRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchDeletePagesExecute(r AISearchAPIAiSearchDeletePagesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchDeletePages") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/pages" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.aiSearchDeletePagesRequest == nil { + return nil, reportError("aiSearchDeletePagesRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchDeletePagesRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchDisableRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string +} + +func (r AISearchAPIAiSearchDisableRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchDisableExecute(r) +} + +/* +AiSearchDisable Disable AI Search for a project + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchDisableRequest +*/ +func (a *AISearchAPIService) AiSearchDisable(ctx context.Context, organisation string, project string) AISearchAPIAiSearchDisableRequest { + return AISearchAPIAiSearchDisableRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchDisableExecute(r AISearchAPIAiSearchDisableRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchDisable") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/disable" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchEnableRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchEnableRequest *AiSearchEnableRequest +} + +func (r AISearchAPIAiSearchEnableRequest) AiSearchEnableRequest(aiSearchEnableRequest AiSearchEnableRequest) AISearchAPIAiSearchEnableRequest { + r.aiSearchEnableRequest = &aiSearchEnableRequest + return r +} + +func (r AISearchAPIAiSearchEnableRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchEnableExecute(r) +} + +/* +AiSearchEnable Enable AI Search for a project + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchEnableRequest +*/ +func (a *AISearchAPIService) AiSearchEnable(ctx context.Context, organisation string, project string) AISearchAPIAiSearchEnableRequest { + return AISearchAPIAiSearchEnableRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchEnableExecute(r AISearchAPIAiSearchEnableRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchEnable") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/enable" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchEnableRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchGetCrawlRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + jobId string +} + +func (r AISearchAPIAiSearchGetCrawlRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchGetCrawlExecute(r) +} + +/* +AiSearchGetCrawl Get AI Search ingest job status + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @param jobId + @return AISearchAPIAiSearchGetCrawlRequest +*/ +func (a *AISearchAPIService) AiSearchGetCrawl(ctx context.Context, organisation string, project string, jobId string) AISearchAPIAiSearchGetCrawlRequest { + return AISearchAPIAiSearchGetCrawlRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + jobId: jobId, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchGetCrawlExecute(r AISearchAPIAiSearchGetCrawlRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchGetCrawl") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId}" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"jobId"+"}", url.PathEscape(parameterValueToString(r.jobId, "jobId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchGetCrawlPagesRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + jobId string + limit *int32 + statusCode *int32 + processingStatus *string +} + +func (r AISearchAPIAiSearchGetCrawlPagesRequest) Limit(limit int32) AISearchAPIAiSearchGetCrawlPagesRequest { + r.limit = &limit + return r +} + +func (r AISearchAPIAiSearchGetCrawlPagesRequest) StatusCode(statusCode int32) AISearchAPIAiSearchGetCrawlPagesRequest { + r.statusCode = &statusCode + return r +} + +func (r AISearchAPIAiSearchGetCrawlPagesRequest) ProcessingStatus(processingStatus string) AISearchAPIAiSearchGetCrawlPagesRequest { + r.processingStatus = &processingStatus + return r +} + +func (r AISearchAPIAiSearchGetCrawlPagesRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchGetCrawlPagesExecute(r) +} + +/* +AiSearchGetCrawlPages Get per-page ingest results for a crawl job + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @param jobId + @return AISearchAPIAiSearchGetCrawlPagesRequest +*/ +func (a *AISearchAPIService) AiSearchGetCrawlPages(ctx context.Context, organisation string, project string, jobId string) AISearchAPIAiSearchGetCrawlPagesRequest { + return AISearchAPIAiSearchGetCrawlPagesRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + jobId: jobId, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchGetCrawlPagesExecute(r AISearchAPIAiSearchGetCrawlPagesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchGetCrawlPages") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId}/pages" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"jobId"+"}", url.PathEscape(parameterValueToString(r.jobId, "jobId")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") + } + if r.statusCode != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "statusCode", r.statusCode, "form", "") + } + if r.processingStatus != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "processingStatus", r.processingStatus, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchGetSettingsRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string +} + +func (r AISearchAPIAiSearchGetSettingsRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchGetSettingsExecute(r) +} + +/* +AiSearchGetSettings Get AI Search public access and rate limit settings + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchGetSettingsRequest +*/ +func (a *AISearchAPIService) AiSearchGetSettings(ctx context.Context, organisation string, project string) AISearchAPIAiSearchGetSettingsRequest { + return AISearchAPIAiSearchGetSettingsRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchGetSettingsExecute(r AISearchAPIAiSearchGetSettingsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchGetSettings") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/settings" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchIngestPagesRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchIngestPagesRequest *AiSearchIngestPagesRequest +} + +func (r AISearchAPIAiSearchIngestPagesRequest) AiSearchIngestPagesRequest(aiSearchIngestPagesRequest AiSearchIngestPagesRequest) AISearchAPIAiSearchIngestPagesRequest { + r.aiSearchIngestPagesRequest = &aiSearchIngestPagesRequest + return r +} + +func (r AISearchAPIAiSearchIngestPagesRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchIngestPagesExecute(r) +} + +/* +AiSearchIngestPages Ingest pages into the AI Search index + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchIngestPagesRequest +*/ +func (a *AISearchAPIService) AiSearchIngestPages(ctx context.Context, organisation string, project string) AISearchAPIAiSearchIngestPagesRequest { + return AISearchAPIAiSearchIngestPagesRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchIngestPagesExecute(r AISearchAPIAiSearchIngestPagesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchIngestPages") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/pages" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.aiSearchIngestPagesRequest == nil { + return nil, reportError("aiSearchIngestPagesRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchIngestPagesRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchListCrawlsRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + limit *int32 +} + +func (r AISearchAPIAiSearchListCrawlsRequest) Limit(limit int32) AISearchAPIAiSearchListCrawlsRequest { + r.limit = &limit + return r +} + +func (r AISearchAPIAiSearchListCrawlsRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchListCrawlsExecute(r) +} + +/* +AiSearchListCrawls List AI Search ingest jobs + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchListCrawlsRequest +*/ +func (a *AISearchAPIService) AiSearchListCrawls(ctx context.Context, organisation string, project string) AISearchAPIAiSearchListCrawlsRequest { + return AISearchAPIAiSearchListCrawlsRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchListCrawlsExecute(r AISearchAPIAiSearchListCrawlsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchListCrawls") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchListPagesRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + limit *int32 + cursor *string + search *string +} + +func (r AISearchAPIAiSearchListPagesRequest) Limit(limit int32) AISearchAPIAiSearchListPagesRequest { + r.limit = &limit + return r +} + +func (r AISearchAPIAiSearchListPagesRequest) Cursor(cursor string) AISearchAPIAiSearchListPagesRequest { + r.cursor = &cursor + return r +} + +func (r AISearchAPIAiSearchListPagesRequest) Search(search string) AISearchAPIAiSearchListPagesRequest { + r.search = &search + return r +} + +func (r AISearchAPIAiSearchListPagesRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchListPagesExecute(r) +} + +/* +AiSearchListPages List indexed pages with cursor pagination + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchListPagesRequest +*/ +func (a *AISearchAPIService) AiSearchListPages(ctx context.Context, organisation string, project string) AISearchAPIAiSearchListPagesRequest { + return AISearchAPIAiSearchListPagesRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchListPagesExecute(r AISearchAPIAiSearchListPagesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchListPages") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/pages" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") + } + if r.cursor != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "cursor", r.cursor, "form", "") + } + if r.search != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "search", r.search, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchPurgeIndexRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string +} + +func (r AISearchAPIAiSearchPurgeIndexRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchPurgeIndexExecute(r) +} + +/* +AiSearchPurgeIndex Purge the entire AI Search index + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchPurgeIndexRequest +*/ +func (a *AISearchAPIService) AiSearchPurgeIndex(ctx context.Context, organisation string, project string) AISearchAPIAiSearchPurgeIndexRequest { + return AISearchAPIAiSearchPurgeIndexRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchPurgeIndexExecute(r AISearchAPIAiSearchPurgeIndexRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodDelete + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchPurgeIndex") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/index" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchSearchRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchSearchRequest *AiSearchSearchRequest +} + +func (r AISearchAPIAiSearchSearchRequest) AiSearchSearchRequest(aiSearchSearchRequest AiSearchSearchRequest) AISearchAPIAiSearchSearchRequest { + r.aiSearchSearchRequest = &aiSearchSearchRequest + return r +} + +func (r AISearchAPIAiSearchSearchRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchSearchExecute(r) +} + +/* +AiSearchSearch Semantic search across the AI Search index + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchSearchRequest +*/ +func (a *AISearchAPIService) AiSearchSearch(ctx context.Context, organisation string, project string) AISearchAPIAiSearchSearchRequest { + return AISearchAPIAiSearchSearchRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchSearchExecute(r AISearchAPIAiSearchSearchRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchSearch") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/search" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.aiSearchSearchRequest == nil { + return nil, reportError("aiSearchSearchRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchSearchRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchStatusRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string +} + +func (r AISearchAPIAiSearchStatusRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchStatusExecute(r) +} + +/* +AiSearchStatus Get AI Search status for a project + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchStatusRequest +*/ +func (a *AISearchAPIService) AiSearchStatus(ctx context.Context, organisation string, project string) AISearchAPIAiSearchStatusRequest { + return AISearchAPIAiSearchStatusRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchStatusExecute(r AISearchAPIAiSearchStatusRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchStatus") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchTopQueriesRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + range_ *string + limit *int32 +} + +func (r AISearchAPIAiSearchTopQueriesRequest) Range_(range_ string) AISearchAPIAiSearchTopQueriesRequest { + r.range_ = &range_ + return r +} + +func (r AISearchAPIAiSearchTopQueriesRequest) Limit(limit int32) AISearchAPIAiSearchTopQueriesRequest { + r.limit = &limit + return r +} + +func (r AISearchAPIAiSearchTopQueriesRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchTopQueriesExecute(r) +} + +/* +AiSearchTopQueries Get the most popular AI Search queries + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchTopQueriesRequest +*/ +func (a *AISearchAPIService) AiSearchTopQueries(ctx context.Context, organisation string, project string) AISearchAPIAiSearchTopQueriesRequest { + return AISearchAPIAiSearchTopQueriesRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchTopQueriesExecute(r AISearchAPIAiSearchTopQueriesRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchTopQueries") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/top-queries" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.range_ != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "range", r.range_, "form", "") + } else { + var defaultValue string = "30d" + r.range_ = &defaultValue + } + if r.limit != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "limit", r.limit, "form", "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchTriggerCrawlRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchTriggerCrawlRequest *AiSearchTriggerCrawlRequest +} + +func (r AISearchAPIAiSearchTriggerCrawlRequest) AiSearchTriggerCrawlRequest(aiSearchTriggerCrawlRequest AiSearchTriggerCrawlRequest) AISearchAPIAiSearchTriggerCrawlRequest { + r.aiSearchTriggerCrawlRequest = &aiSearchTriggerCrawlRequest + return r +} + +func (r AISearchAPIAiSearchTriggerCrawlRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchTriggerCrawlExecute(r) +} + +/* +AiSearchTriggerCrawl Trigger a crawler run that ingests into AI Search + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchTriggerCrawlRequest +*/ +func (a *AISearchAPIService) AiSearchTriggerCrawl(ctx context.Context, organisation string, project string) AISearchAPIAiSearchTriggerCrawlRequest { + return AISearchAPIAiSearchTriggerCrawlRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchTriggerCrawlExecute(r AISearchAPIAiSearchTriggerCrawlRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPost + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchTriggerCrawl") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.aiSearchTriggerCrawlRequest == nil { + return nil, reportError("aiSearchTriggerCrawlRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchTriggerCrawlRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchUpdateSettingsRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + aiSearchUpdateSettingsRequest *AiSearchUpdateSettingsRequest +} + +func (r AISearchAPIAiSearchUpdateSettingsRequest) AiSearchUpdateSettingsRequest(aiSearchUpdateSettingsRequest AiSearchUpdateSettingsRequest) AISearchAPIAiSearchUpdateSettingsRequest { + r.aiSearchUpdateSettingsRequest = &aiSearchUpdateSettingsRequest + return r +} + +func (r AISearchAPIAiSearchUpdateSettingsRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchUpdateSettingsExecute(r) +} + +/* +AiSearchUpdateSettings Update AI Search public access and rate limit settings + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchUpdateSettingsRequest +*/ +func (a *AISearchAPIService) AiSearchUpdateSettings(ctx context.Context, organisation string, project string) AISearchAPIAiSearchUpdateSettingsRequest { + return AISearchAPIAiSearchUpdateSettingsRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchUpdateSettingsExecute(r AISearchAPIAiSearchUpdateSettingsRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodPut + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchUpdateSettings") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/settings" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + if r.aiSearchUpdateSettingsRequest == nil { + return nil, reportError("aiSearchUpdateSettingsRequest is required and must be specified") + } + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{"application/json"} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + // body params + localVarPostBody = r.aiSearchUpdateSettingsRequest + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} + +type AISearchAPIAiSearchUsageRequest struct { + ctx context.Context + ApiService AISearchAPI + organisation string + project string + range_ *string +} + +func (r AISearchAPIAiSearchUsageRequest) Range_(range_ string) AISearchAPIAiSearchUsageRequest { + r.range_ = &range_ + return r +} + +func (r AISearchAPIAiSearchUsageRequest) Execute() (*http.Response, error) { + return r.ApiService.AiSearchUsageExecute(r) +} + +/* +AiSearchUsage Get usage statistics for the AI Search site + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param organisation + @param project + @return AISearchAPIAiSearchUsageRequest +*/ +func (a *AISearchAPIService) AiSearchUsage(ctx context.Context, organisation string, project string) AISearchAPIAiSearchUsageRequest { + return AISearchAPIAiSearchUsageRequest{ + ApiService: a, + ctx: ctx, + organisation: organisation, + project: project, + } +} + +// Execute executes the request +func (a *AISearchAPIService) AiSearchUsageExecute(r AISearchAPIAiSearchUsageRequest) (*http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "AISearchAPIService.AiSearchUsage") + if err != nil { + return nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/v3/organisations/{organisation}/projects/{project}/ai-search/usage" + localVarPath = strings.Replace(localVarPath, "{"+"organisation"+"}", url.PathEscape(parameterValueToString(r.organisation, "organisation")), -1) + localVarPath = strings.Replace(localVarPath, "{"+"project"+"}", url.PathEscape(parameterValueToString(r.project, "project")), -1) + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.range_ != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "range", r.range_, "form", "") + } else { + var defaultValue string = "30d" + r.range_ = &defaultValue + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header + localVarHTTPHeaderAccepts := []string{} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarHTTPResponse, err + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + return localVarHTTPResponse, newErr + } + + return localVarHTTPResponse, nil +} diff --git a/api_ai_sessions.go b/api_ai_sessions.go index 3aecce5..90562e8 100644 --- a/api_ai_sessions.go +++ b/api_ai_sessions.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_skills.go b/api_ai_skills.go index 0c2d7c1..453c39d 100644 --- a/api_ai_skills.go +++ b/api_ai_skills.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_slack_bots.go b/api_ai_slack_bots.go index 84b0e12..dd784b6 100644 --- a/api_ai_slack_bots.go +++ b/api_ai_slack_bots.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_task_management.go b/api_ai_task_management.go index ffb4996..1e64290 100644 --- a/api_ai_task_management.go +++ b/api_ai_task_management.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_tools.go b/api_ai_tools.go index 1f8dc58..b0fd2a6 100644 --- a/api_ai_tools.go +++ b/api_ai_tools.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_usage.go b/api_ai_usage.go index 3dd2973..5e8ae1b 100644 --- a/api_ai_usage.go +++ b/api_ai_usage.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ai_vector_database.go b/api_ai_vector_database.go index 2c1815f..78524d8 100644 --- a/api_ai_vector_database.go +++ b/api_ai_vector_database.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_applications.go b/api_applications.go index fc79408..8088a95 100644 --- a/api_applications.go +++ b/api_applications.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_backup_management.go b/api_backup_management.go index 9da5abb..c570c3e 100644 --- a/api_backup_management.go +++ b/api_backup_management.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_cdn_metrics.go b/api_cdn_metrics.go index 5654ef8..0fdb911 100644 --- a/api_cdn_metrics.go +++ b/api_cdn_metrics.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_commands.go b/api_commands.go index f99ee9b..11bf8e7 100644 --- a/api_commands.go +++ b/api_commands.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_compose.go b/api_compose.go index 078c78d..a8f969a 100644 --- a/api_compose.go +++ b/api_compose.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_containers.go b/api_containers.go index a5fdc08..9b23672 100644 --- a/api_containers.go +++ b/api_containers.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_crawler_schedules.go b/api_crawler_schedules.go index 13f69fb..1ed594c 100644 --- a/api_crawler_schedules.go +++ b/api_crawler_schedules.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_crawlers.go b/api_crawlers.go index b37f425..709cac8 100644 --- a/api_crawlers.go +++ b/api_crawlers.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_cron.go b/api_cron.go index a071fae..0a7b96a 100644 --- a/api_cron.go +++ b/api_cron.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_domains.go b/api_domains.go index 41ef44e..e0744b3 100644 --- a/api_domains.go +++ b/api_domains.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_environments.go b/api_environments.go index b69c904..e646bce 100644 --- a/api_environments.go +++ b/api_environments.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_headers.go b/api_headers.go index 13fad11..f39b72a 100644 --- a/api_headers.go +++ b/api_headers.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_kv.go b/api_kv.go index 39d82e6..5423c88 100644 --- a/api_kv.go +++ b/api_kv.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_organizations.go b/api_organizations.go index b3d48e8..d1acf1d 100644 --- a/api_organizations.go +++ b/api_organizations.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_projects.go b/api_projects.go index f7ffb8c..9843fe6 100644 --- a/api_projects.go +++ b/api_projects.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_purge.go b/api_purge.go index 1bc69ba..37242f7 100644 --- a/api_purge.go +++ b/api_purge.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_rules.go b/api_rules.go index c65a0ea..f500367 100644 --- a/api_rules.go +++ b/api_rules.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_scaling_policy.go b/api_scaling_policy.go index 189d3e8..651e87d 100644 --- a/api_scaling_policy.go +++ b/api_scaling_policy.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_ssh_access.go b/api_ssh_access.go index 0c41508..314cdf5 100644 --- a/api_ssh_access.go +++ b/api_ssh_access.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_tokens.go b/api_tokens.go index f967c05..e1cfbb8 100644 --- a/api_tokens.go +++ b/api_tokens.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_variables.go b/api_variables.go index 2c58b1c..994e93d 100644 --- a/api_variables.go +++ b/api_variables.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/api_volumes.go b/api_volumes.go index 3d2e49e..3632672 100644 --- a/api_volumes.go +++ b/api_volumes.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/client.go b/client.go index fd7197f..6286805 100644 --- a/client.go +++ b/client.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -41,7 +41,7 @@ var ( queryDescape = strings.NewReplacer( "%5B", "[", "%5D", "]" ) ) -// APIClient manages communication with the QuantCDN API API v4.15.8 +// APIClient manages communication with the QuantCDN API API v4.17.0 // In most cases there should be only one, shared, APIClient. type APIClient struct { cfg *Configuration @@ -67,6 +67,8 @@ type APIClient struct { AIOrchestrationsAPI AIOrchestrationsAPI + AISearchAPI AISearchAPI + AISessionsAPI AISessionsAPI AISkillsAPI AISkillsAPI @@ -151,6 +153,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.AIModelsAPI = (*AIModelsAPIService)(&c.common) c.AIMonitoringAPI = (*AIMonitoringAPIService)(&c.common) c.AIOrchestrationsAPI = (*AIOrchestrationsAPIService)(&c.common) + c.AISearchAPI = (*AISearchAPIService)(&c.common) c.AISessionsAPI = (*AISessionsAPIService)(&c.common) c.AISkillsAPI = (*AISkillsAPIService)(&c.common) c.AISlackBotsAPI = (*AISlackBotsAPIService)(&c.common) diff --git a/configuration.go b/configuration.go index f1fd9b0..f03194c 100644 --- a/configuration.go +++ b/configuration.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/docs/AICustomToolsAPI.md b/docs/AICustomToolsAPI.md index 4a1daae..6777b67 100644 --- a/docs/AICustomToolsAPI.md +++ b/docs/AICustomToolsAPI.md @@ -33,7 +33,7 @@ import ( func main() { organisation := "organisation_example" // string | The organisation ID - createCustomToolRequest := *openapiclient.NewCreateCustomToolRequest("check_inventory", "Check product inventory levels in warehouse", "EdgeFunctionCode_example", map[string]interface{}(123)) // CreateCustomToolRequest | + createCustomToolRequest := *openapiclient.NewCreateCustomToolRequest("check_inventory", "Check product inventory levels in warehouse", "EdgeFunctionCode_example", "InputSchema_example") // CreateCustomToolRequest | configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) diff --git a/docs/AISearchAPI.md b/docs/AISearchAPI.md new file mode 100644 index 0000000..a4329bf --- /dev/null +++ b/docs/AISearchAPI.md @@ -0,0 +1,1238 @@ +# \AISearchAPI + +All URIs are relative to *https://dashboard.quantcdn.io* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**AiSearchChat**](AISearchAPI.md#AiSearchChat) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/chat | RAG chat with AI Search content +[**AiSearchDeletePages**](AISearchAPI.md#AiSearchDeletePages) | **Delete** /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages | Delete pages by URLs or patterns +[**AiSearchDisable**](AISearchAPI.md#AiSearchDisable) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/disable | Disable AI Search for a project +[**AiSearchEnable**](AISearchAPI.md#AiSearchEnable) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/enable | Enable AI Search for a project +[**AiSearchGetCrawl**](AISearchAPI.md#AiSearchGetCrawl) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId} | Get AI Search ingest job status +[**AiSearchGetCrawlPages**](AISearchAPI.md#AiSearchGetCrawlPages) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls/{jobId}/pages | Get per-page ingest results for a crawl job +[**AiSearchGetSettings**](AISearchAPI.md#AiSearchGetSettings) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/settings | Get AI Search public access and rate limit settings +[**AiSearchIngestPages**](AISearchAPI.md#AiSearchIngestPages) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages | Ingest pages into the AI Search index +[**AiSearchListCrawls**](AISearchAPI.md#AiSearchListCrawls) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls | List AI Search ingest jobs +[**AiSearchListPages**](AISearchAPI.md#AiSearchListPages) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/pages | List indexed pages with cursor pagination +[**AiSearchPurgeIndex**](AISearchAPI.md#AiSearchPurgeIndex) | **Delete** /api/v3/organisations/{organisation}/projects/{project}/ai-search/index | Purge the entire AI Search index +[**AiSearchSearch**](AISearchAPI.md#AiSearchSearch) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/search | Semantic search across the AI Search index +[**AiSearchStatus**](AISearchAPI.md#AiSearchStatus) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search | Get AI Search status for a project +[**AiSearchTopQueries**](AISearchAPI.md#AiSearchTopQueries) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/top-queries | Get the most popular AI Search queries +[**AiSearchTriggerCrawl**](AISearchAPI.md#AiSearchTriggerCrawl) | **Post** /api/v3/organisations/{organisation}/projects/{project}/ai-search/crawls | Trigger a crawler run that ingests into AI Search +[**AiSearchUpdateSettings**](AISearchAPI.md#AiSearchUpdateSettings) | **Put** /api/v3/organisations/{organisation}/projects/{project}/ai-search/settings | Update AI Search public access and rate limit settings +[**AiSearchUsage**](AISearchAPI.md#AiSearchUsage) | **Get** /api/v3/organisations/{organisation}/projects/{project}/ai-search/usage | Get usage statistics for the AI Search site + + + +## AiSearchChat + +> AiSearchChat(ctx, organisation, project).AiSearchChatRequest(aiSearchChatRequest).Execute() + +RAG chat with AI Search content + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchChatRequest := *openapiclient.NewAiSearchChatRequest("Message_example") // AiSearchChatRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchChat(context.Background(), organisation, project).AiSearchChatRequest(aiSearchChatRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchChat``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchChatRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchChatRequest** | [**AiSearchChatRequest**](AiSearchChatRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchDeletePages + +> AiSearchDeletePages(ctx, organisation, project).AiSearchDeletePagesRequest(aiSearchDeletePagesRequest).Execute() + +Delete pages by URLs or patterns + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchDeletePagesRequest := *openapiclient.NewAiSearchDeletePagesRequest() // AiSearchDeletePagesRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchDeletePages(context.Background(), organisation, project).AiSearchDeletePagesRequest(aiSearchDeletePagesRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchDeletePages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchDeletePagesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchDeletePagesRequest** | [**AiSearchDeletePagesRequest**](AiSearchDeletePagesRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchDisable + +> AiSearchDisable(ctx, organisation, project).Execute() + +Disable AI Search for a project + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchDisable(context.Background(), organisation, project).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchDisable``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchDisableRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchEnable + +> AiSearchEnable(ctx, organisation, project).AiSearchEnableRequest(aiSearchEnableRequest).Execute() + +Enable AI Search for a project + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchEnableRequest := *openapiclient.NewAiSearchEnableRequest() // AiSearchEnableRequest | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchEnable(context.Background(), organisation, project).AiSearchEnableRequest(aiSearchEnableRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchEnable``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchEnableRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchEnableRequest** | [**AiSearchEnableRequest**](AiSearchEnableRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchGetCrawl + +> AiSearchGetCrawl(ctx, organisation, project, jobId).Execute() + +Get AI Search ingest job status + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + jobId := "jobId_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchGetCrawl(context.Background(), organisation, project, jobId).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchGetCrawl``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | +**jobId** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchGetCrawlRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchGetCrawlPages + +> AiSearchGetCrawlPages(ctx, organisation, project, jobId).Limit(limit).StatusCode(statusCode).ProcessingStatus(processingStatus).Execute() + +Get per-page ingest results for a crawl job + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + jobId := "jobId_example" // string | + limit := int32(56) // int32 | (optional) + statusCode := int32(56) // int32 | (optional) + processingStatus := "processingStatus_example" // string | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchGetCrawlPages(context.Background(), organisation, project, jobId).Limit(limit).StatusCode(statusCode).ProcessingStatus(processingStatus).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchGetCrawlPages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | +**jobId** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchGetCrawlPagesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + + **limit** | **int32** | | + **statusCode** | **int32** | | + **processingStatus** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchGetSettings + +> AiSearchGetSettings(ctx, organisation, project).Execute() + +Get AI Search public access and rate limit settings + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchGetSettings(context.Background(), organisation, project).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchGetSettings``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchGetSettingsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchIngestPages + +> AiSearchIngestPages(ctx, organisation, project).AiSearchIngestPagesRequest(aiSearchIngestPagesRequest).Execute() + +Ingest pages into the AI Search index + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchIngestPagesRequest := *openapiclient.NewAiSearchIngestPagesRequest([]openapiclient.AiSearchIngestPagesRequestPagesInner{*openapiclient.NewAiSearchIngestPagesRequestPagesInner("Url_example", "Title_example", "Content_example")}) // AiSearchIngestPagesRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchIngestPages(context.Background(), organisation, project).AiSearchIngestPagesRequest(aiSearchIngestPagesRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchIngestPages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchIngestPagesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchIngestPagesRequest** | [**AiSearchIngestPagesRequest**](AiSearchIngestPagesRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchListCrawls + +> AiSearchListCrawls(ctx, organisation, project).Limit(limit).Execute() + +List AI Search ingest jobs + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + limit := int32(56) // int32 | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchListCrawls(context.Background(), organisation, project).Limit(limit).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchListCrawls``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchListCrawlsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **limit** | **int32** | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchListPages + +> AiSearchListPages(ctx, organisation, project).Limit(limit).Cursor(cursor).Search(search).Execute() + +List indexed pages with cursor pagination + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + limit := int32(56) // int32 | (optional) + cursor := "cursor_example" // string | (optional) + search := "search_example" // string | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchListPages(context.Background(), organisation, project).Limit(limit).Cursor(cursor).Search(search).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchListPages``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchListPagesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **limit** | **int32** | | + **cursor** | **string** | | + **search** | **string** | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchPurgeIndex + +> AiSearchPurgeIndex(ctx, organisation, project).Execute() + +Purge the entire AI Search index + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchPurgeIndex(context.Background(), organisation, project).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchPurgeIndex``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchPurgeIndexRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchSearch + +> AiSearchSearch(ctx, organisation, project).AiSearchSearchRequest(aiSearchSearchRequest).Execute() + +Semantic search across the AI Search index + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchSearchRequest := *openapiclient.NewAiSearchSearchRequest("Query_example") // AiSearchSearchRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchSearch(context.Background(), organisation, project).AiSearchSearchRequest(aiSearchSearchRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchSearch``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchSearchRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchSearchRequest** | [**AiSearchSearchRequest**](AiSearchSearchRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchStatus + +> AiSearchStatus(ctx, organisation, project).Execute() + +Get AI Search status for a project + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchStatus(context.Background(), organisation, project).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchStatus``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchStatusRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchTopQueries + +> AiSearchTopQueries(ctx, organisation, project).Range_(range_).Limit(limit).Execute() + +Get the most popular AI Search queries + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + range_ := "range__example" // string | (optional) (default to "30d") + limit := int32(56) // int32 | (optional) + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchTopQueries(context.Background(), organisation, project).Range_(range_).Limit(limit).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchTopQueries``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchTopQueriesRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **range_** | **string** | | [default to "30d"] + **limit** | **int32** | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchTriggerCrawl + +> AiSearchTriggerCrawl(ctx, organisation, project).AiSearchTriggerCrawlRequest(aiSearchTriggerCrawlRequest).Execute() + +Trigger a crawler run that ingests into AI Search + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchTriggerCrawlRequest := *openapiclient.NewAiSearchTriggerCrawlRequest("CrawlerUuid_example") // AiSearchTriggerCrawlRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchTriggerCrawl(context.Background(), organisation, project).AiSearchTriggerCrawlRequest(aiSearchTriggerCrawlRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchTriggerCrawl``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchTriggerCrawlRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchTriggerCrawlRequest** | [**AiSearchTriggerCrawlRequest**](AiSearchTriggerCrawlRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchUpdateSettings + +> AiSearchUpdateSettings(ctx, organisation, project).AiSearchUpdateSettingsRequest(aiSearchUpdateSettingsRequest).Execute() + +Update AI Search public access and rate limit settings + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + aiSearchUpdateSettingsRequest := *openapiclient.NewAiSearchUpdateSettingsRequest() // AiSearchUpdateSettingsRequest | + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchUpdateSettings(context.Background(), organisation, project).AiSearchUpdateSettingsRequest(aiSearchUpdateSettingsRequest).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchUpdateSettings``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchUpdateSettingsRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **aiSearchUpdateSettingsRequest** | [**AiSearchUpdateSettingsRequest**](AiSearchUpdateSettingsRequest.md) | | + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: application/json +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + + +## AiSearchUsage + +> AiSearchUsage(ctx, organisation, project).Range_(range_).Execute() + +Get usage statistics for the AI Search site + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + openapiclient "github.com/quantcdn/quant-admin-go" +) + +func main() { + organisation := "organisation_example" // string | + project := "project_example" // string | + range_ := "range__example" // string | (optional) (default to "30d") + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + r, err := apiClient.AISearchAPI.AiSearchUsage(context.Background(), organisation, project).Range_(range_).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `AISearchAPI.AiSearchUsage``: %v\n", err) + fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) + } +} +``` + +### Path Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- +**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. +**organisation** | **string** | | +**project** | **string** | | + +### Other Parameters + +Other parameters are passed through a pointer to a apiAiSearchUsageRequest struct via the builder pattern + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + + + **range_** | **string** | | [default to "30d"] + +### Return type + + (empty response body) + +### Authorization + +[BearerAuth](../README.md#BearerAuth) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/docs/AiSearchChatRequest.md b/docs/AiSearchChatRequest.md new file mode 100644 index 0000000..d477367 --- /dev/null +++ b/docs/AiSearchChatRequest.md @@ -0,0 +1,129 @@ +# AiSearchChatRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Message** | **string** | | +**SessionId** | Pointer to **string** | | [optional] +**ContextUrl** | Pointer to **string** | | [optional] +**MaxContextChunks** | Pointer to **int32** | | [optional] + +## Methods + +### NewAiSearchChatRequest + +`func NewAiSearchChatRequest(message string, ) *AiSearchChatRequest` + +NewAiSearchChatRequest instantiates a new AiSearchChatRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchChatRequestWithDefaults + +`func NewAiSearchChatRequestWithDefaults() *AiSearchChatRequest` + +NewAiSearchChatRequestWithDefaults instantiates a new AiSearchChatRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetMessage + +`func (o *AiSearchChatRequest) GetMessage() string` + +GetMessage returns the Message field if non-nil, zero value otherwise. + +### GetMessageOk + +`func (o *AiSearchChatRequest) GetMessageOk() (*string, bool)` + +GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMessage + +`func (o *AiSearchChatRequest) SetMessage(v string)` + +SetMessage sets Message field to given value. + + +### GetSessionId + +`func (o *AiSearchChatRequest) GetSessionId() string` + +GetSessionId returns the SessionId field if non-nil, zero value otherwise. + +### GetSessionIdOk + +`func (o *AiSearchChatRequest) GetSessionIdOk() (*string, bool)` + +GetSessionIdOk returns a tuple with the SessionId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSessionId + +`func (o *AiSearchChatRequest) SetSessionId(v string)` + +SetSessionId sets SessionId field to given value. + +### HasSessionId + +`func (o *AiSearchChatRequest) HasSessionId() bool` + +HasSessionId returns a boolean if a field has been set. + +### GetContextUrl + +`func (o *AiSearchChatRequest) GetContextUrl() string` + +GetContextUrl returns the ContextUrl field if non-nil, zero value otherwise. + +### GetContextUrlOk + +`func (o *AiSearchChatRequest) GetContextUrlOk() (*string, bool)` + +GetContextUrlOk returns a tuple with the ContextUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContextUrl + +`func (o *AiSearchChatRequest) SetContextUrl(v string)` + +SetContextUrl sets ContextUrl field to given value. + +### HasContextUrl + +`func (o *AiSearchChatRequest) HasContextUrl() bool` + +HasContextUrl returns a boolean if a field has been set. + +### GetMaxContextChunks + +`func (o *AiSearchChatRequest) GetMaxContextChunks() int32` + +GetMaxContextChunks returns the MaxContextChunks field if non-nil, zero value otherwise. + +### GetMaxContextChunksOk + +`func (o *AiSearchChatRequest) GetMaxContextChunksOk() (*int32, bool)` + +GetMaxContextChunksOk returns a tuple with the MaxContextChunks field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMaxContextChunks + +`func (o *AiSearchChatRequest) SetMaxContextChunks(v int32)` + +SetMaxContextChunks sets MaxContextChunks field to given value. + +### HasMaxContextChunks + +`func (o *AiSearchChatRequest) HasMaxContextChunks() bool` + +HasMaxContextChunks returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchDeletePagesRequest.md b/docs/AiSearchDeletePagesRequest.md new file mode 100644 index 0000000..7917d7b --- /dev/null +++ b/docs/AiSearchDeletePagesRequest.md @@ -0,0 +1,82 @@ +# AiSearchDeletePagesRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Urls** | Pointer to **[]string** | | [optional] +**Patterns** | Pointer to **[]string** | | [optional] + +## Methods + +### NewAiSearchDeletePagesRequest + +`func NewAiSearchDeletePagesRequest() *AiSearchDeletePagesRequest` + +NewAiSearchDeletePagesRequest instantiates a new AiSearchDeletePagesRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchDeletePagesRequestWithDefaults + +`func NewAiSearchDeletePagesRequestWithDefaults() *AiSearchDeletePagesRequest` + +NewAiSearchDeletePagesRequestWithDefaults instantiates a new AiSearchDeletePagesRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUrls + +`func (o *AiSearchDeletePagesRequest) GetUrls() []string` + +GetUrls returns the Urls field if non-nil, zero value otherwise. + +### GetUrlsOk + +`func (o *AiSearchDeletePagesRequest) GetUrlsOk() (*[]string, bool)` + +GetUrlsOk returns a tuple with the Urls field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrls + +`func (o *AiSearchDeletePagesRequest) SetUrls(v []string)` + +SetUrls sets Urls field to given value. + +### HasUrls + +`func (o *AiSearchDeletePagesRequest) HasUrls() bool` + +HasUrls returns a boolean if a field has been set. + +### GetPatterns + +`func (o *AiSearchDeletePagesRequest) GetPatterns() []string` + +GetPatterns returns the Patterns field if non-nil, zero value otherwise. + +### GetPatternsOk + +`func (o *AiSearchDeletePagesRequest) GetPatternsOk() (*[]string, bool)` + +GetPatternsOk returns a tuple with the Patterns field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPatterns + +`func (o *AiSearchDeletePagesRequest) SetPatterns(v []string)` + +SetPatterns sets Patterns field to given value. + +### HasPatterns + +`func (o *AiSearchDeletePagesRequest) HasPatterns() bool` + +HasPatterns returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchEnableRequest.md b/docs/AiSearchEnableRequest.md new file mode 100644 index 0000000..03b656f --- /dev/null +++ b/docs/AiSearchEnableRequest.md @@ -0,0 +1,82 @@ +# AiSearchEnableRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**BaseUrl** | Pointer to **string** | | [optional] +**CrawlerConfig** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewAiSearchEnableRequest + +`func NewAiSearchEnableRequest() *AiSearchEnableRequest` + +NewAiSearchEnableRequest instantiates a new AiSearchEnableRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchEnableRequestWithDefaults + +`func NewAiSearchEnableRequestWithDefaults() *AiSearchEnableRequest` + +NewAiSearchEnableRequestWithDefaults instantiates a new AiSearchEnableRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetBaseUrl + +`func (o *AiSearchEnableRequest) GetBaseUrl() string` + +GetBaseUrl returns the BaseUrl field if non-nil, zero value otherwise. + +### GetBaseUrlOk + +`func (o *AiSearchEnableRequest) GetBaseUrlOk() (*string, bool)` + +GetBaseUrlOk returns a tuple with the BaseUrl field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetBaseUrl + +`func (o *AiSearchEnableRequest) SetBaseUrl(v string)` + +SetBaseUrl sets BaseUrl field to given value. + +### HasBaseUrl + +`func (o *AiSearchEnableRequest) HasBaseUrl() bool` + +HasBaseUrl returns a boolean if a field has been set. + +### GetCrawlerConfig + +`func (o *AiSearchEnableRequest) GetCrawlerConfig() map[string]interface{}` + +GetCrawlerConfig returns the CrawlerConfig field if non-nil, zero value otherwise. + +### GetCrawlerConfigOk + +`func (o *AiSearchEnableRequest) GetCrawlerConfigOk() (*map[string]interface{}, bool)` + +GetCrawlerConfigOk returns a tuple with the CrawlerConfig field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCrawlerConfig + +`func (o *AiSearchEnableRequest) SetCrawlerConfig(v map[string]interface{})` + +SetCrawlerConfig sets CrawlerConfig field to given value. + +### HasCrawlerConfig + +`func (o *AiSearchEnableRequest) HasCrawlerConfig() bool` + +HasCrawlerConfig returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchIngestPagesRequest.md b/docs/AiSearchIngestPagesRequest.md new file mode 100644 index 0000000..25447da --- /dev/null +++ b/docs/AiSearchIngestPagesRequest.md @@ -0,0 +1,77 @@ +# AiSearchIngestPagesRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**JobId** | Pointer to **string** | | [optional] +**Pages** | [**[]AiSearchIngestPagesRequestPagesInner**](AiSearchIngestPagesRequestPagesInner.md) | | + +## Methods + +### NewAiSearchIngestPagesRequest + +`func NewAiSearchIngestPagesRequest(pages []AiSearchIngestPagesRequestPagesInner, ) *AiSearchIngestPagesRequest` + +NewAiSearchIngestPagesRequest instantiates a new AiSearchIngestPagesRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchIngestPagesRequestWithDefaults + +`func NewAiSearchIngestPagesRequestWithDefaults() *AiSearchIngestPagesRequest` + +NewAiSearchIngestPagesRequestWithDefaults instantiates a new AiSearchIngestPagesRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetJobId + +`func (o *AiSearchIngestPagesRequest) GetJobId() string` + +GetJobId returns the JobId field if non-nil, zero value otherwise. + +### GetJobIdOk + +`func (o *AiSearchIngestPagesRequest) GetJobIdOk() (*string, bool)` + +GetJobIdOk returns a tuple with the JobId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetJobId + +`func (o *AiSearchIngestPagesRequest) SetJobId(v string)` + +SetJobId sets JobId field to given value. + +### HasJobId + +`func (o *AiSearchIngestPagesRequest) HasJobId() bool` + +HasJobId returns a boolean if a field has been set. + +### GetPages + +`func (o *AiSearchIngestPagesRequest) GetPages() []AiSearchIngestPagesRequestPagesInner` + +GetPages returns the Pages field if non-nil, zero value otherwise. + +### GetPagesOk + +`func (o *AiSearchIngestPagesRequest) GetPagesOk() (*[]AiSearchIngestPagesRequestPagesInner, bool)` + +GetPagesOk returns a tuple with the Pages field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPages + +`func (o *AiSearchIngestPagesRequest) SetPages(v []AiSearchIngestPagesRequestPagesInner)` + +SetPages sets Pages field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchIngestPagesRequestPagesInner.md b/docs/AiSearchIngestPagesRequestPagesInner.md new file mode 100644 index 0000000..dd9124a --- /dev/null +++ b/docs/AiSearchIngestPagesRequestPagesInner.md @@ -0,0 +1,249 @@ +# AiSearchIngestPagesRequestPagesInner + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Url** | **string** | | +**Title** | **string** | | +**Content** | **string** | | +**ContentType** | Pointer to **string** | | [optional] +**FetchedAt** | Pointer to **string** | | [optional] +**PreProcessed** | Pointer to **bool** | | [optional] +**Summary** | Pointer to **string** | | [optional] +**Tags** | Pointer to **[]string** | | [optional] +**Topics** | Pointer to **[]string** | | [optional] + +## Methods + +### NewAiSearchIngestPagesRequestPagesInner + +`func NewAiSearchIngestPagesRequestPagesInner(url string, title string, content string, ) *AiSearchIngestPagesRequestPagesInner` + +NewAiSearchIngestPagesRequestPagesInner instantiates a new AiSearchIngestPagesRequestPagesInner object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchIngestPagesRequestPagesInnerWithDefaults + +`func NewAiSearchIngestPagesRequestPagesInnerWithDefaults() *AiSearchIngestPagesRequestPagesInner` + +NewAiSearchIngestPagesRequestPagesInnerWithDefaults instantiates a new AiSearchIngestPagesRequestPagesInner object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetUrl + +`func (o *AiSearchIngestPagesRequestPagesInner) GetUrl() string` + +GetUrl returns the Url field if non-nil, zero value otherwise. + +### GetUrlOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetUrlOk() (*string, bool)` + +GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUrl + +`func (o *AiSearchIngestPagesRequestPagesInner) SetUrl(v string)` + +SetUrl sets Url field to given value. + + +### GetTitle + +`func (o *AiSearchIngestPagesRequestPagesInner) GetTitle() string` + +GetTitle returns the Title field if non-nil, zero value otherwise. + +### GetTitleOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetTitleOk() (*string, bool)` + +GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTitle + +`func (o *AiSearchIngestPagesRequestPagesInner) SetTitle(v string)` + +SetTitle sets Title field to given value. + + +### GetContent + +`func (o *AiSearchIngestPagesRequestPagesInner) GetContent() string` + +GetContent returns the Content field if non-nil, zero value otherwise. + +### GetContentOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetContentOk() (*string, bool)` + +GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContent + +`func (o *AiSearchIngestPagesRequestPagesInner) SetContent(v string)` + +SetContent sets Content field to given value. + + +### GetContentType + +`func (o *AiSearchIngestPagesRequestPagesInner) GetContentType() string` + +GetContentType returns the ContentType field if non-nil, zero value otherwise. + +### GetContentTypeOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetContentTypeOk() (*string, bool)` + +GetContentTypeOk returns a tuple with the ContentType field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContentType + +`func (o *AiSearchIngestPagesRequestPagesInner) SetContentType(v string)` + +SetContentType sets ContentType field to given value. + +### HasContentType + +`func (o *AiSearchIngestPagesRequestPagesInner) HasContentType() bool` + +HasContentType returns a boolean if a field has been set. + +### GetFetchedAt + +`func (o *AiSearchIngestPagesRequestPagesInner) GetFetchedAt() string` + +GetFetchedAt returns the FetchedAt field if non-nil, zero value otherwise. + +### GetFetchedAtOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetFetchedAtOk() (*string, bool)` + +GetFetchedAtOk returns a tuple with the FetchedAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFetchedAt + +`func (o *AiSearchIngestPagesRequestPagesInner) SetFetchedAt(v string)` + +SetFetchedAt sets FetchedAt field to given value. + +### HasFetchedAt + +`func (o *AiSearchIngestPagesRequestPagesInner) HasFetchedAt() bool` + +HasFetchedAt returns a boolean if a field has been set. + +### GetPreProcessed + +`func (o *AiSearchIngestPagesRequestPagesInner) GetPreProcessed() bool` + +GetPreProcessed returns the PreProcessed field if non-nil, zero value otherwise. + +### GetPreProcessedOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetPreProcessedOk() (*bool, bool)` + +GetPreProcessedOk returns a tuple with the PreProcessed field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPreProcessed + +`func (o *AiSearchIngestPagesRequestPagesInner) SetPreProcessed(v bool)` + +SetPreProcessed sets PreProcessed field to given value. + +### HasPreProcessed + +`func (o *AiSearchIngestPagesRequestPagesInner) HasPreProcessed() bool` + +HasPreProcessed returns a boolean if a field has been set. + +### GetSummary + +`func (o *AiSearchIngestPagesRequestPagesInner) GetSummary() string` + +GetSummary returns the Summary field if non-nil, zero value otherwise. + +### GetSummaryOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetSummaryOk() (*string, bool)` + +GetSummaryOk returns a tuple with the Summary field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetSummary + +`func (o *AiSearchIngestPagesRequestPagesInner) SetSummary(v string)` + +SetSummary sets Summary field to given value. + +### HasSummary + +`func (o *AiSearchIngestPagesRequestPagesInner) HasSummary() bool` + +HasSummary returns a boolean if a field has been set. + +### GetTags + +`func (o *AiSearchIngestPagesRequestPagesInner) GetTags() []string` + +GetTags returns the Tags field if non-nil, zero value otherwise. + +### GetTagsOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetTagsOk() (*[]string, bool)` + +GetTagsOk returns a tuple with the Tags field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTags + +`func (o *AiSearchIngestPagesRequestPagesInner) SetTags(v []string)` + +SetTags sets Tags field to given value. + +### HasTags + +`func (o *AiSearchIngestPagesRequestPagesInner) HasTags() bool` + +HasTags returns a boolean if a field has been set. + +### GetTopics + +`func (o *AiSearchIngestPagesRequestPagesInner) GetTopics() []string` + +GetTopics returns the Topics field if non-nil, zero value otherwise. + +### GetTopicsOk + +`func (o *AiSearchIngestPagesRequestPagesInner) GetTopicsOk() (*[]string, bool)` + +GetTopicsOk returns a tuple with the Topics field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetTopics + +`func (o *AiSearchIngestPagesRequestPagesInner) SetTopics(v []string)` + +SetTopics sets Topics field to given value. + +### HasTopics + +`func (o *AiSearchIngestPagesRequestPagesInner) HasTopics() bool` + +HasTopics returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchSearchRequest.md b/docs/AiSearchSearchRequest.md new file mode 100644 index 0000000..b83cd3d --- /dev/null +++ b/docs/AiSearchSearchRequest.md @@ -0,0 +1,103 @@ +# AiSearchSearchRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Query** | **string** | | +**Limit** | Pointer to **int32** | | [optional] +**MinScore** | Pointer to **float32** | | [optional] + +## Methods + +### NewAiSearchSearchRequest + +`func NewAiSearchSearchRequest(query string, ) *AiSearchSearchRequest` + +NewAiSearchSearchRequest instantiates a new AiSearchSearchRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchSearchRequestWithDefaults + +`func NewAiSearchSearchRequestWithDefaults() *AiSearchSearchRequest` + +NewAiSearchSearchRequestWithDefaults instantiates a new AiSearchSearchRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetQuery + +`func (o *AiSearchSearchRequest) GetQuery() string` + +GetQuery returns the Query field if non-nil, zero value otherwise. + +### GetQueryOk + +`func (o *AiSearchSearchRequest) GetQueryOk() (*string, bool)` + +GetQueryOk returns a tuple with the Query field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetQuery + +`func (o *AiSearchSearchRequest) SetQuery(v string)` + +SetQuery sets Query field to given value. + + +### GetLimit + +`func (o *AiSearchSearchRequest) GetLimit() int32` + +GetLimit returns the Limit field if non-nil, zero value otherwise. + +### GetLimitOk + +`func (o *AiSearchSearchRequest) GetLimitOk() (*int32, bool)` + +GetLimitOk returns a tuple with the Limit field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimit + +`func (o *AiSearchSearchRequest) SetLimit(v int32)` + +SetLimit sets Limit field to given value. + +### HasLimit + +`func (o *AiSearchSearchRequest) HasLimit() bool` + +HasLimit returns a boolean if a field has been set. + +### GetMinScore + +`func (o *AiSearchSearchRequest) GetMinScore() float32` + +GetMinScore returns the MinScore field if non-nil, zero value otherwise. + +### GetMinScoreOk + +`func (o *AiSearchSearchRequest) GetMinScoreOk() (*float32, bool)` + +GetMinScoreOk returns a tuple with the MinScore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetMinScore + +`func (o *AiSearchSearchRequest) SetMinScore(v float32)` + +SetMinScore sets MinScore field to given value. + +### HasMinScore + +`func (o *AiSearchSearchRequest) HasMinScore() bool` + +HasMinScore returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchTriggerCrawlRequest.md b/docs/AiSearchTriggerCrawlRequest.md new file mode 100644 index 0000000..4362ac6 --- /dev/null +++ b/docs/AiSearchTriggerCrawlRequest.md @@ -0,0 +1,51 @@ +# AiSearchTriggerCrawlRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**CrawlerUuid** | **string** | | + +## Methods + +### NewAiSearchTriggerCrawlRequest + +`func NewAiSearchTriggerCrawlRequest(crawlerUuid string, ) *AiSearchTriggerCrawlRequest` + +NewAiSearchTriggerCrawlRequest instantiates a new AiSearchTriggerCrawlRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchTriggerCrawlRequestWithDefaults + +`func NewAiSearchTriggerCrawlRequestWithDefaults() *AiSearchTriggerCrawlRequest` + +NewAiSearchTriggerCrawlRequestWithDefaults instantiates a new AiSearchTriggerCrawlRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetCrawlerUuid + +`func (o *AiSearchTriggerCrawlRequest) GetCrawlerUuid() string` + +GetCrawlerUuid returns the CrawlerUuid field if non-nil, zero value otherwise. + +### GetCrawlerUuidOk + +`func (o *AiSearchTriggerCrawlRequest) GetCrawlerUuidOk() (*string, bool)` + +GetCrawlerUuidOk returns a tuple with the CrawlerUuid field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCrawlerUuid + +`func (o *AiSearchTriggerCrawlRequest) SetCrawlerUuid(v string)` + +SetCrawlerUuid sets CrawlerUuid field to given value. + + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/AiSearchUpdateSettingsRequest.md b/docs/AiSearchUpdateSettingsRequest.md new file mode 100644 index 0000000..e49b061 --- /dev/null +++ b/docs/AiSearchUpdateSettingsRequest.md @@ -0,0 +1,82 @@ +# AiSearchUpdateSettingsRequest + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**PublicAccess** | Pointer to **map[string]interface{}** | | [optional] +**RateLimits** | Pointer to **map[string]interface{}** | | [optional] + +## Methods + +### NewAiSearchUpdateSettingsRequest + +`func NewAiSearchUpdateSettingsRequest() *AiSearchUpdateSettingsRequest` + +NewAiSearchUpdateSettingsRequest instantiates a new AiSearchUpdateSettingsRequest object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewAiSearchUpdateSettingsRequestWithDefaults + +`func NewAiSearchUpdateSettingsRequestWithDefaults() *AiSearchUpdateSettingsRequest` + +NewAiSearchUpdateSettingsRequestWithDefaults instantiates a new AiSearchUpdateSettingsRequest object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetPublicAccess + +`func (o *AiSearchUpdateSettingsRequest) GetPublicAccess() map[string]interface{}` + +GetPublicAccess returns the PublicAccess field if non-nil, zero value otherwise. + +### GetPublicAccessOk + +`func (o *AiSearchUpdateSettingsRequest) GetPublicAccessOk() (*map[string]interface{}, bool)` + +GetPublicAccessOk returns a tuple with the PublicAccess field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetPublicAccess + +`func (o *AiSearchUpdateSettingsRequest) SetPublicAccess(v map[string]interface{})` + +SetPublicAccess sets PublicAccess field to given value. + +### HasPublicAccess + +`func (o *AiSearchUpdateSettingsRequest) HasPublicAccess() bool` + +HasPublicAccess returns a boolean if a field has been set. + +### GetRateLimits + +`func (o *AiSearchUpdateSettingsRequest) GetRateLimits() map[string]interface{}` + +GetRateLimits returns the RateLimits field if non-nil, zero value otherwise. + +### GetRateLimitsOk + +`func (o *AiSearchUpdateSettingsRequest) GetRateLimitsOk() (*map[string]interface{}, bool)` + +GetRateLimitsOk returns a tuple with the RateLimits field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRateLimits + +`func (o *AiSearchUpdateSettingsRequest) SetRateLimits(v map[string]interface{})` + +SetRateLimits sets RateLimits field to given value. + +### HasRateLimits + +`func (o *AiSearchUpdateSettingsRequest) HasRateLimits() bool` + +HasRateLimits returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CreateCustomToolRequest.md b/docs/CreateCustomToolRequest.md index 349706e..1cf3c40 100644 --- a/docs/CreateCustomToolRequest.md +++ b/docs/CreateCustomToolRequest.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **Name** | **string** | Unique tool name (alphanumeric and underscores only) | **Description** | **string** | Human-readable description of what the tool does | **EdgeFunctionCode** | **string** | JavaScript source code for the edge function | -**InputSchema** | **map[string]interface{}** | JSON Schema defining the tool's input parameters | +**InputSchema** | **string** | JSON-encoded JSON Schema object defining the tool's input parameters | **IsAsync** | Pointer to **bool** | Whether this tool runs asynchronously (>5 seconds) | [optional] [default to false] **TimeoutSeconds** | Pointer to **int32** | Tool execution timeout | [optional] [default to 30] -**OutputSchema** | Pointer to **map[string]interface{}** | JSON Schema defining the tool's output structure | [optional] +**OutputSchema** | Pointer to **NullableString** | JSON-encoded JSON Schema object defining the tool's output structure | [optional] **OutputSchemaDescription** | Pointer to **NullableString** | Human-readable description of the tool's output | [optional] **Category** | Pointer to **NullableString** | Category to group related tools | [optional] **ResponseMode** | Pointer to **NullableString** | How the tool response is handled: llm (passed back to model) or direct (returned to user) | [optional] @@ -19,7 +19,7 @@ Name | Type | Description | Notes ### NewCreateCustomToolRequest -`func NewCreateCustomToolRequest(name string, description string, edgeFunctionCode string, inputSchema map[string]interface{}, ) *CreateCustomToolRequest` +`func NewCreateCustomToolRequest(name string, description string, edgeFunctionCode string, inputSchema string, ) *CreateCustomToolRequest` NewCreateCustomToolRequest instantiates a new CreateCustomToolRequest object This constructor will assign default values to properties that have it defined, @@ -96,20 +96,20 @@ SetEdgeFunctionCode sets EdgeFunctionCode field to given value. ### GetInputSchema -`func (o *CreateCustomToolRequest) GetInputSchema() map[string]interface{}` +`func (o *CreateCustomToolRequest) GetInputSchema() string` GetInputSchema returns the InputSchema field if non-nil, zero value otherwise. ### GetInputSchemaOk -`func (o *CreateCustomToolRequest) GetInputSchemaOk() (*map[string]interface{}, bool)` +`func (o *CreateCustomToolRequest) GetInputSchemaOk() (*string, bool)` GetInputSchemaOk returns a tuple with the InputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInputSchema -`func (o *CreateCustomToolRequest) SetInputSchema(v map[string]interface{})` +`func (o *CreateCustomToolRequest) SetInputSchema(v string)` SetInputSchema sets InputSchema field to given value. @@ -166,20 +166,20 @@ HasTimeoutSeconds returns a boolean if a field has been set. ### GetOutputSchema -`func (o *CreateCustomToolRequest) GetOutputSchema() map[string]interface{}` +`func (o *CreateCustomToolRequest) GetOutputSchema() string` GetOutputSchema returns the OutputSchema field if non-nil, zero value otherwise. ### GetOutputSchemaOk -`func (o *CreateCustomToolRequest) GetOutputSchemaOk() (*map[string]interface{}, bool)` +`func (o *CreateCustomToolRequest) GetOutputSchemaOk() (*string, bool)` GetOutputSchemaOk returns a tuple with the OutputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutputSchema -`func (o *CreateCustomToolRequest) SetOutputSchema(v map[string]interface{})` +`func (o *CreateCustomToolRequest) SetOutputSchema(v string)` SetOutputSchema sets OutputSchema field to given value. diff --git a/docs/GetCustomTool200ResponseTool.md b/docs/GetCustomTool200ResponseTool.md index 8310da8..38c37db 100644 --- a/docs/GetCustomTool200ResponseTool.md +++ b/docs/GetCustomTool200ResponseTool.md @@ -9,8 +9,8 @@ Name | Type | Description | Notes **EdgeFunctionUrl** | Pointer to **string** | | [optional] **EdgeFunctionCode** | Pointer to **string** | The deployed edge function source code | [optional] **IsAsync** | Pointer to **bool** | | [optional] -**InputSchema** | Pointer to **map[string]interface{}** | | [optional] -**OutputSchema** | Pointer to **map[string]interface{}** | | [optional] +**InputSchema** | Pointer to **string** | | [optional] +**OutputSchema** | Pointer to **NullableString** | | [optional] **OutputSchemaDescription** | Pointer to **NullableString** | | [optional] **Category** | Pointer to **NullableString** | | [optional] **ResponseMode** | Pointer to **NullableString** | | [optional] @@ -162,20 +162,20 @@ HasIsAsync returns a boolean if a field has been set. ### GetInputSchema -`func (o *GetCustomTool200ResponseTool) GetInputSchema() map[string]interface{}` +`func (o *GetCustomTool200ResponseTool) GetInputSchema() string` GetInputSchema returns the InputSchema field if non-nil, zero value otherwise. ### GetInputSchemaOk -`func (o *GetCustomTool200ResponseTool) GetInputSchemaOk() (*map[string]interface{}, bool)` +`func (o *GetCustomTool200ResponseTool) GetInputSchemaOk() (*string, bool)` GetInputSchemaOk returns a tuple with the InputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInputSchema -`func (o *GetCustomTool200ResponseTool) SetInputSchema(v map[string]interface{})` +`func (o *GetCustomTool200ResponseTool) SetInputSchema(v string)` SetInputSchema sets InputSchema field to given value. @@ -187,20 +187,20 @@ HasInputSchema returns a boolean if a field has been set. ### GetOutputSchema -`func (o *GetCustomTool200ResponseTool) GetOutputSchema() map[string]interface{}` +`func (o *GetCustomTool200ResponseTool) GetOutputSchema() string` GetOutputSchema returns the OutputSchema field if non-nil, zero value otherwise. ### GetOutputSchemaOk -`func (o *GetCustomTool200ResponseTool) GetOutputSchemaOk() (*map[string]interface{}, bool)` +`func (o *GetCustomTool200ResponseTool) GetOutputSchemaOk() (*string, bool)` GetOutputSchemaOk returns a tuple with the OutputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOutputSchema -`func (o *GetCustomTool200ResponseTool) SetOutputSchema(v map[string]interface{})` +`func (o *GetCustomTool200ResponseTool) SetOutputSchema(v string)` SetOutputSchema sets OutputSchema field to given value. diff --git a/docs/GetMyUsage200ResponseQuota.md b/docs/GetMyUsage200ResponseQuota.md index 2663089..ceefc4d 100644 --- a/docs/GetMyUsage200ResponseQuota.md +++ b/docs/GetMyUsage200ResponseQuota.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**MonthlyLimit** | Pointer to **NullableInt32** | Per-user monthly budget in US cents | [optional] -**DailyLimit** | Pointer to **NullableInt32** | Per-user daily budget in US cents | [optional] +**MonthlyLimit** | Pointer to [**NullableGetMyUsage200ResponseQuotaMonthlyLimit**](GetMyUsage200ResponseQuotaMonthlyLimit.md) | | [optional] +**DailyLimit** | Pointer to [**NullableGetMyUsage200ResponseQuotaDailyLimit**](GetMyUsage200ResponseQuotaDailyLimit.md) | | [optional] ## Methods @@ -28,20 +28,20 @@ but it doesn't guarantee that properties required by API are set ### GetMonthlyLimit -`func (o *GetMyUsage200ResponseQuota) GetMonthlyLimit() int32` +`func (o *GetMyUsage200ResponseQuota) GetMonthlyLimit() GetMyUsage200ResponseQuotaMonthlyLimit` GetMonthlyLimit returns the MonthlyLimit field if non-nil, zero value otherwise. ### GetMonthlyLimitOk -`func (o *GetMyUsage200ResponseQuota) GetMonthlyLimitOk() (*int32, bool)` +`func (o *GetMyUsage200ResponseQuota) GetMonthlyLimitOk() (*GetMyUsage200ResponseQuotaMonthlyLimit, bool)` GetMonthlyLimitOk returns a tuple with the MonthlyLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetMonthlyLimit -`func (o *GetMyUsage200ResponseQuota) SetMonthlyLimit(v int32)` +`func (o *GetMyUsage200ResponseQuota) SetMonthlyLimit(v GetMyUsage200ResponseQuotaMonthlyLimit)` SetMonthlyLimit sets MonthlyLimit field to given value. @@ -63,20 +63,20 @@ HasMonthlyLimit returns a boolean if a field has been set. UnsetMonthlyLimit ensures that no value is present for MonthlyLimit, not even an explicit nil ### GetDailyLimit -`func (o *GetMyUsage200ResponseQuota) GetDailyLimit() int32` +`func (o *GetMyUsage200ResponseQuota) GetDailyLimit() GetMyUsage200ResponseQuotaDailyLimit` GetDailyLimit returns the DailyLimit field if non-nil, zero value otherwise. ### GetDailyLimitOk -`func (o *GetMyUsage200ResponseQuota) GetDailyLimitOk() (*int32, bool)` +`func (o *GetMyUsage200ResponseQuota) GetDailyLimitOk() (*GetMyUsage200ResponseQuotaDailyLimit, bool)` GetDailyLimitOk returns a tuple with the DailyLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetDailyLimit -`func (o *GetMyUsage200ResponseQuota) SetDailyLimit(v int32)` +`func (o *GetMyUsage200ResponseQuota) SetDailyLimit(v GetMyUsage200ResponseQuotaDailyLimit)` SetDailyLimit sets DailyLimit field to given value. diff --git a/docs/GetMyUsage200ResponseQuotaDailyLimit.md b/docs/GetMyUsage200ResponseQuotaDailyLimit.md new file mode 100644 index 0000000..7a5f230 --- /dev/null +++ b/docs/GetMyUsage200ResponseQuotaDailyLimit.md @@ -0,0 +1,134 @@ +# GetMyUsage200ResponseQuotaDailyLimit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LimitCents** | Pointer to **int32** | The configured daily cap in US cents | [optional] +**UsedPercent** | Pointer to **float32** | Percentage of the cap consumed today (0–100+) | [optional] +**RemainingCents** | Pointer to **int32** | Cents remaining before the cap is hit; can be negative if overspent | [optional] +**ResetsAt** | Pointer to **time.Time** | UTC timestamp when the daily counter resets (always next UTC midnight) | [optional] + +## Methods + +### NewGetMyUsage200ResponseQuotaDailyLimit + +`func NewGetMyUsage200ResponseQuotaDailyLimit() *GetMyUsage200ResponseQuotaDailyLimit` + +NewGetMyUsage200ResponseQuotaDailyLimit instantiates a new GetMyUsage200ResponseQuotaDailyLimit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetMyUsage200ResponseQuotaDailyLimitWithDefaults + +`func NewGetMyUsage200ResponseQuotaDailyLimitWithDefaults() *GetMyUsage200ResponseQuotaDailyLimit` + +NewGetMyUsage200ResponseQuotaDailyLimitWithDefaults instantiates a new GetMyUsage200ResponseQuotaDailyLimit object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimitCents + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetLimitCents() int32` + +GetLimitCents returns the LimitCents field if non-nil, zero value otherwise. + +### GetLimitCentsOk + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetLimitCentsOk() (*int32, bool)` + +GetLimitCentsOk returns a tuple with the LimitCents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitCents + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) SetLimitCents(v int32)` + +SetLimitCents sets LimitCents field to given value. + +### HasLimitCents + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) HasLimitCents() bool` + +HasLimitCents returns a boolean if a field has been set. + +### GetUsedPercent + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetUsedPercent() float32` + +GetUsedPercent returns the UsedPercent field if non-nil, zero value otherwise. + +### GetUsedPercentOk + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetUsedPercentOk() (*float32, bool)` + +GetUsedPercentOk returns a tuple with the UsedPercent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsedPercent + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) SetUsedPercent(v float32)` + +SetUsedPercent sets UsedPercent field to given value. + +### HasUsedPercent + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) HasUsedPercent() bool` + +HasUsedPercent returns a boolean if a field has been set. + +### GetRemainingCents + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetRemainingCents() int32` + +GetRemainingCents returns the RemainingCents field if non-nil, zero value otherwise. + +### GetRemainingCentsOk + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetRemainingCentsOk() (*int32, bool)` + +GetRemainingCentsOk returns a tuple with the RemainingCents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemainingCents + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) SetRemainingCents(v int32)` + +SetRemainingCents sets RemainingCents field to given value. + +### HasRemainingCents + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) HasRemainingCents() bool` + +HasRemainingCents returns a boolean if a field has been set. + +### GetResetsAt + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetResetsAt() time.Time` + +GetResetsAt returns the ResetsAt field if non-nil, zero value otherwise. + +### GetResetsAtOk + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) GetResetsAtOk() (*time.Time, bool)` + +GetResetsAtOk returns a tuple with the ResetsAt field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetResetsAt + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) SetResetsAt(v time.Time)` + +SetResetsAt sets ResetsAt field to given value. + +### HasResetsAt + +`func (o *GetMyUsage200ResponseQuotaDailyLimit) HasResetsAt() bool` + +HasResetsAt returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/GetMyUsage200ResponseQuotaMonthlyLimit.md b/docs/GetMyUsage200ResponseQuotaMonthlyLimit.md new file mode 100644 index 0000000..37a1f2f --- /dev/null +++ b/docs/GetMyUsage200ResponseQuotaMonthlyLimit.md @@ -0,0 +1,108 @@ +# GetMyUsage200ResponseQuotaMonthlyLimit + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**LimitCents** | Pointer to **int32** | The configured monthly cap in US cents | [optional] +**UsedPercent** | Pointer to **float32** | Percentage of the cap consumed this month (0–100+) | [optional] +**RemainingCents** | Pointer to **int32** | Cents remaining before the cap is hit; can be negative if overspent | [optional] + +## Methods + +### NewGetMyUsage200ResponseQuotaMonthlyLimit + +`func NewGetMyUsage200ResponseQuotaMonthlyLimit() *GetMyUsage200ResponseQuotaMonthlyLimit` + +NewGetMyUsage200ResponseQuotaMonthlyLimit instantiates a new GetMyUsage200ResponseQuotaMonthlyLimit object +This constructor will assign default values to properties that have it defined, +and makes sure properties required by API are set, but the set of arguments +will change when the set of required properties is changed + +### NewGetMyUsage200ResponseQuotaMonthlyLimitWithDefaults + +`func NewGetMyUsage200ResponseQuotaMonthlyLimitWithDefaults() *GetMyUsage200ResponseQuotaMonthlyLimit` + +NewGetMyUsage200ResponseQuotaMonthlyLimitWithDefaults instantiates a new GetMyUsage200ResponseQuotaMonthlyLimit object +This constructor will only assign default values to properties that have it defined, +but it doesn't guarantee that properties required by API are set + +### GetLimitCents + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetLimitCents() int32` + +GetLimitCents returns the LimitCents field if non-nil, zero value otherwise. + +### GetLimitCentsOk + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetLimitCentsOk() (*int32, bool)` + +GetLimitCentsOk returns a tuple with the LimitCents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLimitCents + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) SetLimitCents(v int32)` + +SetLimitCents sets LimitCents field to given value. + +### HasLimitCents + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) HasLimitCents() bool` + +HasLimitCents returns a boolean if a field has been set. + +### GetUsedPercent + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetUsedPercent() float32` + +GetUsedPercent returns the UsedPercent field if non-nil, zero value otherwise. + +### GetUsedPercentOk + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetUsedPercentOk() (*float32, bool)` + +GetUsedPercentOk returns a tuple with the UsedPercent field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUsedPercent + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) SetUsedPercent(v float32)` + +SetUsedPercent sets UsedPercent field to given value. + +### HasUsedPercent + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) HasUsedPercent() bool` + +HasUsedPercent returns a boolean if a field has been set. + +### GetRemainingCents + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetRemainingCents() int32` + +GetRemainingCents returns the RemainingCents field if non-nil, zero value otherwise. + +### GetRemainingCentsOk + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetRemainingCentsOk() (*int32, bool)` + +GetRemainingCentsOk returns a tuple with the RemainingCents field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRemainingCents + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) SetRemainingCents(v int32)` + +SetRemainingCents sets RemainingCents field to given value. + +### HasRemainingCents + +`func (o *GetMyUsage200ResponseQuotaMonthlyLimit) HasRemainingCents() bool` + +HasRemainingCents returns a boolean if a field has been set. + + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/ListCustomTools200ResponseToolsInner.md b/docs/ListCustomTools200ResponseToolsInner.md index dbed936..4f98348 100644 --- a/docs/ListCustomTools200ResponseToolsInner.md +++ b/docs/ListCustomTools200ResponseToolsInner.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **Description** | Pointer to **string** | | [optional] **EdgeFunctionUrl** | Pointer to **string** | | [optional] **IsAsync** | Pointer to **bool** | | [optional] -**InputSchema** | Pointer to **map[string]interface{}** | | [optional] +**InputSchema** | Pointer to **string** | | [optional] **CreatedAt** | Pointer to **time.Time** | | [optional] ## Methods @@ -132,20 +132,20 @@ HasIsAsync returns a boolean if a field has been set. ### GetInputSchema -`func (o *ListCustomTools200ResponseToolsInner) GetInputSchema() map[string]interface{}` +`func (o *ListCustomTools200ResponseToolsInner) GetInputSchema() string` GetInputSchema returns the InputSchema field if non-nil, zero value otherwise. ### GetInputSchemaOk -`func (o *ListCustomTools200ResponseToolsInner) GetInputSchemaOk() (*map[string]interface{}, bool)` +`func (o *ListCustomTools200ResponseToolsInner) GetInputSchemaOk() (*string, bool)` GetInputSchemaOk returns a tuple with the InputSchema field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetInputSchema -`func (o *ListCustomTools200ResponseToolsInner) SetInputSchema(v map[string]interface{})` +`func (o *ListCustomTools200ResponseToolsInner) SetInputSchema(v string)` SetInputSchema sets InputSchema field to given value. diff --git a/model_ai_search_chat_request.go b/model_ai_search_chat_request.go new file mode 100644 index 0000000..a3d36a4 --- /dev/null +++ b/model_ai_search_chat_request.go @@ -0,0 +1,279 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" + "fmt" +) + +// checks if the AiSearchChatRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchChatRequest{} + +// AiSearchChatRequest struct for AiSearchChatRequest +type AiSearchChatRequest struct { + Message string `json:"message"` + SessionId *string `json:"sessionId,omitempty"` + ContextUrl *string `json:"contextUrl,omitempty"` + MaxContextChunks *int32 `json:"maxContextChunks,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchChatRequest AiSearchChatRequest + +// NewAiSearchChatRequest instantiates a new AiSearchChatRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchChatRequest(message string) *AiSearchChatRequest { + this := AiSearchChatRequest{} + this.Message = message + return &this +} + +// NewAiSearchChatRequestWithDefaults instantiates a new AiSearchChatRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchChatRequestWithDefaults() *AiSearchChatRequest { + this := AiSearchChatRequest{} + return &this +} + +// GetMessage returns the Message field value +func (o *AiSearchChatRequest) GetMessage() string { + if o == nil { + var ret string + return ret + } + + return o.Message +} + +// GetMessageOk returns a tuple with the Message field value +// and a boolean to check if the value has been set. +func (o *AiSearchChatRequest) GetMessageOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Message, true +} + +// SetMessage sets field value +func (o *AiSearchChatRequest) SetMessage(v string) { + o.Message = v +} + +// GetSessionId returns the SessionId field value if set, zero value otherwise. +func (o *AiSearchChatRequest) GetSessionId() string { + if o == nil || IsNil(o.SessionId) { + var ret string + return ret + } + return *o.SessionId +} + +// GetSessionIdOk returns a tuple with the SessionId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchChatRequest) GetSessionIdOk() (*string, bool) { + if o == nil || IsNil(o.SessionId) { + return nil, false + } + return o.SessionId, true +} + +// HasSessionId returns a boolean if a field has been set. +func (o *AiSearchChatRequest) HasSessionId() bool { + if o != nil && !IsNil(o.SessionId) { + return true + } + + return false +} + +// SetSessionId gets a reference to the given string and assigns it to the SessionId field. +func (o *AiSearchChatRequest) SetSessionId(v string) { + o.SessionId = &v +} + +// GetContextUrl returns the ContextUrl field value if set, zero value otherwise. +func (o *AiSearchChatRequest) GetContextUrl() string { + if o == nil || IsNil(o.ContextUrl) { + var ret string + return ret + } + return *o.ContextUrl +} + +// GetContextUrlOk returns a tuple with the ContextUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchChatRequest) GetContextUrlOk() (*string, bool) { + if o == nil || IsNil(o.ContextUrl) { + return nil, false + } + return o.ContextUrl, true +} + +// HasContextUrl returns a boolean if a field has been set. +func (o *AiSearchChatRequest) HasContextUrl() bool { + if o != nil && !IsNil(o.ContextUrl) { + return true + } + + return false +} + +// SetContextUrl gets a reference to the given string and assigns it to the ContextUrl field. +func (o *AiSearchChatRequest) SetContextUrl(v string) { + o.ContextUrl = &v +} + +// GetMaxContextChunks returns the MaxContextChunks field value if set, zero value otherwise. +func (o *AiSearchChatRequest) GetMaxContextChunks() int32 { + if o == nil || IsNil(o.MaxContextChunks) { + var ret int32 + return ret + } + return *o.MaxContextChunks +} + +// GetMaxContextChunksOk returns a tuple with the MaxContextChunks field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchChatRequest) GetMaxContextChunksOk() (*int32, bool) { + if o == nil || IsNil(o.MaxContextChunks) { + return nil, false + } + return o.MaxContextChunks, true +} + +// HasMaxContextChunks returns a boolean if a field has been set. +func (o *AiSearchChatRequest) HasMaxContextChunks() bool { + if o != nil && !IsNil(o.MaxContextChunks) { + return true + } + + return false +} + +// SetMaxContextChunks gets a reference to the given int32 and assigns it to the MaxContextChunks field. +func (o *AiSearchChatRequest) SetMaxContextChunks(v int32) { + o.MaxContextChunks = &v +} + +func (o AiSearchChatRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchChatRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["message"] = o.Message + if !IsNil(o.SessionId) { + toSerialize["sessionId"] = o.SessionId + } + if !IsNil(o.ContextUrl) { + toSerialize["contextUrl"] = o.ContextUrl + } + if !IsNil(o.MaxContextChunks) { + toSerialize["maxContextChunks"] = o.MaxContextChunks + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchChatRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "message", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAiSearchChatRequest := _AiSearchChatRequest{} + + err = json.Unmarshal(data, &varAiSearchChatRequest) + + if err != nil { + return err + } + + *o = AiSearchChatRequest(varAiSearchChatRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "message") + delete(additionalProperties, "sessionId") + delete(additionalProperties, "contextUrl") + delete(additionalProperties, "maxContextChunks") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchChatRequest struct { + value *AiSearchChatRequest + isSet bool +} + +func (v NullableAiSearchChatRequest) Get() *AiSearchChatRequest { + return v.value +} + +func (v *NullableAiSearchChatRequest) Set(val *AiSearchChatRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchChatRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchChatRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchChatRequest(val *AiSearchChatRequest) *NullableAiSearchChatRequest { + return &NullableAiSearchChatRequest{value: val, isSet: true} +} + +func (v NullableAiSearchChatRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchChatRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_delete_pages_request.go b/model_ai_search_delete_pages_request.go new file mode 100644 index 0000000..9a6d298 --- /dev/null +++ b/model_ai_search_delete_pages_request.go @@ -0,0 +1,192 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" +) + +// checks if the AiSearchDeletePagesRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchDeletePagesRequest{} + +// AiSearchDeletePagesRequest struct for AiSearchDeletePagesRequest +type AiSearchDeletePagesRequest struct { + Urls []string `json:"urls,omitempty"` + Patterns []string `json:"patterns,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchDeletePagesRequest AiSearchDeletePagesRequest + +// NewAiSearchDeletePagesRequest instantiates a new AiSearchDeletePagesRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchDeletePagesRequest() *AiSearchDeletePagesRequest { + this := AiSearchDeletePagesRequest{} + return &this +} + +// NewAiSearchDeletePagesRequestWithDefaults instantiates a new AiSearchDeletePagesRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchDeletePagesRequestWithDefaults() *AiSearchDeletePagesRequest { + this := AiSearchDeletePagesRequest{} + return &this +} + +// GetUrls returns the Urls field value if set, zero value otherwise. +func (o *AiSearchDeletePagesRequest) GetUrls() []string { + if o == nil || IsNil(o.Urls) { + var ret []string + return ret + } + return o.Urls +} + +// GetUrlsOk returns a tuple with the Urls field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchDeletePagesRequest) GetUrlsOk() ([]string, bool) { + if o == nil || IsNil(o.Urls) { + return nil, false + } + return o.Urls, true +} + +// HasUrls returns a boolean if a field has been set. +func (o *AiSearchDeletePagesRequest) HasUrls() bool { + if o != nil && !IsNil(o.Urls) { + return true + } + + return false +} + +// SetUrls gets a reference to the given []string and assigns it to the Urls field. +func (o *AiSearchDeletePagesRequest) SetUrls(v []string) { + o.Urls = v +} + +// GetPatterns returns the Patterns field value if set, zero value otherwise. +func (o *AiSearchDeletePagesRequest) GetPatterns() []string { + if o == nil || IsNil(o.Patterns) { + var ret []string + return ret + } + return o.Patterns +} + +// GetPatternsOk returns a tuple with the Patterns field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchDeletePagesRequest) GetPatternsOk() ([]string, bool) { + if o == nil || IsNil(o.Patterns) { + return nil, false + } + return o.Patterns, true +} + +// HasPatterns returns a boolean if a field has been set. +func (o *AiSearchDeletePagesRequest) HasPatterns() bool { + if o != nil && !IsNil(o.Patterns) { + return true + } + + return false +} + +// SetPatterns gets a reference to the given []string and assigns it to the Patterns field. +func (o *AiSearchDeletePagesRequest) SetPatterns(v []string) { + o.Patterns = v +} + +func (o AiSearchDeletePagesRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchDeletePagesRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Urls) { + toSerialize["urls"] = o.Urls + } + if !IsNil(o.Patterns) { + toSerialize["patterns"] = o.Patterns + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchDeletePagesRequest) UnmarshalJSON(data []byte) (err error) { + varAiSearchDeletePagesRequest := _AiSearchDeletePagesRequest{} + + err = json.Unmarshal(data, &varAiSearchDeletePagesRequest) + + if err != nil { + return err + } + + *o = AiSearchDeletePagesRequest(varAiSearchDeletePagesRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "urls") + delete(additionalProperties, "patterns") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchDeletePagesRequest struct { + value *AiSearchDeletePagesRequest + isSet bool +} + +func (v NullableAiSearchDeletePagesRequest) Get() *AiSearchDeletePagesRequest { + return v.value +} + +func (v *NullableAiSearchDeletePagesRequest) Set(val *AiSearchDeletePagesRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchDeletePagesRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchDeletePagesRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchDeletePagesRequest(val *AiSearchDeletePagesRequest) *NullableAiSearchDeletePagesRequest { + return &NullableAiSearchDeletePagesRequest{value: val, isSet: true} +} + +func (v NullableAiSearchDeletePagesRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchDeletePagesRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_enable_request.go b/model_ai_search_enable_request.go new file mode 100644 index 0000000..3cac909 --- /dev/null +++ b/model_ai_search_enable_request.go @@ -0,0 +1,192 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" +) + +// checks if the AiSearchEnableRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchEnableRequest{} + +// AiSearchEnableRequest struct for AiSearchEnableRequest +type AiSearchEnableRequest struct { + BaseUrl *string `json:"baseUrl,omitempty"` + CrawlerConfig map[string]interface{} `json:"crawlerConfig,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchEnableRequest AiSearchEnableRequest + +// NewAiSearchEnableRequest instantiates a new AiSearchEnableRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchEnableRequest() *AiSearchEnableRequest { + this := AiSearchEnableRequest{} + return &this +} + +// NewAiSearchEnableRequestWithDefaults instantiates a new AiSearchEnableRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchEnableRequestWithDefaults() *AiSearchEnableRequest { + this := AiSearchEnableRequest{} + return &this +} + +// GetBaseUrl returns the BaseUrl field value if set, zero value otherwise. +func (o *AiSearchEnableRequest) GetBaseUrl() string { + if o == nil || IsNil(o.BaseUrl) { + var ret string + return ret + } + return *o.BaseUrl +} + +// GetBaseUrlOk returns a tuple with the BaseUrl field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchEnableRequest) GetBaseUrlOk() (*string, bool) { + if o == nil || IsNil(o.BaseUrl) { + return nil, false + } + return o.BaseUrl, true +} + +// HasBaseUrl returns a boolean if a field has been set. +func (o *AiSearchEnableRequest) HasBaseUrl() bool { + if o != nil && !IsNil(o.BaseUrl) { + return true + } + + return false +} + +// SetBaseUrl gets a reference to the given string and assigns it to the BaseUrl field. +func (o *AiSearchEnableRequest) SetBaseUrl(v string) { + o.BaseUrl = &v +} + +// GetCrawlerConfig returns the CrawlerConfig field value if set, zero value otherwise. +func (o *AiSearchEnableRequest) GetCrawlerConfig() map[string]interface{} { + if o == nil || IsNil(o.CrawlerConfig) { + var ret map[string]interface{} + return ret + } + return o.CrawlerConfig +} + +// GetCrawlerConfigOk returns a tuple with the CrawlerConfig field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchEnableRequest) GetCrawlerConfigOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.CrawlerConfig) { + return map[string]interface{}{}, false + } + return o.CrawlerConfig, true +} + +// HasCrawlerConfig returns a boolean if a field has been set. +func (o *AiSearchEnableRequest) HasCrawlerConfig() bool { + if o != nil && !IsNil(o.CrawlerConfig) { + return true + } + + return false +} + +// SetCrawlerConfig gets a reference to the given map[string]interface{} and assigns it to the CrawlerConfig field. +func (o *AiSearchEnableRequest) SetCrawlerConfig(v map[string]interface{}) { + o.CrawlerConfig = v +} + +func (o AiSearchEnableRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchEnableRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.BaseUrl) { + toSerialize["baseUrl"] = o.BaseUrl + } + if !IsNil(o.CrawlerConfig) { + toSerialize["crawlerConfig"] = o.CrawlerConfig + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchEnableRequest) UnmarshalJSON(data []byte) (err error) { + varAiSearchEnableRequest := _AiSearchEnableRequest{} + + err = json.Unmarshal(data, &varAiSearchEnableRequest) + + if err != nil { + return err + } + + *o = AiSearchEnableRequest(varAiSearchEnableRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "baseUrl") + delete(additionalProperties, "crawlerConfig") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchEnableRequest struct { + value *AiSearchEnableRequest + isSet bool +} + +func (v NullableAiSearchEnableRequest) Get() *AiSearchEnableRequest { + return v.value +} + +func (v *NullableAiSearchEnableRequest) Set(val *AiSearchEnableRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchEnableRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchEnableRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchEnableRequest(val *AiSearchEnableRequest) *NullableAiSearchEnableRequest { + return &NullableAiSearchEnableRequest{value: val, isSet: true} +} + +func (v NullableAiSearchEnableRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchEnableRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_ingest_pages_request.go b/model_ai_search_ingest_pages_request.go new file mode 100644 index 0000000..a28a02f --- /dev/null +++ b/model_ai_search_ingest_pages_request.go @@ -0,0 +1,205 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" + "fmt" +) + +// checks if the AiSearchIngestPagesRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchIngestPagesRequest{} + +// AiSearchIngestPagesRequest struct for AiSearchIngestPagesRequest +type AiSearchIngestPagesRequest struct { + JobId *string `json:"jobId,omitempty"` + Pages []AiSearchIngestPagesRequestPagesInner `json:"pages"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchIngestPagesRequest AiSearchIngestPagesRequest + +// NewAiSearchIngestPagesRequest instantiates a new AiSearchIngestPagesRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchIngestPagesRequest(pages []AiSearchIngestPagesRequestPagesInner) *AiSearchIngestPagesRequest { + this := AiSearchIngestPagesRequest{} + this.Pages = pages + return &this +} + +// NewAiSearchIngestPagesRequestWithDefaults instantiates a new AiSearchIngestPagesRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchIngestPagesRequestWithDefaults() *AiSearchIngestPagesRequest { + this := AiSearchIngestPagesRequest{} + return &this +} + +// GetJobId returns the JobId field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequest) GetJobId() string { + if o == nil || IsNil(o.JobId) { + var ret string + return ret + } + return *o.JobId +} + +// GetJobIdOk returns a tuple with the JobId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequest) GetJobIdOk() (*string, bool) { + if o == nil || IsNil(o.JobId) { + return nil, false + } + return o.JobId, true +} + +// HasJobId returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequest) HasJobId() bool { + if o != nil && !IsNil(o.JobId) { + return true + } + + return false +} + +// SetJobId gets a reference to the given string and assigns it to the JobId field. +func (o *AiSearchIngestPagesRequest) SetJobId(v string) { + o.JobId = &v +} + +// GetPages returns the Pages field value +func (o *AiSearchIngestPagesRequest) GetPages() []AiSearchIngestPagesRequestPagesInner { + if o == nil { + var ret []AiSearchIngestPagesRequestPagesInner + return ret + } + + return o.Pages +} + +// GetPagesOk returns a tuple with the Pages field value +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequest) GetPagesOk() ([]AiSearchIngestPagesRequestPagesInner, bool) { + if o == nil { + return nil, false + } + return o.Pages, true +} + +// SetPages sets field value +func (o *AiSearchIngestPagesRequest) SetPages(v []AiSearchIngestPagesRequestPagesInner) { + o.Pages = v +} + +func (o AiSearchIngestPagesRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchIngestPagesRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.JobId) { + toSerialize["jobId"] = o.JobId + } + toSerialize["pages"] = o.Pages + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchIngestPagesRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "pages", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAiSearchIngestPagesRequest := _AiSearchIngestPagesRequest{} + + err = json.Unmarshal(data, &varAiSearchIngestPagesRequest) + + if err != nil { + return err + } + + *o = AiSearchIngestPagesRequest(varAiSearchIngestPagesRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "jobId") + delete(additionalProperties, "pages") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchIngestPagesRequest struct { + value *AiSearchIngestPagesRequest + isSet bool +} + +func (v NullableAiSearchIngestPagesRequest) Get() *AiSearchIngestPagesRequest { + return v.value +} + +func (v *NullableAiSearchIngestPagesRequest) Set(val *AiSearchIngestPagesRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchIngestPagesRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchIngestPagesRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchIngestPagesRequest(val *AiSearchIngestPagesRequest) *NullableAiSearchIngestPagesRequest { + return &NullableAiSearchIngestPagesRequest{value: val, isSet: true} +} + +func (v NullableAiSearchIngestPagesRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchIngestPagesRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_ingest_pages_request_pages_inner.go b/model_ai_search_ingest_pages_request_pages_inner.go new file mode 100644 index 0000000..ef322df --- /dev/null +++ b/model_ai_search_ingest_pages_request_pages_inner.go @@ -0,0 +1,448 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" + "fmt" +) + +// checks if the AiSearchIngestPagesRequestPagesInner type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchIngestPagesRequestPagesInner{} + +// AiSearchIngestPagesRequestPagesInner struct for AiSearchIngestPagesRequestPagesInner +type AiSearchIngestPagesRequestPagesInner struct { + Url string `json:"url"` + Title string `json:"title"` + Content string `json:"content"` + ContentType *string `json:"contentType,omitempty"` + FetchedAt *string `json:"fetchedAt,omitempty"` + PreProcessed *bool `json:"preProcessed,omitempty"` + Summary *string `json:"summary,omitempty"` + Tags []string `json:"tags,omitempty"` + Topics []string `json:"topics,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchIngestPagesRequestPagesInner AiSearchIngestPagesRequestPagesInner + +// NewAiSearchIngestPagesRequestPagesInner instantiates a new AiSearchIngestPagesRequestPagesInner object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchIngestPagesRequestPagesInner(url string, title string, content string) *AiSearchIngestPagesRequestPagesInner { + this := AiSearchIngestPagesRequestPagesInner{} + this.Url = url + this.Title = title + this.Content = content + return &this +} + +// NewAiSearchIngestPagesRequestPagesInnerWithDefaults instantiates a new AiSearchIngestPagesRequestPagesInner object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchIngestPagesRequestPagesInnerWithDefaults() *AiSearchIngestPagesRequestPagesInner { + this := AiSearchIngestPagesRequestPagesInner{} + return &this +} + +// GetUrl returns the Url field value +func (o *AiSearchIngestPagesRequestPagesInner) GetUrl() string { + if o == nil { + var ret string + return ret + } + + return o.Url +} + +// GetUrlOk returns a tuple with the Url field value +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetUrlOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Url, true +} + +// SetUrl sets field value +func (o *AiSearchIngestPagesRequestPagesInner) SetUrl(v string) { + o.Url = v +} + +// GetTitle returns the Title field value +func (o *AiSearchIngestPagesRequestPagesInner) GetTitle() string { + if o == nil { + var ret string + return ret + } + + return o.Title +} + +// GetTitleOk returns a tuple with the Title field value +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetTitleOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Title, true +} + +// SetTitle sets field value +func (o *AiSearchIngestPagesRequestPagesInner) SetTitle(v string) { + o.Title = v +} + +// GetContent returns the Content field value +func (o *AiSearchIngestPagesRequestPagesInner) GetContent() string { + if o == nil { + var ret string + return ret + } + + return o.Content +} + +// GetContentOk returns a tuple with the Content field value +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetContentOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Content, true +} + +// SetContent sets field value +func (o *AiSearchIngestPagesRequestPagesInner) SetContent(v string) { + o.Content = v +} + +// GetContentType returns the ContentType field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequestPagesInner) GetContentType() string { + if o == nil || IsNil(o.ContentType) { + var ret string + return ret + } + return *o.ContentType +} + +// GetContentTypeOk returns a tuple with the ContentType field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetContentTypeOk() (*string, bool) { + if o == nil || IsNil(o.ContentType) { + return nil, false + } + return o.ContentType, true +} + +// HasContentType returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequestPagesInner) HasContentType() bool { + if o != nil && !IsNil(o.ContentType) { + return true + } + + return false +} + +// SetContentType gets a reference to the given string and assigns it to the ContentType field. +func (o *AiSearchIngestPagesRequestPagesInner) SetContentType(v string) { + o.ContentType = &v +} + +// GetFetchedAt returns the FetchedAt field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequestPagesInner) GetFetchedAt() string { + if o == nil || IsNil(o.FetchedAt) { + var ret string + return ret + } + return *o.FetchedAt +} + +// GetFetchedAtOk returns a tuple with the FetchedAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetFetchedAtOk() (*string, bool) { + if o == nil || IsNil(o.FetchedAt) { + return nil, false + } + return o.FetchedAt, true +} + +// HasFetchedAt returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequestPagesInner) HasFetchedAt() bool { + if o != nil && !IsNil(o.FetchedAt) { + return true + } + + return false +} + +// SetFetchedAt gets a reference to the given string and assigns it to the FetchedAt field. +func (o *AiSearchIngestPagesRequestPagesInner) SetFetchedAt(v string) { + o.FetchedAt = &v +} + +// GetPreProcessed returns the PreProcessed field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequestPagesInner) GetPreProcessed() bool { + if o == nil || IsNil(o.PreProcessed) { + var ret bool + return ret + } + return *o.PreProcessed +} + +// GetPreProcessedOk returns a tuple with the PreProcessed field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetPreProcessedOk() (*bool, bool) { + if o == nil || IsNil(o.PreProcessed) { + return nil, false + } + return o.PreProcessed, true +} + +// HasPreProcessed returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequestPagesInner) HasPreProcessed() bool { + if o != nil && !IsNil(o.PreProcessed) { + return true + } + + return false +} + +// SetPreProcessed gets a reference to the given bool and assigns it to the PreProcessed field. +func (o *AiSearchIngestPagesRequestPagesInner) SetPreProcessed(v bool) { + o.PreProcessed = &v +} + +// GetSummary returns the Summary field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequestPagesInner) GetSummary() string { + if o == nil || IsNil(o.Summary) { + var ret string + return ret + } + return *o.Summary +} + +// GetSummaryOk returns a tuple with the Summary field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetSummaryOk() (*string, bool) { + if o == nil || IsNil(o.Summary) { + return nil, false + } + return o.Summary, true +} + +// HasSummary returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequestPagesInner) HasSummary() bool { + if o != nil && !IsNil(o.Summary) { + return true + } + + return false +} + +// SetSummary gets a reference to the given string and assigns it to the Summary field. +func (o *AiSearchIngestPagesRequestPagesInner) SetSummary(v string) { + o.Summary = &v +} + +// GetTags returns the Tags field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequestPagesInner) GetTags() []string { + if o == nil || IsNil(o.Tags) { + var ret []string + return ret + } + return o.Tags +} + +// GetTagsOk returns a tuple with the Tags field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetTagsOk() ([]string, bool) { + if o == nil || IsNil(o.Tags) { + return nil, false + } + return o.Tags, true +} + +// HasTags returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequestPagesInner) HasTags() bool { + if o != nil && !IsNil(o.Tags) { + return true + } + + return false +} + +// SetTags gets a reference to the given []string and assigns it to the Tags field. +func (o *AiSearchIngestPagesRequestPagesInner) SetTags(v []string) { + o.Tags = v +} + +// GetTopics returns the Topics field value if set, zero value otherwise. +func (o *AiSearchIngestPagesRequestPagesInner) GetTopics() []string { + if o == nil || IsNil(o.Topics) { + var ret []string + return ret + } + return o.Topics +} + +// GetTopicsOk returns a tuple with the Topics field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchIngestPagesRequestPagesInner) GetTopicsOk() ([]string, bool) { + if o == nil || IsNil(o.Topics) { + return nil, false + } + return o.Topics, true +} + +// HasTopics returns a boolean if a field has been set. +func (o *AiSearchIngestPagesRequestPagesInner) HasTopics() bool { + if o != nil && !IsNil(o.Topics) { + return true + } + + return false +} + +// SetTopics gets a reference to the given []string and assigns it to the Topics field. +func (o *AiSearchIngestPagesRequestPagesInner) SetTopics(v []string) { + o.Topics = v +} + +func (o AiSearchIngestPagesRequestPagesInner) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchIngestPagesRequestPagesInner) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["url"] = o.Url + toSerialize["title"] = o.Title + toSerialize["content"] = o.Content + if !IsNil(o.ContentType) { + toSerialize["contentType"] = o.ContentType + } + if !IsNil(o.FetchedAt) { + toSerialize["fetchedAt"] = o.FetchedAt + } + if !IsNil(o.PreProcessed) { + toSerialize["preProcessed"] = o.PreProcessed + } + if !IsNil(o.Summary) { + toSerialize["summary"] = o.Summary + } + if !IsNil(o.Tags) { + toSerialize["tags"] = o.Tags + } + if !IsNil(o.Topics) { + toSerialize["topics"] = o.Topics + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchIngestPagesRequestPagesInner) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "url", + "title", + "content", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAiSearchIngestPagesRequestPagesInner := _AiSearchIngestPagesRequestPagesInner{} + + err = json.Unmarshal(data, &varAiSearchIngestPagesRequestPagesInner) + + if err != nil { + return err + } + + *o = AiSearchIngestPagesRequestPagesInner(varAiSearchIngestPagesRequestPagesInner) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "url") + delete(additionalProperties, "title") + delete(additionalProperties, "content") + delete(additionalProperties, "contentType") + delete(additionalProperties, "fetchedAt") + delete(additionalProperties, "preProcessed") + delete(additionalProperties, "summary") + delete(additionalProperties, "tags") + delete(additionalProperties, "topics") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchIngestPagesRequestPagesInner struct { + value *AiSearchIngestPagesRequestPagesInner + isSet bool +} + +func (v NullableAiSearchIngestPagesRequestPagesInner) Get() *AiSearchIngestPagesRequestPagesInner { + return v.value +} + +func (v *NullableAiSearchIngestPagesRequestPagesInner) Set(val *AiSearchIngestPagesRequestPagesInner) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchIngestPagesRequestPagesInner) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchIngestPagesRequestPagesInner) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchIngestPagesRequestPagesInner(val *AiSearchIngestPagesRequestPagesInner) *NullableAiSearchIngestPagesRequestPagesInner { + return &NullableAiSearchIngestPagesRequestPagesInner{value: val, isSet: true} +} + +func (v NullableAiSearchIngestPagesRequestPagesInner) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchIngestPagesRequestPagesInner) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_search_request.go b/model_ai_search_search_request.go new file mode 100644 index 0000000..75c3ada --- /dev/null +++ b/model_ai_search_search_request.go @@ -0,0 +1,242 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" + "fmt" +) + +// checks if the AiSearchSearchRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchSearchRequest{} + +// AiSearchSearchRequest struct for AiSearchSearchRequest +type AiSearchSearchRequest struct { + Query string `json:"query"` + Limit *int32 `json:"limit,omitempty"` + MinScore *float32 `json:"minScore,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchSearchRequest AiSearchSearchRequest + +// NewAiSearchSearchRequest instantiates a new AiSearchSearchRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchSearchRequest(query string) *AiSearchSearchRequest { + this := AiSearchSearchRequest{} + this.Query = query + return &this +} + +// NewAiSearchSearchRequestWithDefaults instantiates a new AiSearchSearchRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchSearchRequestWithDefaults() *AiSearchSearchRequest { + this := AiSearchSearchRequest{} + return &this +} + +// GetQuery returns the Query field value +func (o *AiSearchSearchRequest) GetQuery() string { + if o == nil { + var ret string + return ret + } + + return o.Query +} + +// GetQueryOk returns a tuple with the Query field value +// and a boolean to check if the value has been set. +func (o *AiSearchSearchRequest) GetQueryOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.Query, true +} + +// SetQuery sets field value +func (o *AiSearchSearchRequest) SetQuery(v string) { + o.Query = v +} + +// GetLimit returns the Limit field value if set, zero value otherwise. +func (o *AiSearchSearchRequest) GetLimit() int32 { + if o == nil || IsNil(o.Limit) { + var ret int32 + return ret + } + return *o.Limit +} + +// GetLimitOk returns a tuple with the Limit field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchSearchRequest) GetLimitOk() (*int32, bool) { + if o == nil || IsNil(o.Limit) { + return nil, false + } + return o.Limit, true +} + +// HasLimit returns a boolean if a field has been set. +func (o *AiSearchSearchRequest) HasLimit() bool { + if o != nil && !IsNil(o.Limit) { + return true + } + + return false +} + +// SetLimit gets a reference to the given int32 and assigns it to the Limit field. +func (o *AiSearchSearchRequest) SetLimit(v int32) { + o.Limit = &v +} + +// GetMinScore returns the MinScore field value if set, zero value otherwise. +func (o *AiSearchSearchRequest) GetMinScore() float32 { + if o == nil || IsNil(o.MinScore) { + var ret float32 + return ret + } + return *o.MinScore +} + +// GetMinScoreOk returns a tuple with the MinScore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchSearchRequest) GetMinScoreOk() (*float32, bool) { + if o == nil || IsNil(o.MinScore) { + return nil, false + } + return o.MinScore, true +} + +// HasMinScore returns a boolean if a field has been set. +func (o *AiSearchSearchRequest) HasMinScore() bool { + if o != nil && !IsNil(o.MinScore) { + return true + } + + return false +} + +// SetMinScore gets a reference to the given float32 and assigns it to the MinScore field. +func (o *AiSearchSearchRequest) SetMinScore(v float32) { + o.MinScore = &v +} + +func (o AiSearchSearchRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchSearchRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["query"] = o.Query + if !IsNil(o.Limit) { + toSerialize["limit"] = o.Limit + } + if !IsNil(o.MinScore) { + toSerialize["minScore"] = o.MinScore + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchSearchRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "query", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAiSearchSearchRequest := _AiSearchSearchRequest{} + + err = json.Unmarshal(data, &varAiSearchSearchRequest) + + if err != nil { + return err + } + + *o = AiSearchSearchRequest(varAiSearchSearchRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "query") + delete(additionalProperties, "limit") + delete(additionalProperties, "minScore") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchSearchRequest struct { + value *AiSearchSearchRequest + isSet bool +} + +func (v NullableAiSearchSearchRequest) Get() *AiSearchSearchRequest { + return v.value +} + +func (v *NullableAiSearchSearchRequest) Set(val *AiSearchSearchRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchSearchRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchSearchRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchSearchRequest(val *AiSearchSearchRequest) *NullableAiSearchSearchRequest { + return &NullableAiSearchSearchRequest{value: val, isSet: true} +} + +func (v NullableAiSearchSearchRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchSearchRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_trigger_crawl_request.go b/model_ai_search_trigger_crawl_request.go new file mode 100644 index 0000000..14437e5 --- /dev/null +++ b/model_ai_search_trigger_crawl_request.go @@ -0,0 +1,168 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" + "fmt" +) + +// checks if the AiSearchTriggerCrawlRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchTriggerCrawlRequest{} + +// AiSearchTriggerCrawlRequest struct for AiSearchTriggerCrawlRequest +type AiSearchTriggerCrawlRequest struct { + CrawlerUuid string `json:"crawler_uuid"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchTriggerCrawlRequest AiSearchTriggerCrawlRequest + +// NewAiSearchTriggerCrawlRequest instantiates a new AiSearchTriggerCrawlRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchTriggerCrawlRequest(crawlerUuid string) *AiSearchTriggerCrawlRequest { + this := AiSearchTriggerCrawlRequest{} + this.CrawlerUuid = crawlerUuid + return &this +} + +// NewAiSearchTriggerCrawlRequestWithDefaults instantiates a new AiSearchTriggerCrawlRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchTriggerCrawlRequestWithDefaults() *AiSearchTriggerCrawlRequest { + this := AiSearchTriggerCrawlRequest{} + return &this +} + +// GetCrawlerUuid returns the CrawlerUuid field value +func (o *AiSearchTriggerCrawlRequest) GetCrawlerUuid() string { + if o == nil { + var ret string + return ret + } + + return o.CrawlerUuid +} + +// GetCrawlerUuidOk returns a tuple with the CrawlerUuid field value +// and a boolean to check if the value has been set. +func (o *AiSearchTriggerCrawlRequest) GetCrawlerUuidOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.CrawlerUuid, true +} + +// SetCrawlerUuid sets field value +func (o *AiSearchTriggerCrawlRequest) SetCrawlerUuid(v string) { + o.CrawlerUuid = v +} + +func (o AiSearchTriggerCrawlRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchTriggerCrawlRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + toSerialize["crawler_uuid"] = o.CrawlerUuid + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchTriggerCrawlRequest) UnmarshalJSON(data []byte) (err error) { + // This validates that all required properties are included in the JSON object + // by unmarshalling the object into a generic map with string keys and checking + // that every required field exists as a key in the generic map. + requiredProperties := []string{ + "crawler_uuid", + } + + allProperties := make(map[string]interface{}) + + err = json.Unmarshal(data, &allProperties) + + if err != nil { + return err; + } + + for _, requiredProperty := range(requiredProperties) { + if _, exists := allProperties[requiredProperty]; !exists { + return fmt.Errorf("no value given for required property %v", requiredProperty) + } + } + + varAiSearchTriggerCrawlRequest := _AiSearchTriggerCrawlRequest{} + + err = json.Unmarshal(data, &varAiSearchTriggerCrawlRequest) + + if err != nil { + return err + } + + *o = AiSearchTriggerCrawlRequest(varAiSearchTriggerCrawlRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "crawler_uuid") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchTriggerCrawlRequest struct { + value *AiSearchTriggerCrawlRequest + isSet bool +} + +func (v NullableAiSearchTriggerCrawlRequest) Get() *AiSearchTriggerCrawlRequest { + return v.value +} + +func (v *NullableAiSearchTriggerCrawlRequest) Set(val *AiSearchTriggerCrawlRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchTriggerCrawlRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchTriggerCrawlRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchTriggerCrawlRequest(val *AiSearchTriggerCrawlRequest) *NullableAiSearchTriggerCrawlRequest { + return &NullableAiSearchTriggerCrawlRequest{value: val, isSet: true} +} + +func (v NullableAiSearchTriggerCrawlRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchTriggerCrawlRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_ai_search_update_settings_request.go b/model_ai_search_update_settings_request.go new file mode 100644 index 0000000..5c4212b --- /dev/null +++ b/model_ai_search_update_settings_request.go @@ -0,0 +1,192 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" +) + +// checks if the AiSearchUpdateSettingsRequest type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &AiSearchUpdateSettingsRequest{} + +// AiSearchUpdateSettingsRequest struct for AiSearchUpdateSettingsRequest +type AiSearchUpdateSettingsRequest struct { + PublicAccess map[string]interface{} `json:"publicAccess,omitempty"` + RateLimits map[string]interface{} `json:"rateLimits,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _AiSearchUpdateSettingsRequest AiSearchUpdateSettingsRequest + +// NewAiSearchUpdateSettingsRequest instantiates a new AiSearchUpdateSettingsRequest object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewAiSearchUpdateSettingsRequest() *AiSearchUpdateSettingsRequest { + this := AiSearchUpdateSettingsRequest{} + return &this +} + +// NewAiSearchUpdateSettingsRequestWithDefaults instantiates a new AiSearchUpdateSettingsRequest object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewAiSearchUpdateSettingsRequestWithDefaults() *AiSearchUpdateSettingsRequest { + this := AiSearchUpdateSettingsRequest{} + return &this +} + +// GetPublicAccess returns the PublicAccess field value if set, zero value otherwise. +func (o *AiSearchUpdateSettingsRequest) GetPublicAccess() map[string]interface{} { + if o == nil || IsNil(o.PublicAccess) { + var ret map[string]interface{} + return ret + } + return o.PublicAccess +} + +// GetPublicAccessOk returns a tuple with the PublicAccess field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchUpdateSettingsRequest) GetPublicAccessOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.PublicAccess) { + return map[string]interface{}{}, false + } + return o.PublicAccess, true +} + +// HasPublicAccess returns a boolean if a field has been set. +func (o *AiSearchUpdateSettingsRequest) HasPublicAccess() bool { + if o != nil && !IsNil(o.PublicAccess) { + return true + } + + return false +} + +// SetPublicAccess gets a reference to the given map[string]interface{} and assigns it to the PublicAccess field. +func (o *AiSearchUpdateSettingsRequest) SetPublicAccess(v map[string]interface{}) { + o.PublicAccess = v +} + +// GetRateLimits returns the RateLimits field value if set, zero value otherwise. +func (o *AiSearchUpdateSettingsRequest) GetRateLimits() map[string]interface{} { + if o == nil || IsNil(o.RateLimits) { + var ret map[string]interface{} + return ret + } + return o.RateLimits +} + +// GetRateLimitsOk returns a tuple with the RateLimits field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AiSearchUpdateSettingsRequest) GetRateLimitsOk() (map[string]interface{}, bool) { + if o == nil || IsNil(o.RateLimits) { + return map[string]interface{}{}, false + } + return o.RateLimits, true +} + +// HasRateLimits returns a boolean if a field has been set. +func (o *AiSearchUpdateSettingsRequest) HasRateLimits() bool { + if o != nil && !IsNil(o.RateLimits) { + return true + } + + return false +} + +// SetRateLimits gets a reference to the given map[string]interface{} and assigns it to the RateLimits field. +func (o *AiSearchUpdateSettingsRequest) SetRateLimits(v map[string]interface{}) { + o.RateLimits = v +} + +func (o AiSearchUpdateSettingsRequest) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o AiSearchUpdateSettingsRequest) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.PublicAccess) { + toSerialize["publicAccess"] = o.PublicAccess + } + if !IsNil(o.RateLimits) { + toSerialize["rateLimits"] = o.RateLimits + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *AiSearchUpdateSettingsRequest) UnmarshalJSON(data []byte) (err error) { + varAiSearchUpdateSettingsRequest := _AiSearchUpdateSettingsRequest{} + + err = json.Unmarshal(data, &varAiSearchUpdateSettingsRequest) + + if err != nil { + return err + } + + *o = AiSearchUpdateSettingsRequest(varAiSearchUpdateSettingsRequest) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "publicAccess") + delete(additionalProperties, "rateLimits") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableAiSearchUpdateSettingsRequest struct { + value *AiSearchUpdateSettingsRequest + isSet bool +} + +func (v NullableAiSearchUpdateSettingsRequest) Get() *AiSearchUpdateSettingsRequest { + return v.value +} + +func (v *NullableAiSearchUpdateSettingsRequest) Set(val *AiSearchUpdateSettingsRequest) { + v.value = val + v.isSet = true +} + +func (v NullableAiSearchUpdateSettingsRequest) IsSet() bool { + return v.isSet +} + +func (v *NullableAiSearchUpdateSettingsRequest) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableAiSearchUpdateSettingsRequest(val *AiSearchUpdateSettingsRequest) *NullableAiSearchUpdateSettingsRequest { + return &NullableAiSearchUpdateSettingsRequest{value: val, isSet: true} +} + +func (v NullableAiSearchUpdateSettingsRequest) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableAiSearchUpdateSettingsRequest) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_application.go b/model_application.go index fc4fa77..c34f9a3 100644 --- a/model_application.go +++ b/model_application.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_application_database.go b/model_application_database.go index 0810555..6e08171 100644 --- a/model_application_database.go +++ b/model_application_database.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_application_deployment_information_inner.go b/model_application_deployment_information_inner.go index fc78f3e..08b3daf 100644 --- a/model_application_deployment_information_inner.go +++ b/model_application_deployment_information_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_application_filesystem.go b/model_application_filesystem.go index 4293a90..b88cd15 100644 --- a/model_application_filesystem.go +++ b/model_application_filesystem.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_application_image_reference.go b/model_application_image_reference.go index 781f746..cf3bf9e 100644 --- a/model_application_image_reference.go +++ b/model_application_image_reference.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_bulk_set_environment_variables_request.go b/model_bulk_set_environment_variables_request.go index 6f248f2..b8e6b33 100644 --- a/model_bulk_set_environment_variables_request.go +++ b/model_bulk_set_environment_variables_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_bulk_set_environment_variables_request_environment_inner.go b/model_bulk_set_environment_variables_request_environment_inner.go index db1bcc4..8335e99 100644 --- a/model_bulk_set_environment_variables_request_environment_inner.go +++ b/model_bulk_set_environment_variables_request_environment_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response.go b/model_chat_inference_200_response.go index b4efbdc..fce6e41 100644 --- a/model_chat_inference_200_response.go +++ b/model_chat_inference_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response_response.go b/model_chat_inference_200_response_response.go index 3563d58..4b44903 100644 --- a/model_chat_inference_200_response_response.go +++ b/model_chat_inference_200_response_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response_response_tool_use.go b/model_chat_inference_200_response_response_tool_use.go index 4cbe842..a4ef9db 100644 --- a/model_chat_inference_200_response_response_tool_use.go +++ b/model_chat_inference_200_response_response_tool_use.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response_response_tool_use_one_of.go b/model_chat_inference_200_response_response_tool_use_one_of.go index 73ee447..eb181c7 100644 --- a/model_chat_inference_200_response_response_tool_use_one_of.go +++ b/model_chat_inference_200_response_response_tool_use_one_of.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response_response_tool_use_one_of_1_inner.go b/model_chat_inference_200_response_response_tool_use_one_of_1_inner.go index c17eae0..282d1e6 100644 --- a/model_chat_inference_200_response_response_tool_use_one_of_1_inner.go +++ b/model_chat_inference_200_response_response_tool_use_one_of_1_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response_response_tool_use_one_of_result.go b/model_chat_inference_200_response_response_tool_use_one_of_result.go index 4ba5e9c..92d71f0 100644 --- a/model_chat_inference_200_response_response_tool_use_one_of_result.go +++ b/model_chat_inference_200_response_response_tool_use_one_of_result.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_200_response_usage.go b/model_chat_inference_200_response_usage.go index 7db30ee..0d6fda8 100644 --- a/model_chat_inference_200_response_usage.go +++ b/model_chat_inference_200_response_usage.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_202_response.go b/model_chat_inference_202_response.go index ea92531..c285d91 100644 --- a/model_chat_inference_202_response.go +++ b/model_chat_inference_202_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request.go b/model_chat_inference_request.go index b7fb7d1..5ac5361 100644 --- a/model_chat_inference_request.go +++ b/model_chat_inference_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_guardrails.go b/model_chat_inference_request_guardrails.go index 6cb1ec5..a3d9357 100644 --- a/model_chat_inference_request_guardrails.go +++ b/model_chat_inference_request_guardrails.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner.go b/model_chat_inference_request_messages_inner.go index 3383bea..3ecbb54 100644 --- a/model_chat_inference_request_messages_inner.go +++ b/model_chat_inference_request_messages_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content.go b/model_chat_inference_request_messages_inner_content.go index a654099..7ef5e4d 100644 --- a/model_chat_inference_request_messages_inner_content.go +++ b/model_chat_inference_request_messages_inner_content.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner.go b/model_chat_inference_request_messages_inner_content_one_of_inner.go index 8d71d72..7a3462d 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of.go index 2aba682..078f3a2 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1.go index 8ef851c..e9ae309 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image.go index eb6a3b4..ffedfa0 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image_source.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image_source.go index a3db47a..1aed04f 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image_source.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_1_image_source.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2.go index 380fc17..19183e5 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video.go index 7e1c473..4564b0d 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video_source.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video_source.go index f34e45f..0a5296f 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video_source.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_2_video_source.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3.go index 814c0ac..623352a 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document.go index 4c53663..626a1c2 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document_source.go b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document_source.go index 3749376..4e5c089 100644 --- a/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document_source.go +++ b/model_chat_inference_request_messages_inner_content_one_of_inner_one_of_3_document_source.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_response_format.go b/model_chat_inference_request_response_format.go index 2ed4f00..8a94bc4 100644 --- a/model_chat_inference_request_response_format.go +++ b/model_chat_inference_request_response_format.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_tool_config.go b/model_chat_inference_request_tool_config.go index 33e59f4..49c9962 100644 --- a/model_chat_inference_request_tool_config.go +++ b/model_chat_inference_request_tool_config.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_tool_config_tools_inner.go b/model_chat_inference_request_tool_config_tools_inner.go index 6aa9772..7bae462 100644 --- a/model_chat_inference_request_tool_config_tools_inner.go +++ b/model_chat_inference_request_tool_config_tools_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_tool_config_tools_inner_tool_spec.go b/model_chat_inference_request_tool_config_tools_inner_tool_spec.go index 0af9134..991e5cf 100644 --- a/model_chat_inference_request_tool_config_tools_inner_tool_spec.go +++ b/model_chat_inference_request_tool_config_tools_inner_tool_spec.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.go b/model_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.go index c74c5f9..c09e5bc 100644 --- a/model_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.go +++ b/model_chat_inference_request_tool_config_tools_inner_tool_spec_input_schema.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_stream_request.go b/model_chat_inference_stream_request.go index 965ff97..ec17ee2 100644 --- a/model_chat_inference_stream_request.go +++ b/model_chat_inference_stream_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_stream_request_messages_inner.go b/model_chat_inference_stream_request_messages_inner.go index f885510..9cf1c85 100644 --- a/model_chat_inference_stream_request_messages_inner.go +++ b/model_chat_inference_stream_request_messages_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_inference_stream_request_messages_inner_content.go b/model_chat_inference_stream_request_messages_inner_content.go index a97de9d..5144369 100644 --- a/model_chat_inference_stream_request_messages_inner_content.go +++ b/model_chat_inference_stream_request_messages_inner_content.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_with_ai_agent_200_response.go b/model_chat_with_ai_agent_200_response.go index 6f72a85..2c48fd8 100644 --- a/model_chat_with_ai_agent_200_response.go +++ b/model_chat_with_ai_agent_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_with_ai_agent_200_response_response.go b/model_chat_with_ai_agent_200_response_response.go index 697505b..38a7699 100644 --- a/model_chat_with_ai_agent_200_response_response.go +++ b/model_chat_with_ai_agent_200_response_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_with_ai_agent_200_response_response_usage.go b/model_chat_with_ai_agent_200_response_response_usage.go index b98d886..4ef6d65 100644 --- a/model_chat_with_ai_agent_200_response_response_usage.go +++ b/model_chat_with_ai_agent_200_response_response_usage.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_with_ai_agent_202_response.go b/model_chat_with_ai_agent_202_response.go index 88c7ca9..ea3edb3 100644 --- a/model_chat_with_ai_agent_202_response.go +++ b/model_chat_with_ai_agent_202_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_chat_with_ai_agent_request.go b/model_chat_with_ai_agent_request.go index d7ce7fd..eb6ac88 100644 --- a/model_chat_with_ai_agent_request.go +++ b/model_chat_with_ai_agent_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_command.go b/model_command.go index 8f1ec45..c90d5bd 100644 --- a/model_command.go +++ b/model_command.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_compose.go b/model_compose.go index ab16ef2..f42a5ca 100644 --- a/model_compose.go +++ b/model_compose.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container.go b/model_container.go index 14861f3..4fdea9b 100644 --- a/model_container.go +++ b/model_container.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_depends_on_inner.go b/model_container_depends_on_inner.go index 4d0f148..f41d927 100644 --- a/model_container_depends_on_inner.go +++ b/model_container_depends_on_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_environment_inner.go b/model_container_environment_inner.go index edc1b87..75569da 100644 --- a/model_container_environment_inner.go +++ b/model_container_environment_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_health_check.go b/model_container_health_check.go index 0ab6c5f..d86d5b4 100644 --- a/model_container_health_check.go +++ b/model_container_health_check.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_image_reference.go b/model_container_image_reference.go index e9d34f3..0ed0654 100644 --- a/model_container_image_reference.go +++ b/model_container_image_reference.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_mount_points_inner.go b/model_container_mount_points_inner.go index 7e023bd..9677e6a 100644 --- a/model_container_mount_points_inner.go +++ b/model_container_mount_points_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_origin_protection_config.go b/model_container_origin_protection_config.go index 5a19c88..a4b3a8b 100644 --- a/model_container_origin_protection_config.go +++ b/model_container_origin_protection_config.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_container_secrets_inner.go b/model_container_secrets_inner.go index c2847cb..bce792d 100644 --- a/model_container_secrets_inner.go +++ b/model_container_secrets_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_crawlers_run_200_response.go b/model_crawlers_run_200_response.go index 32446bf..c2cb7ac 100644 --- a/model_crawlers_run_200_response.go +++ b/model_crawlers_run_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_crawlers_run_request.go b/model_crawlers_run_request.go index 4f6eea6..d711398 100644 --- a/model_crawlers_run_request.go +++ b/model_crawlers_run_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_ai_agent_201_response.go b/model_create_ai_agent_201_response.go index e5bacb8..7e9f70e 100644 --- a/model_create_ai_agent_201_response.go +++ b/model_create_ai_agent_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_ai_agent_request.go b/model_create_ai_agent_request.go index 92dc953..6136b65 100644 --- a/model_create_ai_agent_request.go +++ b/model_create_ai_agent_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_ai_session_201_response.go b/model_create_ai_session_201_response.go index fbf5777..958e00e 100644 --- a/model_create_ai_session_201_response.go +++ b/model_create_ai_session_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_ai_session_request.go b/model_create_ai_session_request.go index f34a72a..8239626 100644 --- a/model_create_ai_session_request.go +++ b/model_create_ai_session_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_ai_session_request_initial_messages_inner.go b/model_create_ai_session_request_initial_messages_inner.go index 0999704..7a2bebf 100644 --- a/model_create_ai_session_request_initial_messages_inner.go +++ b/model_create_ai_session_request_initial_messages_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_application_403_response.go b/model_create_application_403_response.go index e385f11..69e836a 100644 --- a/model_create_application_403_response.go +++ b/model_create_application_403_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_application_request.go b/model_create_application_request.go index de46d85..3aea3aa 100644 --- a/model_create_application_request.go +++ b/model_create_application_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_application_request_database.go b/model_create_application_request_database.go index 035c1c3..9891be1 100644 --- a/model_create_application_request_database.go +++ b/model_create_application_request_database.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_application_request_environment_inner.go b/model_create_application_request_environment_inner.go index 49c66c5..b6b3eaa 100644 --- a/model_create_application_request_environment_inner.go +++ b/model_create_application_request_environment_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_application_request_filesystem.go b/model_create_application_request_filesystem.go index 3d66384..093e674 100644 --- a/model_create_application_request_filesystem.go +++ b/model_create_application_request_filesystem.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_backup_202_response.go b/model_create_backup_202_response.go index 78a3c6f..26ea43e 100644 --- a/model_create_backup_202_response.go +++ b/model_create_backup_202_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_backup_request.go b/model_create_backup_request.go index 96d100f..bda967e 100644 --- a/model_create_backup_request.go +++ b/model_create_backup_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_command_request.go b/model_create_command_request.go index 2d5bff8..bf21c63 100644 --- a/model_create_command_request.go +++ b/model_create_command_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_cron_job_request.go b/model_create_cron_job_request.go index 32e46d4..718396e 100644 --- a/model_create_cron_job_request.go +++ b/model_create_cron_job_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_custom_tool_201_response.go b/model_create_custom_tool_201_response.go index daabc8e..dbf59b6 100644 --- a/model_create_custom_tool_201_response.go +++ b/model_create_custom_tool_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_custom_tool_request.go b/model_create_custom_tool_request.go index ee99dfd..175b361 100644 --- a/model_create_custom_tool_request.go +++ b/model_create_custom_tool_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -26,14 +26,14 @@ type CreateCustomToolRequest struct { Description string `json:"description"` // JavaScript source code for the edge function EdgeFunctionCode string `json:"edgeFunctionCode"` - // JSON Schema defining the tool's input parameters - InputSchema map[string]interface{} `json:"inputSchema"` + // JSON-encoded JSON Schema object defining the tool's input parameters + InputSchema string `json:"inputSchema"` // Whether this tool runs asynchronously (>5 seconds) IsAsync *bool `json:"isAsync,omitempty"` // Tool execution timeout TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"` - // JSON Schema defining the tool's output structure - OutputSchema map[string]interface{} `json:"outputSchema,omitempty"` + // JSON-encoded JSON Schema object defining the tool's output structure + OutputSchema NullableString `json:"outputSchema,omitempty"` // Human-readable description of the tool's output OutputSchemaDescription NullableString `json:"outputSchemaDescription,omitempty"` // Category to group related tools @@ -49,7 +49,7 @@ type _CreateCustomToolRequest CreateCustomToolRequest // This constructor will assign default values to properties that have it defined, // and makes sure properties required by API are set, but the set of arguments // will change when the set of required properties is changed -func NewCreateCustomToolRequest(name string, description string, edgeFunctionCode string, inputSchema map[string]interface{}) *CreateCustomToolRequest { +func NewCreateCustomToolRequest(name string, description string, edgeFunctionCode string, inputSchema string) *CreateCustomToolRequest { this := CreateCustomToolRequest{} this.Name = name this.Description = description @@ -147,9 +147,9 @@ func (o *CreateCustomToolRequest) SetEdgeFunctionCode(v string) { } // GetInputSchema returns the InputSchema field value -func (o *CreateCustomToolRequest) GetInputSchema() map[string]interface{} { +func (o *CreateCustomToolRequest) GetInputSchema() string { if o == nil { - var ret map[string]interface{} + var ret string return ret } @@ -158,15 +158,15 @@ func (o *CreateCustomToolRequest) GetInputSchema() map[string]interface{} { // GetInputSchemaOk returns a tuple with the InputSchema field value // and a boolean to check if the value has been set. -func (o *CreateCustomToolRequest) GetInputSchemaOk() (map[string]interface{}, bool) { +func (o *CreateCustomToolRequest) GetInputSchemaOk() (*string, bool) { if o == nil { - return map[string]interface{}{}, false + return nil, false } - return o.InputSchema, true + return &o.InputSchema, true } // SetInputSchema sets field value -func (o *CreateCustomToolRequest) SetInputSchema(v map[string]interface{}) { +func (o *CreateCustomToolRequest) SetInputSchema(v string) { o.InputSchema = v } @@ -235,36 +235,45 @@ func (o *CreateCustomToolRequest) SetTimeoutSeconds(v int32) { } // GetOutputSchema returns the OutputSchema field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *CreateCustomToolRequest) GetOutputSchema() map[string]interface{} { - if o == nil { - var ret map[string]interface{} +func (o *CreateCustomToolRequest) GetOutputSchema() string { + if o == nil || IsNil(o.OutputSchema.Get()) { + var ret string return ret } - return o.OutputSchema + return *o.OutputSchema.Get() } // GetOutputSchemaOk returns a tuple with the OutputSchema field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *CreateCustomToolRequest) GetOutputSchemaOk() (map[string]interface{}, bool) { - if o == nil || IsNil(o.OutputSchema) { - return map[string]interface{}{}, false +func (o *CreateCustomToolRequest) GetOutputSchemaOk() (*string, bool) { + if o == nil { + return nil, false } - return o.OutputSchema, true + return o.OutputSchema.Get(), o.OutputSchema.IsSet() } // HasOutputSchema returns a boolean if a field has been set. func (o *CreateCustomToolRequest) HasOutputSchema() bool { - if o != nil && !IsNil(o.OutputSchema) { + if o != nil && o.OutputSchema.IsSet() { return true } return false } -// SetOutputSchema gets a reference to the given map[string]interface{} and assigns it to the OutputSchema field. -func (o *CreateCustomToolRequest) SetOutputSchema(v map[string]interface{}) { - o.OutputSchema = v +// SetOutputSchema gets a reference to the given NullableString and assigns it to the OutputSchema field. +func (o *CreateCustomToolRequest) SetOutputSchema(v string) { + o.OutputSchema.Set(&v) +} +// SetOutputSchemaNil sets the value for OutputSchema to be an explicit nil +func (o *CreateCustomToolRequest) SetOutputSchemaNil() { + o.OutputSchema.Set(nil) +} + +// UnsetOutputSchema ensures that no value is present for OutputSchema, not even an explicit nil +func (o *CreateCustomToolRequest) UnsetOutputSchema() { + o.OutputSchema.Unset() } // GetOutputSchemaDescription returns the OutputSchemaDescription field value if set, zero value otherwise (both if not set or set to explicit null). @@ -413,8 +422,8 @@ func (o CreateCustomToolRequest) ToMap() (map[string]interface{}, error) { if !IsNil(o.TimeoutSeconds) { toSerialize["timeoutSeconds"] = o.TimeoutSeconds } - if o.OutputSchema != nil { - toSerialize["outputSchema"] = o.OutputSchema + if o.OutputSchema.IsSet() { + toSerialize["outputSchema"] = o.OutputSchema.Get() } if o.OutputSchemaDescription.IsSet() { toSerialize["outputSchemaDescription"] = o.OutputSchemaDescription.Get() diff --git a/model_create_environment_403_response.go b/model_create_environment_403_response.go index cd42e7e..40310ae 100644 --- a/model_create_environment_403_response.go +++ b/model_create_environment_403_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_environment_request.go b/model_create_environment_request.go index 93015a3..bb26986 100644 --- a/model_create_environment_request.go +++ b/model_create_environment_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_environment_request_environment_inner.go b/model_create_environment_request_environment_inner.go index 60570de..8a4493b 100644 --- a/model_create_environment_request_environment_inner.go +++ b/model_create_environment_request_environment_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_filter_policy_request.go b/model_create_filter_policy_request.go index ee8ca64..b02ee0e 100644 --- a/model_create_filter_policy_request.go +++ b/model_create_filter_policy_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_filter_policy_request_rules_inner.go b/model_create_filter_policy_request_rules_inner.go index 627ae90..53a5e00 100644 --- a/model_create_filter_policy_request_rules_inner.go +++ b/model_create_filter_policy_request_rules_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_filter_policy_request_rules_inner_match.go b/model_create_filter_policy_request_rules_inner_match.go index f764001..919f8d0 100644 --- a/model_create_filter_policy_request_rules_inner_match.go +++ b/model_create_filter_policy_request_rules_inner_match.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_orchestration_request.go b/model_create_orchestration_request.go index 08fe65d..5a1be72 100644 --- a/model_create_orchestration_request.go +++ b/model_create_orchestration_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_orchestration_request_input_source.go b/model_create_orchestration_request_input_source.go index 423639e..3394ce9 100644 --- a/model_create_orchestration_request_input_source.go +++ b/model_create_orchestration_request_input_source.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_orchestration_request_stop_condition.go b/model_create_orchestration_request_stop_condition.go index 561db79..b423426 100644 --- a/model_create_orchestration_request_stop_condition.go +++ b/model_create_orchestration_request_stop_condition.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_skill_201_response.go b/model_create_skill_201_response.go index 83be9fe..5979795 100644 --- a/model_create_skill_201_response.go +++ b/model_create_skill_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_skill_request.go b/model_create_skill_request.go index 9ade116..b12cc1e 100644 --- a/model_create_skill_request.go +++ b/model_create_skill_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_slack_bot_201_response.go b/model_create_slack_bot_201_response.go index a348340..ce5e0fb 100644 --- a/model_create_slack_bot_201_response.go +++ b/model_create_slack_bot_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_slack_bot_request.go b/model_create_slack_bot_request.go index becc3f0..84eaf5f 100644 --- a/model_create_slack_bot_request.go +++ b/model_create_slack_bot_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_task_201_response.go b/model_create_task_201_response.go index 60d7794..f23f44c 100644 --- a/model_create_task_201_response.go +++ b/model_create_task_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_task_request.go b/model_create_task_request.go index 89e9a5d..d92aa07 100644 --- a/model_create_task_request.go +++ b/model_create_task_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_vector_collection_201_response.go b/model_create_vector_collection_201_response.go index 3d594b2..5ef9826 100644 --- a/model_create_vector_collection_201_response.go +++ b/model_create_vector_collection_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_vector_collection_201_response_collection.go b/model_create_vector_collection_201_response_collection.go index bdac1c1..4569a23 100644 --- a/model_create_vector_collection_201_response_collection.go +++ b/model_create_vector_collection_201_response_collection.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_vector_collection_request.go b/model_create_vector_collection_request.go index b01ff8e..b240910 100644 --- a/model_create_vector_collection_request.go +++ b/model_create_vector_collection_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_create_volume_request.go b/model_create_volume_request.go index 9694c4b..2fe314f 100644 --- a/model_create_volume_request.go +++ b/model_create_volume_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_cron.go b/model_cron.go index 5b8e2d4..ab112ea 100644 --- a/model_cron.go +++ b/model_cron.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_cron_run.go b/model_cron_run.go index 1461878..70a7a57 100644 --- a/model_cron_run.go +++ b/model_cron_run.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_agent_overlay_200_response.go b/model_delete_agent_overlay_200_response.go index b109f2a..0004903 100644 --- a/model_delete_agent_overlay_200_response.go +++ b/model_delete_agent_overlay_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_ai_agent_200_response.go b/model_delete_ai_agent_200_response.go index f0f94d0..a81c765 100644 --- a/model_delete_ai_agent_200_response.go +++ b/model_delete_ai_agent_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_ai_session_200_response.go b/model_delete_ai_session_200_response.go index 9aa6375..b9800cb 100644 --- a/model_delete_ai_session_200_response.go +++ b/model_delete_ai_session_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_backup_200_response.go b/model_delete_backup_200_response.go index bcd7de0..87e9f68 100644 --- a/model_delete_backup_200_response.go +++ b/model_delete_backup_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_custom_tool_200_response.go b/model_delete_custom_tool_200_response.go index b9a5842..b0a5d9b 100644 --- a/model_delete_custom_tool_200_response.go +++ b/model_delete_custom_tool_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_file_200_response.go b/model_delete_file_200_response.go index 2aeb1e6..730f431 100644 --- a/model_delete_file_200_response.go +++ b/model_delete_file_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_skill_200_response.go b/model_delete_skill_200_response.go index 0621f29..7456d05 100644 --- a/model_delete_skill_200_response.go +++ b/model_delete_skill_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_skill_collection_200_response.go b/model_delete_skill_collection_200_response.go index 0294bfa..dd89f3a 100644 --- a/model_delete_skill_collection_200_response.go +++ b/model_delete_skill_collection_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_slack_bot_200_response.go b/model_delete_slack_bot_200_response.go index b969dc0..5e2b132 100644 --- a/model_delete_slack_bot_200_response.go +++ b/model_delete_slack_bot_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_task_200_response.go b/model_delete_task_200_response.go index 467c124..86114c1 100644 --- a/model_delete_task_200_response.go +++ b/model_delete_task_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_task_409_response.go b/model_delete_task_409_response.go index 8ea654a..5d95643 100644 --- a/model_delete_task_409_response.go +++ b/model_delete_task_409_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_vector_documents_200_response.go b/model_delete_vector_documents_200_response.go index 1f76819..456a3e1 100644 --- a/model_delete_vector_documents_200_response.go +++ b/model_delete_vector_documents_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_vector_documents_request.go b/model_delete_vector_documents_request.go index eafc04e..606cf3a 100644 --- a/model_delete_vector_documents_request.go +++ b/model_delete_vector_documents_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_delete_vector_documents_request_metadata.go b/model_delete_vector_documents_request_metadata.go index 9bedcfa..e2c5b08 100644 --- a/model_delete_vector_documents_request_metadata.go +++ b/model_delete_vector_documents_request_metadata.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_download_backup_200_response.go b/model_download_backup_200_response.go index ee014dd..d536b81 100644 --- a/model_download_backup_200_response.go +++ b/model_download_backup_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_embeddings_200_response.go b/model_embeddings_200_response.go index c960a48..a191405 100644 --- a/model_embeddings_200_response.go +++ b/model_embeddings_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_embeddings_200_response_embeddings.go b/model_embeddings_200_response_embeddings.go index a089f74..40acb75 100644 --- a/model_embeddings_200_response_embeddings.go +++ b/model_embeddings_200_response_embeddings.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_embeddings_200_response_usage.go b/model_embeddings_200_response_usage.go index 265e9b1..75c2052 100644 --- a/model_embeddings_200_response_usage.go +++ b/model_embeddings_200_response_usage.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_embeddings_request.go b/model_embeddings_request.go index 4f0817d..24a1f0e 100644 --- a/model_embeddings_request.go +++ b/model_embeddings_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_embeddings_request_input.go b/model_embeddings_request_input.go index 40c2612..9e76056 100644 --- a/model_embeddings_request_input.go +++ b/model_embeddings_request_input.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_environment.go b/model_environment.go index cfb6b9b..16ea2ee 100644 --- a/model_environment.go +++ b/model_environment.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_environment_response.go b/model_environment_response.go index 5ac67a4..09f86ad 100644 --- a/model_environment_response.go +++ b/model_environment_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_environment_summary.go b/model_environment_summary.go index 0bf9cfe..1d05e79 100644 --- a/model_environment_summary.go +++ b/model_environment_summary.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extend_ai_session_200_response.go b/model_extend_ai_session_200_response.go index 619a3ba..fcec9f2 100644 --- a/model_extend_ai_session_200_response.go +++ b/model_extend_ai_session_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_extend_ai_session_request.go b/model_extend_ai_session_request.go index a96ab73..b404a6a 100644 --- a/model_extend_ai_session_request.go +++ b/model_extend_ai_session_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_agent_overlay_200_response.go b/model_get_agent_overlay_200_response.go index ff2df6d..a3771c5 100644 --- a/model_get_agent_overlay_200_response.go +++ b/model_get_agent_overlay_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_agent_overlay_200_response_base.go b/model_get_agent_overlay_200_response_base.go index a693847..4c34236 100644 --- a/model_get_agent_overlay_200_response_base.go +++ b/model_get_agent_overlay_200_response_base.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_agent_overlay_200_response_overlay.go b/model_get_agent_overlay_200_response_overlay.go index 80d4202..ee5c4a8 100644 --- a/model_get_agent_overlay_200_response_overlay.go +++ b/model_get_agent_overlay_200_response_overlay.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_agent_200_response.go b/model_get_ai_agent_200_response.go index b223126..856657d 100644 --- a/model_get_ai_agent_200_response.go +++ b/model_get_ai_agent_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_agent_200_response_agent.go b/model_get_ai_agent_200_response_agent.go index 0514bfc..1530b75 100644 --- a/model_get_ai_agent_200_response_agent.go +++ b/model_get_ai_agent_200_response_agent.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_model_200_response.go b/model_get_ai_model_200_response.go index b406082..d31c0c1 100644 --- a/model_get_ai_model_200_response.go +++ b/model_get_ai_model_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_model_200_response_capabilities.go b/model_get_ai_model_200_response_capabilities.go index a7d05b1..146f45e 100644 --- a/model_get_ai_model_200_response_capabilities.go +++ b/model_get_ai_model_200_response_capabilities.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_model_200_response_pricing.go b/model_get_ai_model_200_response_pricing.go index 6d558ec..6cf853a 100644 --- a/model_get_ai_model_200_response_pricing.go +++ b/model_get_ai_model_200_response_pricing.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_model_404_response.go b/model_get_ai_model_404_response.go index 0bdf1a8..a2af38c 100644 --- a/model_get_ai_model_404_response.go +++ b/model_get_ai_model_404_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_orchestration_status_200_response.go b/model_get_ai_orchestration_status_200_response.go index 2b06ebb..8dd8039 100644 --- a/model_get_ai_orchestration_status_200_response.go +++ b/model_get_ai_orchestration_status_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_orchestration_status_200_response_tools_inner.go b/model_get_ai_orchestration_status_200_response_tools_inner.go index 1aa5633..53e394a 100644 --- a/model_get_ai_orchestration_status_200_response_tools_inner.go +++ b/model_get_ai_orchestration_status_200_response_tools_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_orchestration_status_404_response.go b/model_get_ai_orchestration_status_404_response.go index bf1f6ef..d5b0a8a 100644 --- a/model_get_ai_orchestration_status_404_response.go +++ b/model_get_ai_orchestration_status_404_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_session_200_response.go b/model_get_ai_session_200_response.go index eec5266..f5e9152 100644 --- a/model_get_ai_session_200_response.go +++ b/model_get_ai_session_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_tool_execution_status_200_response.go b/model_get_ai_tool_execution_status_200_response.go index 0e4c92c..cb37fcc 100644 --- a/model_get_ai_tool_execution_status_200_response.go +++ b/model_get_ai_tool_execution_status_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_tool_execution_status_200_response_result.go b/model_get_ai_tool_execution_status_200_response_result.go index cf8a71c..6e28c15 100644 --- a/model_get_ai_tool_execution_status_200_response_result.go +++ b/model_get_ai_tool_execution_status_200_response_result.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_tool_execution_status_404_response.go b/model_get_ai_tool_execution_status_404_response.go index 2784deb..c3c68dc 100644 --- a/model_get_ai_tool_execution_status_404_response.go +++ b/model_get_ai_tool_execution_status_404_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_usage_stats_200_response.go b/model_get_ai_usage_stats_200_response.go index c00043b..aad3222 100644 --- a/model_get_ai_usage_stats_200_response.go +++ b/model_get_ai_usage_stats_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ai_usage_stats_200_response_by_model_value.go b/model_get_ai_usage_stats_200_response_by_model_value.go index 287e3e3..c74d05c 100644 --- a/model_get_ai_usage_stats_200_response_by_model_value.go +++ b/model_get_ai_usage_stats_200_response_by_model_value.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_custom_tool_200_response.go b/model_get_custom_tool_200_response.go index 79ee3ea..0e25f59 100644 --- a/model_get_custom_tool_200_response.go +++ b/model_get_custom_tool_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_custom_tool_200_response_tool.go b/model_get_custom_tool_200_response_tool.go index 7c0e62c..494a20e 100644 --- a/model_get_custom_tool_200_response_tool.go +++ b/model_get_custom_tool_200_response_tool.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -26,8 +26,8 @@ type GetCustomTool200ResponseTool struct { // The deployed edge function source code EdgeFunctionCode *string `json:"edgeFunctionCode,omitempty"` IsAsync *bool `json:"isAsync,omitempty"` - InputSchema map[string]interface{} `json:"inputSchema,omitempty"` - OutputSchema map[string]interface{} `json:"outputSchema,omitempty"` + InputSchema *string `json:"inputSchema,omitempty"` + OutputSchema NullableString `json:"outputSchema,omitempty"` OutputSchemaDescription NullableString `json:"outputSchemaDescription,omitempty"` Category NullableString `json:"category,omitempty"` ResponseMode NullableString `json:"responseMode,omitempty"` @@ -215,19 +215,19 @@ func (o *GetCustomTool200ResponseTool) SetIsAsync(v bool) { } // GetInputSchema returns the InputSchema field value if set, zero value otherwise. -func (o *GetCustomTool200ResponseTool) GetInputSchema() map[string]interface{} { +func (o *GetCustomTool200ResponseTool) GetInputSchema() string { if o == nil || IsNil(o.InputSchema) { - var ret map[string]interface{} + var ret string return ret } - return o.InputSchema + return *o.InputSchema } // GetInputSchemaOk returns a tuple with the InputSchema field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *GetCustomTool200ResponseTool) GetInputSchemaOk() (map[string]interface{}, bool) { +func (o *GetCustomTool200ResponseTool) GetInputSchemaOk() (*string, bool) { if o == nil || IsNil(o.InputSchema) { - return map[string]interface{}{}, false + return nil, false } return o.InputSchema, true } @@ -241,42 +241,51 @@ func (o *GetCustomTool200ResponseTool) HasInputSchema() bool { return false } -// SetInputSchema gets a reference to the given map[string]interface{} and assigns it to the InputSchema field. -func (o *GetCustomTool200ResponseTool) SetInputSchema(v map[string]interface{}) { - o.InputSchema = v +// SetInputSchema gets a reference to the given string and assigns it to the InputSchema field. +func (o *GetCustomTool200ResponseTool) SetInputSchema(v string) { + o.InputSchema = &v } // GetOutputSchema returns the OutputSchema field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GetCustomTool200ResponseTool) GetOutputSchema() map[string]interface{} { - if o == nil { - var ret map[string]interface{} +func (o *GetCustomTool200ResponseTool) GetOutputSchema() string { + if o == nil || IsNil(o.OutputSchema.Get()) { + var ret string return ret } - return o.OutputSchema + return *o.OutputSchema.Get() } // GetOutputSchemaOk returns a tuple with the OutputSchema field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GetCustomTool200ResponseTool) GetOutputSchemaOk() (map[string]interface{}, bool) { - if o == nil || IsNil(o.OutputSchema) { - return map[string]interface{}{}, false +func (o *GetCustomTool200ResponseTool) GetOutputSchemaOk() (*string, bool) { + if o == nil { + return nil, false } - return o.OutputSchema, true + return o.OutputSchema.Get(), o.OutputSchema.IsSet() } // HasOutputSchema returns a boolean if a field has been set. func (o *GetCustomTool200ResponseTool) HasOutputSchema() bool { - if o != nil && !IsNil(o.OutputSchema) { + if o != nil && o.OutputSchema.IsSet() { return true } return false } -// SetOutputSchema gets a reference to the given map[string]interface{} and assigns it to the OutputSchema field. -func (o *GetCustomTool200ResponseTool) SetOutputSchema(v map[string]interface{}) { - o.OutputSchema = v +// SetOutputSchema gets a reference to the given NullableString and assigns it to the OutputSchema field. +func (o *GetCustomTool200ResponseTool) SetOutputSchema(v string) { + o.OutputSchema.Set(&v) +} +// SetOutputSchemaNil sets the value for OutputSchema to be an explicit nil +func (o *GetCustomTool200ResponseTool) SetOutputSchemaNil() { + o.OutputSchema.Set(nil) +} + +// UnsetOutputSchema ensures that no value is present for OutputSchema, not even an explicit nil +func (o *GetCustomTool200ResponseTool) UnsetOutputSchema() { + o.OutputSchema.Unset() } // GetOutputSchemaDescription returns the OutputSchemaDescription field value if set, zero value otherwise (both if not set or set to explicit null). @@ -465,8 +474,8 @@ func (o GetCustomTool200ResponseTool) ToMap() (map[string]interface{}, error) { if !IsNil(o.InputSchema) { toSerialize["inputSchema"] = o.InputSchema } - if o.OutputSchema != nil { - toSerialize["outputSchema"] = o.OutputSchema + if o.OutputSchema.IsSet() { + toSerialize["outputSchema"] = o.OutputSchema.Get() } if o.OutputSchemaDescription.IsSet() { toSerialize["outputSchemaDescription"] = o.OutputSchemaDescription.Get() diff --git a/model_get_dependency_graph_200_response.go b/model_get_dependency_graph_200_response.go index cb5d44f..9a85081 100644 --- a/model_get_dependency_graph_200_response.go +++ b/model_get_dependency_graph_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_durable_execution_status_200_response.go b/model_get_durable_execution_status_200_response.go index c7b0838..2a41e8c 100644 --- a/model_get_durable_execution_status_200_response.go +++ b/model_get_durable_execution_status_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_durable_execution_status_200_response_error.go b/model_get_durable_execution_status_200_response_error.go index 0c7c95e..277b608 100644 --- a/model_get_durable_execution_status_200_response_error.go +++ b/model_get_durable_execution_status_200_response_error.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_durable_execution_status_200_response_pending_tools_inner.go b/model_get_durable_execution_status_200_response_pending_tools_inner.go index b5255bf..5b61386 100644 --- a/model_get_durable_execution_status_200_response_pending_tools_inner.go +++ b/model_get_durable_execution_status_200_response_pending_tools_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_durable_execution_status_200_response_result.go b/model_get_durable_execution_status_200_response_result.go index 4be52bf..e701c6d 100644 --- a/model_get_durable_execution_status_200_response_result.go +++ b/model_get_durable_execution_status_200_response_result.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_durable_execution_status_200_response_result_response.go b/model_get_durable_execution_status_200_response_result_response.go index 0df5b15..71371d4 100644 --- a/model_get_durable_execution_status_200_response_result_response.go +++ b/model_get_durable_execution_status_200_response_result_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_durable_execution_status_200_response_result_usage.go b/model_get_durable_execution_status_200_response_result_usage.go index 1ea9b1f..4d3a165 100644 --- a/model_get_durable_execution_status_200_response_result_usage.go +++ b/model_get_durable_execution_status_200_response_result_usage.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ecr_login_credentials_200_response.go b/model_get_ecr_login_credentials_200_response.go index 65180bd..a2eed0b 100644 --- a/model_get_ecr_login_credentials_200_response.go +++ b/model_get_ecr_login_credentials_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_environment_logs_200_response.go b/model_get_environment_logs_200_response.go index 53a7fdd..a72326d 100644 --- a/model_get_environment_logs_200_response.go +++ b/model_get_environment_logs_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_environment_logs_200_response_log_events_inner.go b/model_get_environment_logs_200_response_log_events_inner.go index 2d36601..a972cb6 100644 --- a/model_get_environment_logs_200_response_log_events_inner.go +++ b/model_get_environment_logs_200_response_log_events_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_file_200_response.go b/model_get_file_200_response.go index dab35db..ca9e0f5 100644 --- a/model_get_file_200_response.go +++ b/model_get_file_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_config_200_response.go b/model_get_governance_config_200_response.go index c827438..f2faca5 100644 --- a/model_get_governance_config_200_response.go +++ b/model_get_governance_config_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_config_200_response_spend_limits.go b/model_get_governance_config_200_response_spend_limits.go index 2384166..5b849a1 100644 --- a/model_get_governance_config_200_response_spend_limits.go +++ b/model_get_governance_config_200_response_spend_limits.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_spend_200_response.go b/model_get_governance_spend_200_response.go index 28dfc23..e9e213d 100644 --- a/model_get_governance_spend_200_response.go +++ b/model_get_governance_spend_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_spend_200_response_budget.go b/model_get_governance_spend_200_response_budget.go index 956d3d6..c2be81f 100644 --- a/model_get_governance_spend_200_response_budget.go +++ b/model_get_governance_spend_200_response_budget.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_spend_200_response_daily_budget.go b/model_get_governance_spend_200_response_daily_budget.go index 97ac998..e1232dd 100644 --- a/model_get_governance_spend_200_response_daily_budget.go +++ b/model_get_governance_spend_200_response_daily_budget.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_spend_200_response_org_total.go b/model_get_governance_spend_200_response_org_total.go index 665d22e..b532c70 100644 --- a/model_get_governance_spend_200_response_org_total.go +++ b/model_get_governance_spend_200_response_org_total.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_spend_200_response_today_total.go b/model_get_governance_spend_200_response_today_total.go index fdfa8b7..0aa77cd 100644 --- a/model_get_governance_spend_200_response_today_total.go +++ b/model_get_governance_spend_200_response_today_total.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_governance_spend_200_response_user_total.go b/model_get_governance_spend_200_response_user_total.go index 9fb7080..1674871 100644 --- a/model_get_governance_spend_200_response_user_total.go +++ b/model_get_governance_spend_200_response_user_total.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_my_usage_200_response.go b/model_get_my_usage_200_response.go index 399bbd4..9cb435c 100644 --- a/model_get_my_usage_200_response.go +++ b/model_get_my_usage_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_my_usage_200_response_daily.go b/model_get_my_usage_200_response_daily.go index ad760d9..1b15663 100644 --- a/model_get_my_usage_200_response_daily.go +++ b/model_get_my_usage_200_response_daily.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_my_usage_200_response_monthly.go b/model_get_my_usage_200_response_monthly.go index e93cc83..d13c751 100644 --- a/model_get_my_usage_200_response_monthly.go +++ b/model_get_my_usage_200_response_monthly.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_my_usage_200_response_quota.go b/model_get_my_usage_200_response_quota.go index 116575f..a129278 100644 --- a/model_get_my_usage_200_response_quota.go +++ b/model_get_my_usage_200_response_quota.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -19,10 +19,8 @@ var _ MappedNullable = &GetMyUsage200ResponseQuota{} // GetMyUsage200ResponseQuota struct for GetMyUsage200ResponseQuota type GetMyUsage200ResponseQuota struct { - // Per-user monthly budget in US cents - MonthlyLimit NullableInt32 `json:"monthlyLimit,omitempty"` - // Per-user daily budget in US cents - DailyLimit NullableInt32 `json:"dailyLimit,omitempty"` + MonthlyLimit NullableGetMyUsage200ResponseQuotaMonthlyLimit `json:"monthlyLimit,omitempty"` + DailyLimit NullableGetMyUsage200ResponseQuotaDailyLimit `json:"dailyLimit,omitempty"` AdditionalProperties map[string]interface{} } @@ -46,9 +44,9 @@ func NewGetMyUsage200ResponseQuotaWithDefaults() *GetMyUsage200ResponseQuota { } // GetMonthlyLimit returns the MonthlyLimit field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GetMyUsage200ResponseQuota) GetMonthlyLimit() int32 { +func (o *GetMyUsage200ResponseQuota) GetMonthlyLimit() GetMyUsage200ResponseQuotaMonthlyLimit { if o == nil || IsNil(o.MonthlyLimit.Get()) { - var ret int32 + var ret GetMyUsage200ResponseQuotaMonthlyLimit return ret } return *o.MonthlyLimit.Get() @@ -57,7 +55,7 @@ func (o *GetMyUsage200ResponseQuota) GetMonthlyLimit() int32 { // GetMonthlyLimitOk returns a tuple with the MonthlyLimit field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GetMyUsage200ResponseQuota) GetMonthlyLimitOk() (*int32, bool) { +func (o *GetMyUsage200ResponseQuota) GetMonthlyLimitOk() (*GetMyUsage200ResponseQuotaMonthlyLimit, bool) { if o == nil { return nil, false } @@ -73,8 +71,8 @@ func (o *GetMyUsage200ResponseQuota) HasMonthlyLimit() bool { return false } -// SetMonthlyLimit gets a reference to the given NullableInt32 and assigns it to the MonthlyLimit field. -func (o *GetMyUsage200ResponseQuota) SetMonthlyLimit(v int32) { +// SetMonthlyLimit gets a reference to the given NullableGetMyUsage200ResponseQuotaMonthlyLimit and assigns it to the MonthlyLimit field. +func (o *GetMyUsage200ResponseQuota) SetMonthlyLimit(v GetMyUsage200ResponseQuotaMonthlyLimit) { o.MonthlyLimit.Set(&v) } // SetMonthlyLimitNil sets the value for MonthlyLimit to be an explicit nil @@ -88,9 +86,9 @@ func (o *GetMyUsage200ResponseQuota) UnsetMonthlyLimit() { } // GetDailyLimit returns the DailyLimit field value if set, zero value otherwise (both if not set or set to explicit null). -func (o *GetMyUsage200ResponseQuota) GetDailyLimit() int32 { +func (o *GetMyUsage200ResponseQuota) GetDailyLimit() GetMyUsage200ResponseQuotaDailyLimit { if o == nil || IsNil(o.DailyLimit.Get()) { - var ret int32 + var ret GetMyUsage200ResponseQuotaDailyLimit return ret } return *o.DailyLimit.Get() @@ -99,7 +97,7 @@ func (o *GetMyUsage200ResponseQuota) GetDailyLimit() int32 { // GetDailyLimitOk returns a tuple with the DailyLimit field value if set, nil otherwise // and a boolean to check if the value has been set. // NOTE: If the value is an explicit nil, `nil, true` will be returned -func (o *GetMyUsage200ResponseQuota) GetDailyLimitOk() (*int32, bool) { +func (o *GetMyUsage200ResponseQuota) GetDailyLimitOk() (*GetMyUsage200ResponseQuotaDailyLimit, bool) { if o == nil { return nil, false } @@ -115,8 +113,8 @@ func (o *GetMyUsage200ResponseQuota) HasDailyLimit() bool { return false } -// SetDailyLimit gets a reference to the given NullableInt32 and assigns it to the DailyLimit field. -func (o *GetMyUsage200ResponseQuota) SetDailyLimit(v int32) { +// SetDailyLimit gets a reference to the given NullableGetMyUsage200ResponseQuotaDailyLimit and assigns it to the DailyLimit field. +func (o *GetMyUsage200ResponseQuota) SetDailyLimit(v GetMyUsage200ResponseQuotaDailyLimit) { o.DailyLimit.Set(&v) } // SetDailyLimitNil sets the value for DailyLimit to be an explicit nil diff --git a/model_get_my_usage_200_response_quota_daily_limit.go b/model_get_my_usage_200_response_quota_daily_limit.go new file mode 100644 index 0000000..282a00b --- /dev/null +++ b/model_get_my_usage_200_response_quota_daily_limit.go @@ -0,0 +1,271 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" + "time" +) + +// checks if the GetMyUsage200ResponseQuotaDailyLimit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetMyUsage200ResponseQuotaDailyLimit{} + +// GetMyUsage200ResponseQuotaDailyLimit Per-user daily spend cap (object form, present when an org-level perUserDailyBudget is configured) +type GetMyUsage200ResponseQuotaDailyLimit struct { + // The configured daily cap in US cents + LimitCents *int32 `json:"limitCents,omitempty"` + // Percentage of the cap consumed today (0–100+) + UsedPercent *float32 `json:"usedPercent,omitempty"` + // Cents remaining before the cap is hit; can be negative if overspent + RemainingCents *int32 `json:"remainingCents,omitempty"` + // UTC timestamp when the daily counter resets (always next UTC midnight) + ResetsAt *time.Time `json:"resetsAt,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _GetMyUsage200ResponseQuotaDailyLimit GetMyUsage200ResponseQuotaDailyLimit + +// NewGetMyUsage200ResponseQuotaDailyLimit instantiates a new GetMyUsage200ResponseQuotaDailyLimit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetMyUsage200ResponseQuotaDailyLimit() *GetMyUsage200ResponseQuotaDailyLimit { + this := GetMyUsage200ResponseQuotaDailyLimit{} + return &this +} + +// NewGetMyUsage200ResponseQuotaDailyLimitWithDefaults instantiates a new GetMyUsage200ResponseQuotaDailyLimit object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetMyUsage200ResponseQuotaDailyLimitWithDefaults() *GetMyUsage200ResponseQuotaDailyLimit { + this := GetMyUsage200ResponseQuotaDailyLimit{} + return &this +} + +// GetLimitCents returns the LimitCents field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetLimitCents() int32 { + if o == nil || IsNil(o.LimitCents) { + var ret int32 + return ret + } + return *o.LimitCents +} + +// GetLimitCentsOk returns a tuple with the LimitCents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetLimitCentsOk() (*int32, bool) { + if o == nil || IsNil(o.LimitCents) { + return nil, false + } + return o.LimitCents, true +} + +// HasLimitCents returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) HasLimitCents() bool { + if o != nil && !IsNil(o.LimitCents) { + return true + } + + return false +} + +// SetLimitCents gets a reference to the given int32 and assigns it to the LimitCents field. +func (o *GetMyUsage200ResponseQuotaDailyLimit) SetLimitCents(v int32) { + o.LimitCents = &v +} + +// GetUsedPercent returns the UsedPercent field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetUsedPercent() float32 { + if o == nil || IsNil(o.UsedPercent) { + var ret float32 + return ret + } + return *o.UsedPercent +} + +// GetUsedPercentOk returns a tuple with the UsedPercent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetUsedPercentOk() (*float32, bool) { + if o == nil || IsNil(o.UsedPercent) { + return nil, false + } + return o.UsedPercent, true +} + +// HasUsedPercent returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) HasUsedPercent() bool { + if o != nil && !IsNil(o.UsedPercent) { + return true + } + + return false +} + +// SetUsedPercent gets a reference to the given float32 and assigns it to the UsedPercent field. +func (o *GetMyUsage200ResponseQuotaDailyLimit) SetUsedPercent(v float32) { + o.UsedPercent = &v +} + +// GetRemainingCents returns the RemainingCents field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetRemainingCents() int32 { + if o == nil || IsNil(o.RemainingCents) { + var ret int32 + return ret + } + return *o.RemainingCents +} + +// GetRemainingCentsOk returns a tuple with the RemainingCents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetRemainingCentsOk() (*int32, bool) { + if o == nil || IsNil(o.RemainingCents) { + return nil, false + } + return o.RemainingCents, true +} + +// HasRemainingCents returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) HasRemainingCents() bool { + if o != nil && !IsNil(o.RemainingCents) { + return true + } + + return false +} + +// SetRemainingCents gets a reference to the given int32 and assigns it to the RemainingCents field. +func (o *GetMyUsage200ResponseQuotaDailyLimit) SetRemainingCents(v int32) { + o.RemainingCents = &v +} + +// GetResetsAt returns the ResetsAt field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetResetsAt() time.Time { + if o == nil || IsNil(o.ResetsAt) { + var ret time.Time + return ret + } + return *o.ResetsAt +} + +// GetResetsAtOk returns a tuple with the ResetsAt field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) GetResetsAtOk() (*time.Time, bool) { + if o == nil || IsNil(o.ResetsAt) { + return nil, false + } + return o.ResetsAt, true +} + +// HasResetsAt returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaDailyLimit) HasResetsAt() bool { + if o != nil && !IsNil(o.ResetsAt) { + return true + } + + return false +} + +// SetResetsAt gets a reference to the given time.Time and assigns it to the ResetsAt field. +func (o *GetMyUsage200ResponseQuotaDailyLimit) SetResetsAt(v time.Time) { + o.ResetsAt = &v +} + +func (o GetMyUsage200ResponseQuotaDailyLimit) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetMyUsage200ResponseQuotaDailyLimit) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.LimitCents) { + toSerialize["limitCents"] = o.LimitCents + } + if !IsNil(o.UsedPercent) { + toSerialize["usedPercent"] = o.UsedPercent + } + if !IsNil(o.RemainingCents) { + toSerialize["remainingCents"] = o.RemainingCents + } + if !IsNil(o.ResetsAt) { + toSerialize["resetsAt"] = o.ResetsAt + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *GetMyUsage200ResponseQuotaDailyLimit) UnmarshalJSON(data []byte) (err error) { + varGetMyUsage200ResponseQuotaDailyLimit := _GetMyUsage200ResponseQuotaDailyLimit{} + + err = json.Unmarshal(data, &varGetMyUsage200ResponseQuotaDailyLimit) + + if err != nil { + return err + } + + *o = GetMyUsage200ResponseQuotaDailyLimit(varGetMyUsage200ResponseQuotaDailyLimit) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "limitCents") + delete(additionalProperties, "usedPercent") + delete(additionalProperties, "remainingCents") + delete(additionalProperties, "resetsAt") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableGetMyUsage200ResponseQuotaDailyLimit struct { + value *GetMyUsage200ResponseQuotaDailyLimit + isSet bool +} + +func (v NullableGetMyUsage200ResponseQuotaDailyLimit) Get() *GetMyUsage200ResponseQuotaDailyLimit { + return v.value +} + +func (v *NullableGetMyUsage200ResponseQuotaDailyLimit) Set(val *GetMyUsage200ResponseQuotaDailyLimit) { + v.value = val + v.isSet = true +} + +func (v NullableGetMyUsage200ResponseQuotaDailyLimit) IsSet() bool { + return v.isSet +} + +func (v *NullableGetMyUsage200ResponseQuotaDailyLimit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetMyUsage200ResponseQuotaDailyLimit(val *GetMyUsage200ResponseQuotaDailyLimit) *NullableGetMyUsage200ResponseQuotaDailyLimit { + return &NullableGetMyUsage200ResponseQuotaDailyLimit{value: val, isSet: true} +} + +func (v NullableGetMyUsage200ResponseQuotaDailyLimit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetMyUsage200ResponseQuotaDailyLimit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_my_usage_200_response_quota_monthly_limit.go b/model_get_my_usage_200_response_quota_monthly_limit.go new file mode 100644 index 0000000..948faf2 --- /dev/null +++ b/model_get_my_usage_200_response_quota_monthly_limit.go @@ -0,0 +1,232 @@ +/* +QuantCDN API + +Unified API for QuantCDN Admin and QuantCloud Platform services + +API version: 4.17.0 +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. + +package quantadmingo + +import ( + "encoding/json" +) + +// checks if the GetMyUsage200ResponseQuotaMonthlyLimit type satisfies the MappedNullable interface at compile time +var _ MappedNullable = &GetMyUsage200ResponseQuotaMonthlyLimit{} + +// GetMyUsage200ResponseQuotaMonthlyLimit Per-user monthly spend cap (object form, present when an org-level perUserMonthlyBudget is configured) +type GetMyUsage200ResponseQuotaMonthlyLimit struct { + // The configured monthly cap in US cents + LimitCents *int32 `json:"limitCents,omitempty"` + // Percentage of the cap consumed this month (0–100+) + UsedPercent *float32 `json:"usedPercent,omitempty"` + // Cents remaining before the cap is hit; can be negative if overspent + RemainingCents *int32 `json:"remainingCents,omitempty"` + AdditionalProperties map[string]interface{} +} + +type _GetMyUsage200ResponseQuotaMonthlyLimit GetMyUsage200ResponseQuotaMonthlyLimit + +// NewGetMyUsage200ResponseQuotaMonthlyLimit instantiates a new GetMyUsage200ResponseQuotaMonthlyLimit object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewGetMyUsage200ResponseQuotaMonthlyLimit() *GetMyUsage200ResponseQuotaMonthlyLimit { + this := GetMyUsage200ResponseQuotaMonthlyLimit{} + return &this +} + +// NewGetMyUsage200ResponseQuotaMonthlyLimitWithDefaults instantiates a new GetMyUsage200ResponseQuotaMonthlyLimit object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewGetMyUsage200ResponseQuotaMonthlyLimitWithDefaults() *GetMyUsage200ResponseQuotaMonthlyLimit { + this := GetMyUsage200ResponseQuotaMonthlyLimit{} + return &this +} + +// GetLimitCents returns the LimitCents field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetLimitCents() int32 { + if o == nil || IsNil(o.LimitCents) { + var ret int32 + return ret + } + return *o.LimitCents +} + +// GetLimitCentsOk returns a tuple with the LimitCents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetLimitCentsOk() (*int32, bool) { + if o == nil || IsNil(o.LimitCents) { + return nil, false + } + return o.LimitCents, true +} + +// HasLimitCents returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) HasLimitCents() bool { + if o != nil && !IsNil(o.LimitCents) { + return true + } + + return false +} + +// SetLimitCents gets a reference to the given int32 and assigns it to the LimitCents field. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) SetLimitCents(v int32) { + o.LimitCents = &v +} + +// GetUsedPercent returns the UsedPercent field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetUsedPercent() float32 { + if o == nil || IsNil(o.UsedPercent) { + var ret float32 + return ret + } + return *o.UsedPercent +} + +// GetUsedPercentOk returns a tuple with the UsedPercent field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetUsedPercentOk() (*float32, bool) { + if o == nil || IsNil(o.UsedPercent) { + return nil, false + } + return o.UsedPercent, true +} + +// HasUsedPercent returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) HasUsedPercent() bool { + if o != nil && !IsNil(o.UsedPercent) { + return true + } + + return false +} + +// SetUsedPercent gets a reference to the given float32 and assigns it to the UsedPercent field. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) SetUsedPercent(v float32) { + o.UsedPercent = &v +} + +// GetRemainingCents returns the RemainingCents field value if set, zero value otherwise. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetRemainingCents() int32 { + if o == nil || IsNil(o.RemainingCents) { + var ret int32 + return ret + } + return *o.RemainingCents +} + +// GetRemainingCentsOk returns a tuple with the RemainingCents field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) GetRemainingCentsOk() (*int32, bool) { + if o == nil || IsNil(o.RemainingCents) { + return nil, false + } + return o.RemainingCents, true +} + +// HasRemainingCents returns a boolean if a field has been set. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) HasRemainingCents() bool { + if o != nil && !IsNil(o.RemainingCents) { + return true + } + + return false +} + +// SetRemainingCents gets a reference to the given int32 and assigns it to the RemainingCents field. +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) SetRemainingCents(v int32) { + o.RemainingCents = &v +} + +func (o GetMyUsage200ResponseQuotaMonthlyLimit) MarshalJSON() ([]byte, error) { + toSerialize,err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} + +func (o GetMyUsage200ResponseQuotaMonthlyLimit) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.LimitCents) { + toSerialize["limitCents"] = o.LimitCents + } + if !IsNil(o.UsedPercent) { + toSerialize["usedPercent"] = o.UsedPercent + } + if !IsNil(o.RemainingCents) { + toSerialize["remainingCents"] = o.RemainingCents + } + + for key, value := range o.AdditionalProperties { + toSerialize[key] = value + } + + return toSerialize, nil +} + +func (o *GetMyUsage200ResponseQuotaMonthlyLimit) UnmarshalJSON(data []byte) (err error) { + varGetMyUsage200ResponseQuotaMonthlyLimit := _GetMyUsage200ResponseQuotaMonthlyLimit{} + + err = json.Unmarshal(data, &varGetMyUsage200ResponseQuotaMonthlyLimit) + + if err != nil { + return err + } + + *o = GetMyUsage200ResponseQuotaMonthlyLimit(varGetMyUsage200ResponseQuotaMonthlyLimit) + + additionalProperties := make(map[string]interface{}) + + if err = json.Unmarshal(data, &additionalProperties); err == nil { + delete(additionalProperties, "limitCents") + delete(additionalProperties, "usedPercent") + delete(additionalProperties, "remainingCents") + o.AdditionalProperties = additionalProperties + } + + return err +} + +type NullableGetMyUsage200ResponseQuotaMonthlyLimit struct { + value *GetMyUsage200ResponseQuotaMonthlyLimit + isSet bool +} + +func (v NullableGetMyUsage200ResponseQuotaMonthlyLimit) Get() *GetMyUsage200ResponseQuotaMonthlyLimit { + return v.value +} + +func (v *NullableGetMyUsage200ResponseQuotaMonthlyLimit) Set(val *GetMyUsage200ResponseQuotaMonthlyLimit) { + v.value = val + v.isSet = true +} + +func (v NullableGetMyUsage200ResponseQuotaMonthlyLimit) IsSet() bool { + return v.isSet +} + +func (v *NullableGetMyUsage200ResponseQuotaMonthlyLimit) Unset() { + v.value = nil + v.isSet = false +} + +func NewNullableGetMyUsage200ResponseQuotaMonthlyLimit(val *GetMyUsage200ResponseQuotaMonthlyLimit) *NullableGetMyUsage200ResponseQuotaMonthlyLimit { + return &NullableGetMyUsage200ResponseQuotaMonthlyLimit{value: val, isSet: true} +} + +func (v NullableGetMyUsage200ResponseQuotaMonthlyLimit) MarshalJSON() ([]byte, error) { + return json.Marshal(v.value) +} + +func (v *NullableGetMyUsage200ResponseQuotaMonthlyLimit) UnmarshalJSON(src []byte) error { + v.isSet = true + return json.Unmarshal(src, &v.value) +} + + diff --git a/model_get_skill_200_response.go b/model_get_skill_200_response.go index 210fc08..e8f1579 100644 --- a/model_get_skill_200_response.go +++ b/model_get_skill_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_skill_200_response_skill.go b/model_get_skill_200_response_skill.go index ec5ac01..b93e746 100644 --- a/model_get_skill_200_response_skill.go +++ b/model_get_skill_200_response_skill.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_slack_bot_200_response.go b/model_get_slack_bot_200_response.go index 4ba039c..abebabd 100644 --- a/model_get_slack_bot_200_response.go +++ b/model_get_slack_bot_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_slack_bot_200_response_bot.go b/model_get_slack_bot_200_response_bot.go index 77b2318..05567b8 100644 --- a/model_get_slack_bot_200_response_bot.go +++ b/model_get_slack_bot_200_response_bot.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ssh_access_credentials_200_response.go b/model_get_ssh_access_credentials_200_response.go index c76b776..fbf35fe 100644 --- a/model_get_ssh_access_credentials_200_response.go +++ b/model_get_ssh_access_credentials_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_ssh_access_credentials_200_response_credentials.go b/model_get_ssh_access_credentials_200_response_credentials.go index 1b4a86d..80ffdd9 100644 --- a/model_get_ssh_access_credentials_200_response_credentials.go +++ b/model_get_ssh_access_credentials_200_response_credentials.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_task_200_response.go b/model_get_task_200_response.go index 8f56378..46962e7 100644 --- a/model_get_task_200_response.go +++ b/model_get_task_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_vector_collection_200_response.go b/model_get_vector_collection_200_response.go index a0350ee..224a688 100644 --- a/model_get_vector_collection_200_response.go +++ b/model_get_vector_collection_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_get_vector_collection_200_response_collection.go b/model_get_vector_collection_200_response_collection.go index bbcd50d..159ed5d 100644 --- a/model_get_vector_collection_200_response_collection.go +++ b/model_get_vector_collection_200_response_collection.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_200_response.go b/model_image_generation_200_response.go index 583b70a..b0920ac 100644 --- a/model_image_generation_200_response.go +++ b/model_image_generation_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request.go b/model_image_generation_request.go index 54aefec..d0aa4f3 100644 --- a/model_image_generation_request.go +++ b/model_image_generation_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_background_removal_params.go b/model_image_generation_request_background_removal_params.go index b396ae6..9151e8c 100644 --- a/model_image_generation_request_background_removal_params.go +++ b/model_image_generation_request_background_removal_params.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_color_guided_generation_params.go b/model_image_generation_request_color_guided_generation_params.go index 67ba64a..4cc6188 100644 --- a/model_image_generation_request_color_guided_generation_params.go +++ b/model_image_generation_request_color_guided_generation_params.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_image_generation_config.go b/model_image_generation_request_image_generation_config.go index 215c786..b895d11 100644 --- a/model_image_generation_request_image_generation_config.go +++ b/model_image_generation_request_image_generation_config.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_image_variation_params.go b/model_image_generation_request_image_variation_params.go index 47599a3..ccee302 100644 --- a/model_image_generation_request_image_variation_params.go +++ b/model_image_generation_request_image_variation_params.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_in_painting_params.go b/model_image_generation_request_in_painting_params.go index 9974ec2..c2df65d 100644 --- a/model_image_generation_request_in_painting_params.go +++ b/model_image_generation_request_in_painting_params.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_out_painting_params.go b/model_image_generation_request_out_painting_params.go index 1819b5b..b30e862 100644 --- a/model_image_generation_request_out_painting_params.go +++ b/model_image_generation_request_out_painting_params.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_image_generation_request_text_to_image_params.go b/model_image_generation_request_text_to_image_params.go index 465fac8..8f99b4e 100644 --- a/model_image_generation_request_text_to_image_params.go +++ b/model_image_generation_request_text_to_image_params.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_import_skill_201_response.go b/model_import_skill_201_response.go index 1ce7623..f302e5a 100644 --- a/model_import_skill_201_response.go +++ b/model_import_skill_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_import_skill_collection_201_response.go b/model_import_skill_collection_201_response.go index 724a392..4d3a265 100644 --- a/model_import_skill_collection_201_response.go +++ b/model_import_skill_collection_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_import_skill_collection_request.go b/model_import_skill_collection_request.go index fdf3a28..7608994 100644 --- a/model_import_skill_collection_request.go +++ b/model_import_skill_collection_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_import_skill_collection_request_source.go b/model_import_skill_collection_request_source.go index 5efbcae..deea4fe 100644 --- a/model_import_skill_collection_request_source.go +++ b/model_import_skill_collection_request_source.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_import_skill_request.go b/model_import_skill_request.go index 42d0fcb..c00002c 100644 --- a/model_import_skill_request.go +++ b/model_import_skill_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_import_skill_request_source.go b/model_import_skill_request_source.go index aaf9a84..2ad1692 100644 --- a/model_import_skill_request_source.go +++ b/model_import_skill_request_source.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kv_items_create_200_response.go b/model_kv_items_create_200_response.go index bf8bce7..46c30a3 100644 --- a/model_kv_items_create_200_response.go +++ b/model_kv_items_create_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kv_items_delete_200_response.go b/model_kv_items_delete_200_response.go index 2145b44..0a33532 100644 --- a/model_kv_items_delete_200_response.go +++ b/model_kv_items_delete_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kv_items_show_200_response.go b/model_kv_items_show_200_response.go index d21962a..f339352 100644 --- a/model_kv_items_show_200_response.go +++ b/model_kv_items_show_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kv_items_show_200_response_value.go b/model_kv_items_show_200_response_value.go index 6441f17..584093c 100644 --- a/model_kv_items_show_200_response_value.go +++ b/model_kv_items_show_200_response_value.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kv_link_to_project_200_response.go b/model_kv_link_to_project_200_response.go index 65c699d..b2a40be 100644 --- a/model_kv_link_to_project_200_response.go +++ b/model_kv_link_to_project_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_kv_link_to_project_request.go b/model_kv_link_to_project_request.go index e201c4c..516635d 100644 --- a/model_kv_link_to_project_request.go +++ b/model_kv_link_to_project_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_agents_200_response.go b/model_list_ai_agents_200_response.go index 2f85201..9491733 100644 --- a/model_list_ai_agents_200_response.go +++ b/model_list_ai_agents_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_agents_200_response_agents_inner.go b/model_list_ai_agents_200_response_agents_inner.go index 60a62d0..39eb941 100644 --- a/model_list_ai_agents_200_response_agents_inner.go +++ b/model_list_ai_agents_200_response_agents_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_models_200_response.go b/model_list_ai_models_200_response.go index fb54d5c..70448fd 100644 --- a/model_list_ai_models_200_response.go +++ b/model_list_ai_models_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_models_200_response_models_inner.go b/model_list_ai_models_200_response_models_inner.go index 1eefc81..690dfe7 100644 --- a/model_list_ai_models_200_response_models_inner.go +++ b/model_list_ai_models_200_response_models_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_models_200_response_models_inner_capabilities.go b/model_list_ai_models_200_response_models_inner_capabilities.go index d095158..20c9270 100644 --- a/model_list_ai_models_200_response_models_inner_capabilities.go +++ b/model_list_ai_models_200_response_models_inner_capabilities.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_sessions_200_response_inner.go b/model_list_ai_sessions_200_response_inner.go index 8350cbd..fcecc27 100644 --- a/model_list_ai_sessions_200_response_inner.go +++ b/model_list_ai_sessions_200_response_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tool_executions_200_response.go b/model_list_ai_tool_executions_200_response.go index a1d5048..b9a1833 100644 --- a/model_list_ai_tool_executions_200_response.go +++ b/model_list_ai_tool_executions_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tool_executions_200_response_executions_inner.go b/model_list_ai_tool_executions_200_response_executions_inner.go index 2a0e8c7..c1d32bf 100644 --- a/model_list_ai_tool_executions_200_response_executions_inner.go +++ b/model_list_ai_tool_executions_200_response_executions_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tool_names_200_response.go b/model_list_ai_tool_names_200_response.go index c199663..546a038 100644 --- a/model_list_ai_tool_names_200_response.go +++ b/model_list_ai_tool_names_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tools_200_response.go b/model_list_ai_tools_200_response.go index 3e3ec4e..1833878 100644 --- a/model_list_ai_tools_200_response.go +++ b/model_list_ai_tools_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tools_200_response_tools_inner.go b/model_list_ai_tools_200_response_tools_inner.go index 7cfc903..c0d36db 100644 --- a/model_list_ai_tools_200_response_tools_inner.go +++ b/model_list_ai_tools_200_response_tools_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tools_200_response_tools_inner_tool_spec.go b/model_list_ai_tools_200_response_tools_inner_tool_spec.go index 667e122..b1434cc 100644 --- a/model_list_ai_tools_200_response_tools_inner_tool_spec.go +++ b/model_list_ai_tools_200_response_tools_inner_tool_spec.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_ai_tools_200_response_tools_inner_tool_spec_input_schema.go b/model_list_ai_tools_200_response_tools_inner_tool_spec_input_schema.go index 6c271d0..1981d7f 100644 --- a/model_list_ai_tools_200_response_tools_inner_tool_spec_input_schema.go +++ b/model_list_ai_tools_200_response_tools_inner_tool_spec_input_schema.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_backups_200_response.go b/model_list_backups_200_response.go index 7d23257..6fa5f87 100644 --- a/model_list_backups_200_response.go +++ b/model_list_backups_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_backups_200_response_backups_inner.go b/model_list_backups_200_response_backups_inner.go index 536b67d..c130485 100644 --- a/model_list_backups_200_response_backups_inner.go +++ b/model_list_backups_200_response_backups_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_backups_422_response.go b/model_list_backups_422_response.go index 2ea96fa..736931f 100644 --- a/model_list_backups_422_response.go +++ b/model_list_backups_422_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_custom_tools_200_response.go b/model_list_custom_tools_200_response.go index be2c23c..696f5b6 100644 --- a/model_list_custom_tools_200_response.go +++ b/model_list_custom_tools_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_custom_tools_200_response_tools_inner.go b/model_list_custom_tools_200_response_tools_inner.go index 8f4f906..8e3e1fe 100644 --- a/model_list_custom_tools_200_response_tools_inner.go +++ b/model_list_custom_tools_200_response_tools_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. @@ -24,7 +24,7 @@ type ListCustomTools200ResponseToolsInner struct { Description *string `json:"description,omitempty"` EdgeFunctionUrl *string `json:"edgeFunctionUrl,omitempty"` IsAsync *bool `json:"isAsync,omitempty"` - InputSchema map[string]interface{} `json:"inputSchema,omitempty"` + InputSchema *string `json:"inputSchema,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` AdditionalProperties map[string]interface{} } @@ -177,19 +177,19 @@ func (o *ListCustomTools200ResponseToolsInner) SetIsAsync(v bool) { } // GetInputSchema returns the InputSchema field value if set, zero value otherwise. -func (o *ListCustomTools200ResponseToolsInner) GetInputSchema() map[string]interface{} { +func (o *ListCustomTools200ResponseToolsInner) GetInputSchema() string { if o == nil || IsNil(o.InputSchema) { - var ret map[string]interface{} + var ret string return ret } - return o.InputSchema + return *o.InputSchema } // GetInputSchemaOk returns a tuple with the InputSchema field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *ListCustomTools200ResponseToolsInner) GetInputSchemaOk() (map[string]interface{}, bool) { +func (o *ListCustomTools200ResponseToolsInner) GetInputSchemaOk() (*string, bool) { if o == nil || IsNil(o.InputSchema) { - return map[string]interface{}{}, false + return nil, false } return o.InputSchema, true } @@ -203,9 +203,9 @@ func (o *ListCustomTools200ResponseToolsInner) HasInputSchema() bool { return false } -// SetInputSchema gets a reference to the given map[string]interface{} and assigns it to the InputSchema field. -func (o *ListCustomTools200ResponseToolsInner) SetInputSchema(v map[string]interface{}) { - o.InputSchema = v +// SetInputSchema gets a reference to the given string and assigns it to the InputSchema field. +func (o *ListCustomTools200ResponseToolsInner) SetInputSchema(v string) { + o.InputSchema = &v } // GetCreatedAt returns the CreatedAt field value if set, zero value otherwise. diff --git a/model_list_files_200_response.go b/model_list_files_200_response.go index 300e738..b6aee13 100644 --- a/model_list_files_200_response.go +++ b/model_list_files_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_files_200_response_files_inner.go b/model_list_files_200_response_files_inner.go index 6681334..b286cd5 100644 --- a/model_list_files_200_response_files_inner.go +++ b/model_list_files_200_response_files_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_orchestration_batches_200_response.go b/model_list_orchestration_batches_200_response.go index dd5668c..5e18979 100644 --- a/model_list_orchestration_batches_200_response.go +++ b/model_list_orchestration_batches_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_orchestration_batches_200_response_batches_inner.go b/model_list_orchestration_batches_200_response_batches_inner.go index 3cb4513..6b594fd 100644 --- a/model_list_orchestration_batches_200_response_batches_inner.go +++ b/model_list_orchestration_batches_200_response_batches_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_orchestrations_200_response.go b/model_list_orchestrations_200_response.go index ce092d2..b002538 100644 --- a/model_list_orchestrations_200_response.go +++ b/model_list_orchestrations_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_skill_collections_200_response.go b/model_list_skill_collections_200_response.go index 202669a..d442bc9 100644 --- a/model_list_skill_collections_200_response.go +++ b/model_list_skill_collections_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_skill_collections_200_response_collections_inner.go b/model_list_skill_collections_200_response_collections_inner.go index c2c2cb7..5925aeb 100644 --- a/model_list_skill_collections_200_response_collections_inner.go +++ b/model_list_skill_collections_200_response_collections_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_skills_200_response.go b/model_list_skills_200_response.go index 47682b3..e2a0569 100644 --- a/model_list_skills_200_response.go +++ b/model_list_skills_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_skills_200_response_skills_inner.go b/model_list_skills_200_response_skills_inner.go index 1527583..40a2ede 100644 --- a/model_list_skills_200_response_skills_inner.go +++ b/model_list_skills_200_response_skills_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_slack_bots_200_response.go b/model_list_slack_bots_200_response.go index f725059..ba0325d 100644 --- a/model_list_slack_bots_200_response.go +++ b/model_list_slack_bots_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_slack_bots_200_response_bots_inner.go b/model_list_slack_bots_200_response_bots_inner.go index 8d90159..8d75ed7 100644 --- a/model_list_slack_bots_200_response_bots_inner.go +++ b/model_list_slack_bots_200_response_bots_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_tasks_200_response.go b/model_list_tasks_200_response.go index 2b2270a..7e633c3 100644 --- a/model_list_tasks_200_response.go +++ b/model_list_tasks_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_tasks_200_response_tasks_inner.go b/model_list_tasks_200_response_tasks_inner.go index 0457eae..9c58925 100644 --- a/model_list_tasks_200_response_tasks_inner.go +++ b/model_list_tasks_200_response_tasks_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_vector_collections_200_response.go b/model_list_vector_collections_200_response.go index 737a54a..98b5a18 100644 --- a/model_list_vector_collections_200_response.go +++ b/model_list_vector_collections_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_list_vector_collections_200_response_collections_inner.go b/model_list_vector_collections_200_response_collections_inner.go index 6abf00c..ed644cd 100644 --- a/model_list_vector_collections_200_response_collections_inner.go +++ b/model_list_vector_collections_200_response_collections_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_organizations_list_200_response_inner.go b/model_organizations_list_200_response_inner.go index d29a818..5d89794 100644 --- a/model_organizations_list_200_response_inner.go +++ b/model_organizations_list_200_response_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patch_environment_compose_202_response.go b/model_patch_environment_compose_202_response.go index 5033de6..e52500b 100644 --- a/model_patch_environment_compose_202_response.go +++ b/model_patch_environment_compose_202_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patch_environment_compose_202_response_spot_configuration.go b/model_patch_environment_compose_202_response_spot_configuration.go index 657c923..ec23cf0 100644 --- a/model_patch_environment_compose_202_response_spot_configuration.go +++ b/model_patch_environment_compose_202_response_spot_configuration.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patch_environment_compose_400_response.go b/model_patch_environment_compose_400_response.go index 6861e71..16b23b4 100644 --- a/model_patch_environment_compose_400_response.go +++ b/model_patch_environment_compose_400_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patch_environment_compose_request.go b/model_patch_environment_compose_request.go index 2d38a0a..d86a4e4 100644 --- a/model_patch_environment_compose_request.go +++ b/model_patch_environment_compose_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_patch_environment_compose_request_spot_configuration.go b/model_patch_environment_compose_request_spot_configuration.go index f873015..08b9aca 100644 --- a/model_patch_environment_compose_request_spot_configuration.go +++ b/model_patch_environment_compose_request_spot_configuration.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_purge_create_request.go b/model_purge_create_request.go index 039247b..270c509 100644 --- a/model_purge_create_request.go +++ b/model_purge_create_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_query_vector_collection_200_response.go b/model_query_vector_collection_200_response.go index ae6c827..1b314dd 100644 --- a/model_query_vector_collection_200_response.go +++ b/model_query_vector_collection_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_query_vector_collection_200_response_pagination.go b/model_query_vector_collection_200_response_pagination.go index 27ab787..ff5ab8f 100644 --- a/model_query_vector_collection_200_response_pagination.go +++ b/model_query_vector_collection_200_response_pagination.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_query_vector_collection_200_response_results_inner.go b/model_query_vector_collection_200_response_results_inner.go index ff72b6b..2cf7f94 100644 --- a/model_query_vector_collection_200_response_results_inner.go +++ b/model_query_vector_collection_200_response_results_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_query_vector_collection_request.go b/model_query_vector_collection_request.go index ce6c5f8..d5d54b1 100644 --- a/model_query_vector_collection_request.go +++ b/model_query_vector_collection_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_query_vector_collection_request_filter.go b/model_query_vector_collection_request_filter.go index fe4b8a5..8a8c7b0 100644 --- a/model_query_vector_collection_request_filter.go +++ b/model_query_vector_collection_request_filter.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_scaling_policy.go b/model_scaling_policy.go index 29d0975..2413ea6 100644 --- a/model_scaling_policy.go +++ b/model_scaling_policy.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_slack_workspace_channels_200_response.go b/model_search_slack_workspace_channels_200_response.go index 958c878..0c85ec3 100644 --- a/model_search_slack_workspace_channels_200_response.go +++ b/model_search_slack_workspace_channels_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_slack_workspace_channels_200_response_results_inner.go b/model_search_slack_workspace_channels_200_response_results_inner.go index bd1a8fd..28f2860 100644 --- a/model_search_slack_workspace_channels_200_response_results_inner.go +++ b/model_search_slack_workspace_channels_200_response_results_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_slack_workspace_users_200_response.go b/model_search_slack_workspace_users_200_response.go index aeebceb..b4e752a 100644 --- a/model_search_slack_workspace_users_200_response.go +++ b/model_search_slack_workspace_users_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_search_slack_workspace_users_200_response_results_inner.go b/model_search_slack_workspace_users_200_response_results_inner.go index a41bb98..8b31f2e 100644 --- a/model_search_slack_workspace_users_200_response_results_inner.go +++ b/model_search_slack_workspace_users_200_response_results_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_spot_configuration.go b/model_spot_configuration.go index 46ddfda..4db0244 100644 --- a/model_spot_configuration.go +++ b/model_spot_configuration.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_submit_tool_callback_200_response.go b/model_submit_tool_callback_200_response.go index 6a5494a..66da46c 100644 --- a/model_submit_tool_callback_200_response.go +++ b/model_submit_tool_callback_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_submit_tool_callback_request.go b/model_submit_tool_callback_request.go index b133818..1b71c8b 100644 --- a/model_submit_tool_callback_request.go +++ b/model_submit_tool_callback_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_submit_tool_callback_request_tool_results_inner.go b/model_submit_tool_callback_request_tool_results_inner.go index 210cffe..6082163 100644 --- a/model_submit_tool_callback_request_tool_results_inner.go +++ b/model_submit_tool_callback_request_tool_results_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_sync_operation.go b/model_sync_operation.go index 1c95236..69f2711 100644 --- a/model_sync_operation.go +++ b/model_sync_operation.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_sync_skill_collection_200_response.go b/model_sync_skill_collection_200_response.go index 3c0a6ab..022ed41 100644 --- a/model_sync_skill_collection_200_response.go +++ b/model_sync_skill_collection_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_sync_to_environment_request.go b/model_sync_to_environment_request.go index 006629a..089068f 100644 --- a/model_sync_to_environment_request.go +++ b/model_sync_to_environment_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tokens_create_201_response.go b/model_tokens_create_201_response.go index 221d746..5f7a635 100644 --- a/model_tokens_create_201_response.go +++ b/model_tokens_create_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tokens_create_request.go b/model_tokens_create_request.go index 08e263b..460d6f2 100644 --- a/model_tokens_create_request.go +++ b/model_tokens_create_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tokens_delete_200_response.go b/model_tokens_delete_200_response.go index b70e5e0..8f8fca9 100644 --- a/model_tokens_delete_200_response.go +++ b/model_tokens_delete_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_tokens_list_200_response_inner.go b/model_tokens_list_200_response_inner.go index 70671da..3e85805 100644 --- a/model_tokens_list_200_response_inner.go +++ b/model_tokens_list_200_response_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_ai_agent_200_response.go b/model_update_ai_agent_200_response.go index ebca3f4..3f714c7 100644 --- a/model_update_ai_agent_200_response.go +++ b/model_update_ai_agent_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_ai_agent_request.go b/model_update_ai_agent_request.go index ee071ef..d1a6c5b 100644 --- a/model_update_ai_agent_request.go +++ b/model_update_ai_agent_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_ai_session_200_response.go b/model_update_ai_session_200_response.go index 36fe228..abec652 100644 --- a/model_update_ai_session_200_response.go +++ b/model_update_ai_session_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_ai_session_request.go b/model_update_ai_session_request.go index 362d03d..cfd230a 100644 --- a/model_update_ai_session_request.go +++ b/model_update_ai_session_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_ai_session_request_new_messages_inner.go b/model_update_ai_session_request_new_messages_inner.go index bbcab6b..7d1bfd4 100644 --- a/model_update_ai_session_request_new_messages_inner.go +++ b/model_update_ai_session_request_new_messages_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_cron_job_request.go b/model_update_cron_job_request.go index 4a9dbe6..774175f 100644 --- a/model_update_cron_job_request.go +++ b/model_update_cron_job_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_environment_request.go b/model_update_environment_request.go index 9053bee..0f59c4a 100644 --- a/model_update_environment_request.go +++ b/model_update_environment_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_environment_state_request.go b/model_update_environment_state_request.go index 838c94f..2d2ba11 100644 --- a/model_update_environment_state_request.go +++ b/model_update_environment_state_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_environment_variable_request.go b/model_update_environment_variable_request.go index 14e1872..9861b31 100644 --- a/model_update_environment_variable_request.go +++ b/model_update_environment_variable_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_filter_policy_request.go b/model_update_filter_policy_request.go index 6964783..39e2a43 100644 --- a/model_update_filter_policy_request.go +++ b/model_update_filter_policy_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_governance_config_200_response.go b/model_update_governance_config_200_response.go index 9e131ab..2008d15 100644 --- a/model_update_governance_config_200_response.go +++ b/model_update_governance_config_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_governance_config_request.go b/model_update_governance_config_request.go index c12efee..6ff93f9 100644 --- a/model_update_governance_config_request.go +++ b/model_update_governance_config_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_skill_200_response.go b/model_update_skill_200_response.go index 2bc365e..82b43ae 100644 --- a/model_update_skill_200_response.go +++ b/model_update_skill_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_skill_request.go b/model_update_skill_request.go index 5c32765..a7f88e3 100644 --- a/model_update_skill_request.go +++ b/model_update_skill_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_slack_bot_request.go b/model_update_slack_bot_request.go index a64ad14..8a0410f 100644 --- a/model_update_slack_bot_request.go +++ b/model_update_slack_bot_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_task_200_response.go b/model_update_task_200_response.go index 153d703..115275b 100644 --- a/model_update_task_200_response.go +++ b/model_update_task_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_update_task_request.go b/model_update_task_request.go index e5766a7..97d6e93 100644 --- a/model_update_task_request.go +++ b/model_update_task_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upload_file_201_response.go b/model_upload_file_201_response.go index 91215d7..6f163ef 100644 --- a/model_upload_file_201_response.go +++ b/model_upload_file_201_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upload_file_request.go b/model_upload_file_request.go index 05a3e4d..758c63e 100644 --- a/model_upload_file_request.go +++ b/model_upload_file_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upload_vector_documents_200_response.go b/model_upload_vector_documents_200_response.go index 517e487..e58560b 100644 --- a/model_upload_vector_documents_200_response.go +++ b/model_upload_vector_documents_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upload_vector_documents_request.go b/model_upload_vector_documents_request.go index 7ecd919..94251d1 100644 --- a/model_upload_vector_documents_request.go +++ b/model_upload_vector_documents_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upload_vector_documents_request_documents_inner.go b/model_upload_vector_documents_request_documents_inner.go index 597197f..32aeb55 100644 --- a/model_upload_vector_documents_request_documents_inner.go +++ b/model_upload_vector_documents_request_documents_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upload_vector_documents_request_documents_inner_metadata.go b/model_upload_vector_documents_request_documents_inner_metadata.go index c4d4f2d..45d94ff 100644 --- a/model_upload_vector_documents_request_documents_inner_metadata.go +++ b/model_upload_vector_documents_request_documents_inner_metadata.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upsert_agent_overlay_200_response.go b/model_upsert_agent_overlay_200_response.go index ff15fca..c111719 100644 --- a/model_upsert_agent_overlay_200_response.go +++ b/model_upsert_agent_overlay_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_upsert_agent_overlay_request.go b/model_upsert_agent_overlay_request.go index b99c8d2..b7f544b 100644 --- a/model_upsert_agent_overlay_request.go +++ b/model_upsert_agent_overlay_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_content_item.go b/model_v1_content_item.go index b818db9..f461596 100644 --- a/model_v1_content_item.go +++ b/model_v1_content_item.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_content_list_response.go b/model_v1_content_list_response.go index f7b70f4..8b72df9 100644 --- a/model_v1_content_list_response.go +++ b/model_v1_content_list_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_content_request.go b/model_v1_content_request.go index 8eb7c33..60b8f53 100644 --- a/model_v1_content_request.go +++ b/model_v1_content_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_delete_response.go b/model_v1_delete_response.go index 85aaaa6..6b42eed 100644 --- a/model_v1_delete_response.go +++ b/model_v1_delete_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_error.go b/model_v1_error.go index 3ab9875..4e315a8 100644 --- a/model_v1_error.go +++ b/model_v1_error.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_form_submission_item.go b/model_v1_form_submission_item.go index 6327021..c060561 100644 --- a/model_v1_form_submission_item.go +++ b/model_v1_form_submission_item.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_form_submission_list_response.go b/model_v1_form_submission_list_response.go index cb87406..bf92688 100644 --- a/model_v1_form_submission_list_response.go +++ b/model_v1_form_submission_list_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_get_metric_series_response.go b/model_v1_get_metric_series_response.go index 776e30e..12a46bd 100644 --- a/model_v1_get_metric_series_response.go +++ b/model_v1_get_metric_series_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_get_metric_series_response_data.go b/model_v1_get_metric_series_response_data.go index f030a00..770dff5 100644 --- a/model_v1_get_metric_series_response_data.go +++ b/model_v1_get_metric_series_response_data.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_get_metrics_response.go b/model_v1_get_metrics_response.go index efd2784..784a414 100644 --- a/model_v1_get_metrics_response.go +++ b/model_v1_get_metrics_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_get_metrics_response_data.go b/model_v1_get_metrics_response_data.go index c4fcc21..c2c58f0 100644 --- a/model_v1_get_metrics_response_data.go +++ b/model_v1_get_metrics_response_data.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_global_meta_response.go b/model_v1_global_meta_response.go index a21a183..a332600 100644 --- a/model_v1_global_meta_response.go +++ b/model_v1_global_meta_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_global_meta_response_global_meta.go b/model_v1_global_meta_response_global_meta.go index 0915b07..4ead821 100644 --- a/model_v1_global_meta_response_global_meta.go +++ b/model_v1_global_meta_response_global_meta.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_info.go b/model_v1_info.go index 75ef32a..b8faeea 100644 --- a/model_v1_info.go +++ b/model_v1_info.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_meta.go b/model_v1_meta.go index a76126c..de2cf45 100644 --- a/model_v1_meta.go +++ b/model_v1_meta.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_metric_day_stats.go b/model_v1_metric_day_stats.go index ec7414b..8ce94f7 100644 --- a/model_v1_metric_day_stats.go +++ b/model_v1_metric_day_stats.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_metric_minute_stats.go b/model_v1_metric_minute_stats.go index 9d29348..d1181b9 100644 --- a/model_v1_metric_minute_stats.go +++ b/model_v1_metric_minute_stats.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_metric_month_stats.go b/model_v1_metric_month_stats.go index 4cd614a..624843b 100644 --- a/model_v1_metric_month_stats.go +++ b/model_v1_metric_month_stats.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_ping_response.go b/model_v1_ping_response.go index 08230ae..8b9aeed 100644 --- a/model_v1_ping_response.go +++ b/model_v1_ping_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_proxy_item.go b/model_v1_proxy_item.go index 004bda5..35bb9a4 100644 --- a/model_v1_proxy_item.go +++ b/model_v1_proxy_item.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_proxy_list_response.go b/model_v1_proxy_list_response.go index b28c951..b721896 100644 --- a/model_v1_proxy_list_response.go +++ b/model_v1_proxy_list_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_redirect_item.go b/model_v1_redirect_item.go index c67be9c..9472f7d 100644 --- a/model_v1_redirect_item.go +++ b/model_v1_redirect_item.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_redirect_list_response.go b/model_v1_redirect_list_response.go index 030f83d..7d8c1d0 100644 --- a/model_v1_redirect_list_response.go +++ b/model_v1_redirect_list_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_redirect_request.go b/model_v1_redirect_request.go index 9d83438..adac592 100644 --- a/model_v1_redirect_request.go +++ b/model_v1_redirect_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_redirect_response.go b/model_v1_redirect_response.go index 7cfc618..f2a836d 100644 --- a/model_v1_redirect_response.go +++ b/model_v1_redirect_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_revision.go b/model_v1_revision.go index e88a78d..2998b3b 100644 --- a/model_v1_revision.go +++ b/model_v1_revision.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_revisions_response.go b/model_v1_revisions_response.go index 8025306..cd4ecfa 100644 --- a/model_v1_revisions_response.go +++ b/model_v1_revisions_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_search_hit.go b/model_v1_search_hit.go index e540548..fba1694 100644 --- a/model_v1_search_hit.go +++ b/model_v1_search_hit.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_search_items_response.go b/model_v1_search_items_response.go index 237ab09..02e9a91 100644 --- a/model_v1_search_items_response.go +++ b/model_v1_search_items_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_search_mutation_response.go b/model_v1_search_mutation_response.go index e74958a..93df858 100644 --- a/model_v1_search_mutation_response.go +++ b/model_v1_search_mutation_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_search_record.go b/model_v1_search_record.go index 71c5428..6b5ee65 100644 --- a/model_v1_search_record.go +++ b/model_v1_search_record.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_search_response.go b/model_v1_search_response.go index 87a8305..19aa7e6 100644 --- a/model_v1_search_response.go +++ b/model_v1_search_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_series_point_day.go b/model_v1_series_point_day.go index 7b51dd2..5db0058 100644 --- a/model_v1_series_point_day.go +++ b/model_v1_series_point_day.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_series_point_month.go b/model_v1_series_point_month.go index 6246c51..838c825 100644 --- a/model_v1_series_point_month.go +++ b/model_v1_series_point_month.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_transition.go b/model_v1_transition.go index 205b1aa..d7a4ed0 100644 --- a/model_v1_transition.go +++ b/model_v1_transition.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_upload_response.go b/model_v1_upload_response.go index 8a3738f..9d9e0cd 100644 --- a/model_v1_upload_response.go +++ b/model_v1_upload_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_url_meta_request.go b/model_v1_url_meta_request.go index 1ece18b..55ac811 100644 --- a/model_v1_url_meta_request.go +++ b/model_v1_url_meta_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_url_meta_response.go b/model_v1_url_meta_response.go index 1b99103..9d2f713 100644 --- a/model_v1_url_meta_response.go +++ b/model_v1_url_meta_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_waf_log_item.go b/model_v1_waf_log_item.go index b81992b..3dfa6a9 100644 --- a/model_v1_waf_log_item.go +++ b/model_v1_waf_log_item.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v1_waf_log_list_response.go b/model_v1_waf_log_list_response.go index 280f69a..5a6205d 100644 --- a/model_v1_waf_log_list_response.go +++ b/model_v1_waf_log_list_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler.go b/model_v2_crawler.go index c126ebf..b1e9d9a 100644 --- a/model_v2_crawler.go +++ b/model_v2_crawler.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_assets.go b/model_v2_crawler_assets.go index 3ac3c90..58a16e3 100644 --- a/model_v2_crawler_assets.go +++ b/model_v2_crawler_assets.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_assets_network_intercept.go b/model_v2_crawler_assets_network_intercept.go index 8c5f8f4..0dd762d 100644 --- a/model_v2_crawler_assets_network_intercept.go +++ b/model_v2_crawler_assets_network_intercept.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_assets_parser.go b/model_v2_crawler_assets_parser.go index 8249541..49e046d 100644 --- a/model_v2_crawler_assets_parser.go +++ b/model_v2_crawler_assets_parser.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_request.go b/model_v2_crawler_request.go index 1177b7a..1a05f64 100644 --- a/model_v2_crawler_request.go +++ b/model_v2_crawler_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_run.go b/model_v2_crawler_run.go index 82231d9..c53d444 100644 --- a/model_v2_crawler_run.go +++ b/model_v2_crawler_run.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_schedule.go b/model_v2_crawler_schedule.go index 62df987..9bde622 100644 --- a/model_v2_crawler_schedule.go +++ b/model_v2_crawler_schedule.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_schedule_request.go b/model_v2_crawler_schedule_request.go index 8a9daf9..266c1f0 100644 --- a/model_v2_crawler_schedule_request.go +++ b/model_v2_crawler_schedule_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_crawler_sitemap_inner.go b/model_v2_crawler_sitemap_inner.go index 618ccc0..5a4d18d 100644 --- a/model_v2_crawler_sitemap_inner.go +++ b/model_v2_crawler_sitemap_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_custom_header_request.go b/model_v2_custom_header_request.go index c8464e7..cb0034e 100644 --- a/model_v2_custom_header_request.go +++ b/model_v2_custom_header_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_domain.go b/model_v2_domain.go index 9cca172..f41dfc5 100644 --- a/model_v2_domain.go +++ b/model_v2_domain.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_domain_dns_go_live_records_inner.go b/model_v2_domain_dns_go_live_records_inner.go index b56a4c0..c2a0548 100644 --- a/model_v2_domain_dns_go_live_records_inner.go +++ b/model_v2_domain_dns_go_live_records_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_domain_dns_validation_records_inner.go b/model_v2_domain_dns_validation_records_inner.go index e6e5106..6b71816 100644 --- a/model_v2_domain_dns_validation_records_inner.go +++ b/model_v2_domain_dns_validation_records_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_domain_request.go b/model_v2_domain_request.go index af04119..d68c286 100644 --- a/model_v2_domain_request.go +++ b/model_v2_domain_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_error.go b/model_v2_error.go index a340a06..df058fd 100644 --- a/model_v2_error.go +++ b/model_v2_error.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_metric_data.go b/model_v2_metric_data.go index d4e6e8a..f46464f 100644 --- a/model_v2_metric_data.go +++ b/model_v2_metric_data.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_metric_data_point.go b/model_v2_metric_data_point.go index 27d17a0..f50253f 100644 --- a/model_v2_metric_data_point.go +++ b/model_v2_metric_data_point.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_metric_data_point_timestamp.go b/model_v2_metric_data_point_timestamp.go index c09e51d..633b668 100644 --- a/model_v2_metric_data_point_timestamp.go +++ b/model_v2_metric_data_point_timestamp.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_metrics_meta.go b/model_v2_metrics_meta.go index 3c3b344..aac1822 100644 --- a/model_v2_metrics_meta.go +++ b/model_v2_metrics_meta.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_metrics_response.go b/model_v2_metrics_response.go index ff4effa..4c3e78d 100644 --- a/model_v2_metrics_response.go +++ b/model_v2_metrics_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_organization.go b/model_v2_organization.go index 3af5b13..763cd42 100644 --- a/model_v2_organization.go +++ b/model_v2_organization.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_organization_request.go b/model_v2_organization_request.go index 9c2eddc..4e556d0 100644 --- a/model_v2_organization_request.go +++ b/model_v2_organization_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_project.go b/model_v2_project.go index af3d00a..307ea19 100644 --- a/model_v2_project.go +++ b/model_v2_project.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_project_request.go b/model_v2_project_request.go index d2182f8..0389bed 100644 --- a/model_v2_project_request.go +++ b/model_v2_project_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule.go b/model_v2_rule.go index b6d5c5c..142b631 100644 --- a/model_v2_rule.go +++ b/model_v2_rule.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_auth.go b/model_v2_rule_auth.go index 528f972..342bae6 100644 --- a/model_v2_rule_auth.go +++ b/model_v2_rule_auth.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_auth_action.go b/model_v2_rule_auth_action.go index 584825e..e1759d0 100644 --- a/model_v2_rule_auth_action.go +++ b/model_v2_rule_auth_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_auth_request.go b/model_v2_rule_auth_request.go index 7127a74..cefe641 100644 --- a/model_v2_rule_auth_request.go +++ b/model_v2_rule_auth_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_bot_challenge.go b/model_v2_rule_bot_challenge.go index a91476d..f7815c0 100644 --- a/model_v2_rule_bot_challenge.go +++ b/model_v2_rule_bot_challenge.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_bot_challenge_action.go b/model_v2_rule_bot_challenge_action.go index ff99351..da981ea 100644 --- a/model_v2_rule_bot_challenge_action.go +++ b/model_v2_rule_bot_challenge_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_bot_challenge_request.go b/model_v2_rule_bot_challenge_request.go index 2540f14..5fb3819 100644 --- a/model_v2_rule_bot_challenge_request.go +++ b/model_v2_rule_bot_challenge_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_content_filter.go b/model_v2_rule_content_filter.go index dc1edec..3675882 100644 --- a/model_v2_rule_content_filter.go +++ b/model_v2_rule_content_filter.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_content_filter_action.go b/model_v2_rule_content_filter_action.go index 0b57ff3..a85af62 100644 --- a/model_v2_rule_content_filter_action.go +++ b/model_v2_rule_content_filter_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_content_filter_request.go b/model_v2_rule_content_filter_request.go index 105cc32..2a2d539 100644 --- a/model_v2_rule_content_filter_request.go +++ b/model_v2_rule_content_filter_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_custom_response.go b/model_v2_rule_custom_response.go index 3f8475d..740b37b 100644 --- a/model_v2_rule_custom_response.go +++ b/model_v2_rule_custom_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_custom_response_action.go b/model_v2_rule_custom_response_action.go index cbde6dd..1fdb638 100644 --- a/model_v2_rule_custom_response_action.go +++ b/model_v2_rule_custom_response_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_custom_response_request.go b/model_v2_rule_custom_response_request.go index 5261b02..d37875f 100644 --- a/model_v2_rule_custom_response_request.go +++ b/model_v2_rule_custom_response_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_function.go b/model_v2_rule_function.go index 991bb90..72cdf3c 100644 --- a/model_v2_rule_function.go +++ b/model_v2_rule_function.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_function_action.go b/model_v2_rule_function_action.go index 1d6f771..2a0d7b1 100644 --- a/model_v2_rule_function_action.go +++ b/model_v2_rule_function_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_function_request.go b/model_v2_rule_function_request.go index cad4973..fd4dee6 100644 --- a/model_v2_rule_function_request.go +++ b/model_v2_rule_function_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_header.go b/model_v2_rule_header.go index eb76d3c..32d128b 100644 --- a/model_v2_rule_header.go +++ b/model_v2_rule_header.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_header_action.go b/model_v2_rule_header_action.go index 276f611..349af94 100644 --- a/model_v2_rule_header_action.go +++ b/model_v2_rule_header_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_header_request.go b/model_v2_rule_header_request.go index dfb3042..41cc989 100644 --- a/model_v2_rule_header_request.go +++ b/model_v2_rule_header_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_proxy.go b/model_v2_rule_proxy.go index 384e9b4..b338f1a 100644 --- a/model_v2_rule_proxy.go +++ b/model_v2_rule_proxy.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_proxy_action.go b/model_v2_rule_proxy_action.go index e4a9c94..3bbe9db 100644 --- a/model_v2_rule_proxy_action.go +++ b/model_v2_rule_proxy_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_proxy_action_notify_config.go b/model_v2_rule_proxy_action_notify_config.go index 809316f..a7de4a7 100644 --- a/model_v2_rule_proxy_action_notify_config.go +++ b/model_v2_rule_proxy_action_notify_config.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_proxy_action_quant_cloud_selection.go b/model_v2_rule_proxy_action_quant_cloud_selection.go index 4c121ca..2e380e4 100644 --- a/model_v2_rule_proxy_action_quant_cloud_selection.go +++ b/model_v2_rule_proxy_action_quant_cloud_selection.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_proxy_request.go b/model_v2_rule_proxy_request.go index 32e14a3..6b00a69 100644 --- a/model_v2_rule_proxy_request.go +++ b/model_v2_rule_proxy_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_redirect.go b/model_v2_rule_redirect.go index 6041686..cdb14cb 100644 --- a/model_v2_rule_redirect.go +++ b/model_v2_rule_redirect.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_redirect_action.go b/model_v2_rule_redirect_action.go index 873aec1..0df06eb 100644 --- a/model_v2_rule_redirect_action.go +++ b/model_v2_rule_redirect_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_redirect_request.go b/model_v2_rule_redirect_request.go index 18c465b..11ba993 100644 --- a/model_v2_rule_redirect_request.go +++ b/model_v2_rule_redirect_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_request.go b/model_v2_rule_request.go index a6259e6..b7c0d0b 100644 --- a/model_v2_rule_request.go +++ b/model_v2_rule_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_serve_static.go b/model_v2_rule_serve_static.go index 59c33c6..3065216 100644 --- a/model_v2_rule_serve_static.go +++ b/model_v2_rule_serve_static.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_serve_static_action.go b/model_v2_rule_serve_static_action.go index 10ee4d4..36049f1 100644 --- a/model_v2_rule_serve_static_action.go +++ b/model_v2_rule_serve_static_action.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_rule_serve_static_request.go b/model_v2_rule_serve_static_request.go index f529020..84a13a8 100644 --- a/model_v2_rule_serve_static_request.go +++ b/model_v2_rule_serve_static_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_secret_store.go b/model_v2_secret_store.go index bb86506..1af8ba2 100644 --- a/model_v2_secret_store.go +++ b/model_v2_secret_store.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_secret_store_request.go b/model_v2_secret_store_request.go index 713f584..8fc5017 100644 --- a/model_v2_secret_store_request.go +++ b/model_v2_secret_store_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_store.go b/model_v2_store.go index 802d8cc..7160444 100644 --- a/model_v2_store.go +++ b/model_v2_store.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_store_item.go b/model_v2_store_item.go index 47d0bd9..fbd8a87 100644 --- a/model_v2_store_item.go +++ b/model_v2_store_item.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_store_item_request.go b/model_v2_store_item_request.go index 4d105aa..1d873d6 100644 --- a/model_v2_store_item_request.go +++ b/model_v2_store_item_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_store_item_update_request.go b/model_v2_store_item_update_request.go index c0f9d95..577293b 100644 --- a/model_v2_store_item_update_request.go +++ b/model_v2_store_item_update_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_store_items_list_response.go b/model_v2_store_items_list_response.go index 8dc6b75..fc1eab0 100644 --- a/model_v2_store_items_list_response.go +++ b/model_v2_store_items_list_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_v2_store_request.go b/model_v2_store_request.go index a9ba02e..6841c75 100644 --- a/model_v2_store_request.go +++ b/model_v2_store_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_validate_compose_200_response.go b/model_validate_compose_200_response.go index 44eaad8..e0ba03e 100644 --- a/model_validate_compose_200_response.go +++ b/model_validate_compose_200_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_validate_compose_422_response.go b/model_validate_compose_422_response.go index 8700e3d..4792010 100644 --- a/model_validate_compose_422_response.go +++ b/model_validate_compose_422_response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_validate_compose_request.go b/model_validate_compose_request.go index 2a328c1..357b796 100644 --- a/model_validate_compose_request.go +++ b/model_validate_compose_request.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_variable.go b/model_variable.go index 01fd83d..8b89ca0 100644 --- a/model_variable.go +++ b/model_variable.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_volume.go b/model_volume.go index a81c068..e4cc9e3 100644 --- a/model_volume.go +++ b/model_volume.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_waf_config.go b/model_waf_config.go index 70de42e..505a8fa 100644 --- a/model_waf_config.go +++ b/model_waf_config.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_waf_config_block_lists.go b/model_waf_config_block_lists.go index cf2baca..25a75de 100644 --- a/model_waf_config_block_lists.go +++ b/model_waf_config_block_lists.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_waf_config_httpbl.go b/model_waf_config_httpbl.go index a011b53..fe47fd9 100644 --- a/model_waf_config_httpbl.go +++ b/model_waf_config_httpbl.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/model_waf_config_thresholds_inner.go b/model_waf_config_thresholds_inner.go index 10fa423..7bdb589 100644 --- a/model_waf_config_thresholds_inner.go +++ b/model_waf_config_thresholds_inner.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/response.go b/response.go index a225d79..a008dd9 100644 --- a/response.go +++ b/response.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/test/api_ai_search_test.go b/test/api_ai_search_test.go new file mode 100644 index 0000000..5c95813 --- /dev/null +++ b/test/api_ai_search_test.go @@ -0,0 +1,265 @@ +/* +QuantCDN API + +Testing AISearchAPIService + +*/ + +// Code generated by OpenAPI Generator (https://openapi-generator.tech); + +package quantadmingo + +import ( + "context" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "testing" + openapiclient "github.com/quantcdn/quant-admin-go/v4" +) + +func Test_quantadmingo_AISearchAPIService(t *testing.T) { + + configuration := openapiclient.NewConfiguration() + apiClient := openapiclient.NewAPIClient(configuration) + + t.Run("Test AISearchAPIService AiSearchChat", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchChat(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchDeletePages", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchDeletePages(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchDisable", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchDisable(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchEnable", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchEnable(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchGetCrawl", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + var jobId string + + httpRes, err := apiClient.AISearchAPI.AiSearchGetCrawl(context.Background(), organisation, project, jobId).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchGetCrawlPages", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + var jobId string + + httpRes, err := apiClient.AISearchAPI.AiSearchGetCrawlPages(context.Background(), organisation, project, jobId).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchGetSettings", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchGetSettings(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchIngestPages", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchIngestPages(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchListCrawls", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchListCrawls(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchListPages", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchListPages(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchPurgeIndex", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchPurgeIndex(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchSearch", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchSearch(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchStatus", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchStatus(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchTopQueries", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchTopQueries(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchTriggerCrawl", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchTriggerCrawl(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchUpdateSettings", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchUpdateSettings(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + + t.Run("Test AISearchAPIService AiSearchUsage", func(t *testing.T) { + + t.Skip("skip test") // remove to run test + + var organisation string + var project string + + httpRes, err := apiClient.AISearchAPI.AiSearchUsage(context.Background(), organisation, project).Execute() + + require.Nil(t, err) + assert.Equal(t, 200, httpRes.StatusCode) + + }) + +} diff --git a/utils.go b/utils.go index 624398e..eb0327b 100644 --- a/utils.go +++ b/utils.go @@ -3,7 +3,7 @@ QuantCDN API Unified API for QuantCDN Admin and QuantCloud Platform services -API version: 4.15.8 +API version: 4.17.0 */ // Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT. diff --git a/version.go b/version.go index 73a6029..ca56eb1 100644 --- a/version.go +++ b/version.go @@ -1,4 +1,4 @@ package quantadmingo // Version of the SDK -const Version = "4.15.8" +const Version = "4.17.0"