diff --git a/CHANGELOG.md b/CHANGELOG.md index 954b969a..e9b67dba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,26 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +## [26.9.0] - 2026-09-24 + +No breaking changes (per [oasdiff](https://github.com/oasdiff/oasdiff)). + +### Added +- **API spec:** `graphiant_api_docs_v26.9.0.json` +- **SDK Automation (playbooks):** new endpoint set under `/v1/sdk-automation/playbook/...` — catalog bundles (**`GET /bundles`**), module slots (**`GET /module-slots`**), templates (**`GET /templates`**), config CRUD + staging (**`GET`/`POST /configs`**, **`GET`/`PUT`/`DELETE /configs/{configId}`**, **`GET`/`POST /configs/{configId}/dry-run`**, **`PUT /configs/{configId}/stage`**), and job lifecycle (**`GET /jobs`**, **`GET /jobs/{jobId}`**, **`GET /jobs/{jobId}/logs`**, **`POST /jobs/{jobId}/run`**, **`PUT /jobs/{jobId}/approve`**, **`POST /jobs/{jobId}/resume`**, **`PUT /jobs/{jobId}/abort`**); models **`SdkAutomationCatalogBundle`**, **`SdkAutomationCatalogModuleSlot`**, **`SdkAutomationModuleFile`**, **`SdkAutomationTemplateFile`**, **`SdkAutomationPlaybookConfig`**, **`SdkAutomationPlaybookConfigSummary`**, **`SdkAutomationPlaybookJob`**, **`SdkAutomationValidationError`** +- **FEC monitoring:** **`GET /v2/monitoring/fec-stats`** — adaptive FEC repair-level/QoE stats for a device; models **`V2MonitoringFecStatsGetResponse`** (`current_repair_level`, `effective_qoe`, `unrepairable_rate`, rx/tx histograms and stats), **`StatsmonV2FecRxStats`**, **`StatsmonV2FecTxStats`**, **`StatsmonV2FecRxRepairLevel`**, **`StatsmonV2FecTxRepairLevel`**, **`StatsmonV2RepairLevel`**, **`StatsmonV2RepairLevelScore`** +- **`GET`/`POST /v1/edges-summary`, `GET /v1/devices-summary`**: added optional `showExcluded` query/request parameter to include devices excluded from Graphiant API lists (default `false`) +- **`IamEnterprise`**, **`V1EnterprisesPatchRequest`**: added `backbone_apis_enabled` field, surfaced on **`GET /v1/enterprises`**, **`GET /v1/enterprises/managed`**, and **`GET /v1/users/{id}/enterprises`** +- **`CommonUserInfo`**: added `bearer_token` field, surfaced in device/enterprise snapshot responses (**`GET /v1/device/snapshot`**, **`GET /v1/device/snapshot/{deviceId}`**, **`GET /v1/enterprise/snapshot`**) + +### Changed +- **Version:** Package **26.9.0**; OpenAPI bundle **`graphiant_api_docs_v26.9.0.json`** (replaces **26.8.0** bundle in-repo). +- **`ManaV2PublicVifGatewayWriteRequest`**, **`V1PvifPostRequest`**, **`V1ExtranetB2bProducerPostRequest`**, **`V1ExtranetB2bProducerReviewPostRequest`**: clarified `service_name` description — producer service name must be letters, digits, or hyphens only (no schema/type change) +- **SDK (generated):** Refreshed **`default_api`**, model exports, and **`docs/`** to match the **26.9.0** spec. + +### Removed +- **API spec:** removed **`graphiant_api_docs_v26.8.0.json`** (superseded by **26.9.0** bundle). + ## [26.8.0] - 2026-08-26 > **⚠️ Breaking change in the underlying API** (flagged by [oasdiff](https://github.com/oasdiff/oasdiff); not a SemVer-major bump since this API doesn't follow strict SemVer): the Zendesk integration endpoints (`POST /v2/integration/`, `PUT /v2/integration/{integrationId}`, `GET /v2/integration/getall/{enterpriseId}`) now **require** `zendeskClientId`/`zendeskClientSecret` in the request body in place of `zendeskApiToken`/`zendeskEmail`. See `AlertserviceZendeskDetails` below. diff --git a/api/graphiant_api_docs_v26.8.0.json b/api/graphiant_api_docs_v26.9.0.json similarity index 96% rename from api/graphiant_api_docs_v26.8.0.json rename to api/graphiant_api_docs_v26.9.0.json index b33645fc..a545db82 100644 --- a/api/graphiant_api_docs_v26.8.0.json +++ b/api/graphiant_api_docs_v26.9.0.json @@ -5927,6 +5927,10 @@ "type": "string", "example": "example string" }, + "backboneApisEnabled": { + "type": "boolean", + "example": true + }, "cloudProvider": { "type": "string", "example": "ENUM_VALUE" @@ -6129,6 +6133,10 @@ "type": "string", "example": "example string" }, + "backboneApisEnabled": { + "type": "boolean", + "example": true + }, "cloudProvider": { "type": "string", "example": "ENUM_VALUE" @@ -18879,7 +18887,7 @@ "serviceName": { "type": "string", "example": "example string", - "description": " (required)" + "description": "Producer service name (letters, digits, hyphens only) (required)" }, "serviceType": { "type": "string", @@ -19253,7 +19261,7 @@ "serviceName": { "type": "string", "example": "example string", - "description": " (required)" + "description": "Producer service name (letters, digits, hyphens only) (required)" }, "serviceType": { "type": "string", @@ -22864,7 +22872,7 @@ "serviceName": { "type": "string", "example": "example string", - "description": "Service display name (required)" + "description": "Producer service name (letters, digits, hyphens only) (required)" }, "storageProvider": { "type": "string", @@ -23084,7 +23092,7 @@ "serviceName": { "type": "string", "example": "example string", - "description": "Service display name (required)" + "description": "Producer service name (letters, digits, hyphens only) (required)" }, "storageProvider": { "type": "string", @@ -26896,6 +26904,10 @@ "commonUserInfo": { "type": "object", "properties": { + "bearerToken": { + "type": "string", + "example": "example string" + }, "enterpriseId": { "type": "integer", "format": "int64", @@ -29892,6 +29904,668 @@ }, "additionalProperties": false }, + "v1SdkAutomationPlaybookBundlesGetResponse": { + "type": "object", + "properties": { + "bundles": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationCatalogBundle" + } + } + }, + "additionalProperties": false + }, + "sdkAutomationCatalogBundle": { + "type": "object", + "properties": { + "description": { + "type": "string", + "example": "example string", + "description": "Short description of the bundle" + }, + "key": { + "type": "string", + "example": "example string", + "description": "Stable catalog key (e.g. system_bundle); used as CreatePlaybookConfigRequest.bundle_key" + }, + "name": { + "type": "string", + "example": "example string", + "description": "Display name for the UI picklist" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookModuleSlotsGetResponse": { + "type": "object", + "properties": { + "modules": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationCatalogModuleSlot" + } + } + }, + "additionalProperties": false + }, + "sdkAutomationCatalogModuleSlot": { + "type": "object", + "properties": { + "bundleKey": { + "type": "string", + "example": "example string", + "description": "Owning catalog playbook key (e.g. system_bundle)" + }, + "description": { + "type": "string", + "example": "example string", + "description": "Short description of the module slot" + }, + "fileDistinguisher": { + "type": "string", + "example": "example string", + "description": "Top-level YAML key from playbook_catalog_module the UI uses to map an uploaded file to this module (e.g. device_system, interfaces, circuits)" + }, + "isRequired": { + "type": "boolean", + "example": true, + "description": "When true, create/validate must include this module_key" + }, + "moduleKey": { + "type": "string", + "example": "example string", + "description": "Stable catalog key from playbook_catalog_module (e.g. system_config_file); used as ModuleFile.module_key" + }, + "name": { + "type": "string", + "example": "example string", + "description": "Display name for the module slot" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookTemplatesGetResponse": { + "type": "object", + "properties": { + "collectionVersion": { + "type": "string", + "example": "example string", + "description": "graphiant.naas collection version the files were read from" + }, + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationTemplateFile" + } + } + }, + "additionalProperties": false + }, + "sdkAutomationTemplateFile": { + "type": "object", + "properties": { + "content": { + "type": "string", + "example": "example string", + "description": "File contents, verbatim from the collection" + }, + "filename": { + "type": "string", + "example": "example string", + "description": "Suggested download name (e.g. sample_interface_config.yaml)" + }, + "moduleKey": { + "type": "string", + "example": "example string", + "description": "Catalog module key; empty for the bundle-level playbook not scoped to a slot" + }, + "sourcePath": { + "type": "string", + "example": "example string", + "description": "Path within the collection for provenance (e.g. playbooks/interface_management.yml)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsPostRequest": { + "type": "object", + "properties": { + "bundleKey": { + "type": "string", + "example": "example string", + "description": "Catalog key from playbook_catalog_playbook (e.g. system_bundle)" + }, + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationModuleFile" + } + }, + "validateOnly": { + "type": "boolean", + "example": true, + "description": "When true, validate without persisting (Validate Bundle); when false, create on success" + } + }, + "additionalProperties": false + }, + "sdkAutomationModuleFile": { + "type": "object", + "properties": { + "content": { + "type": "string", + "example": "example string", + "description": "YAML file contents" + }, + "filename": { + "type": "string", + "example": "example string", + "description": "Original upload filename (informational; not used for routing)" + }, + "moduleKey": { + "type": "string", + "example": "example string", + "description": "Catalog key from playbook_catalog_module (e.g. system_config_file)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsPostResponse": { + "type": "object", + "properties": { + "configId": { + "type": "string", + "example": "example string", + "description": "Created config id when validation succeeds and validate_only is false; empty otherwise" + }, + "errors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationValidationError" + } + } + }, + "additionalProperties": false + }, + "sdkAutomationValidationError": { + "type": "object", + "properties": { + "message": { + "type": "string", + "example": "example string", + "description": "Human-readable validation error detail" + }, + "moduleKey": { + "type": "string", + "example": "example string", + "description": "Catalog module key when the error is scoped to a module; unset otherwise" + }, + "type": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Error category (syntax or schema)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsGetResponse": { + "type": "object", + "properties": { + "configs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationPlaybookConfigSummary" + } + }, + "pageInfo": { + "$ref": "#/components/schemas/commonPageInfo" + } + }, + "additionalProperties": false + }, + "sdkAutomationPlaybookConfigSummary": { + "type": "object", + "properties": { + "configId": { + "type": "string", + "example": "example string", + "description": "Config id" + }, + "createdByUserId": { + "type": "string", + "example": "example string", + "description": "IAM user id of the config creator; UI resolves the display name" + }, + "jobStatus": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Latest run status; unset when the config has no run yet" + }, + "name": { + "type": "string", + "example": "example string", + "description": "Display name" + }, + "runId": { + "type": "string", + "example": "example string", + "description": "Latest job id for this config; empty if never run" + }, + "runNumber": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Per-config run counter; 0 if never run" + }, + "startedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "startedByUserId": { + "type": "string", + "example": "example string", + "description": "IAM user id of who launched the latest run" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Config lifecycle status" + }, + "updatedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdGetResponse": { + "type": "object", + "properties": { + "config": { + "$ref": "#/components/schemas/sdkAutomationPlaybookConfig" + } + }, + "additionalProperties": false + }, + "sdkAutomationPlaybookConfig": { + "type": "object", + "properties": { + "bundleKey": { + "type": "string", + "example": "example string", + "description": "Catalog key from playbook_catalog_playbook (e.g. system_bundle)" + }, + "configId": { + "type": "string", + "example": "example string", + "description": "Config id" + }, + "createdByUserId": { + "type": "string", + "example": "example string", + "description": "IAM user id of the config creator; UI resolves the display name" + }, + "description": { + "type": "string", + "example": "example string", + "description": "Description / deployment notes" + }, + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationModuleFile" + } + }, + "name": { + "type": "string", + "example": "example string", + "description": "Display name" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Config lifecycle status (draft / staged / paused)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdPutRequest": { + "type": "object", + "properties": { + "description": { + "type": "string", + "example": "example string", + "description": "Optional description / notes update" + }, + "files": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationModuleFile" + } + }, + "name": { + "type": "string", + "example": "example string", + "description": "Optional display name update" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdPutResponse": { + "type": "object", + "properties": { + "errors": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationValidationError" + } + }, + "isValid": { + "type": "boolean", + "example": true, + "description": "True when validation succeeded and the update was applied" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdStagePutRequest": { + "type": "object", + "properties": { + "description": { + "type": "string", + "example": "example string", + "description": "Deployment notes shown in the pending-executions UI" + }, + "name": { + "type": "string", + "example": "example string", + "description": "Required display name for the staged config" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdStagePutResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Config status after staging (typically STAGED)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest": { + "type": "object", + "properties": { + "verboseLogs": { + "type": "boolean", + "example": true, + "description": "When true, request ansible -vvv for this dry-run" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse": { + "type": "object", + "properties": { + "jobId": { + "type": "string", + "example": "example string", + "description": "Created job id for the dry-run" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Initial job status after enqueue (typically QUEUED or DRY_RUNNING)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse": { + "type": "object", + "properties": { + "job": { + "$ref": "#/components/schemas/sdkAutomationPlaybookJob" + } + }, + "additionalProperties": false + }, + "sdkAutomationPlaybookJob": { + "type": "object", + "properties": { + "collectionVersion": { + "type": "string", + "example": "example string", + "description": "graphiant.naas collection version used for this run" + }, + "configDescription": { + "type": "string", + "example": "example string", + "description": "Config description / notes frozen at job creation (from config_snapshot); empty for older jobs" + }, + "configId": { + "type": "string", + "example": "example string", + "description": "Owning playbook config id" + }, + "configName": { + "type": "string", + "example": "example string", + "description": "Config display name frozen at job creation (from config_snapshot); empty for older jobs" + }, + "deployEndedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "deployStartedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "dryRunEndedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "dryRunStartedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "failedPhase": { + "type": "string", + "example": "ENUM_VALUE", + "description": "When status is FAILED, which phase failed; unset when not failed" + }, + "jobId": { + "type": "string", + "example": "example string", + "description": "Unique id of this playbook job run" + }, + "logsAvailable": { + "type": "boolean", + "example": true, + "description": "True when ansible logs are available for this run" + }, + "postDeployCheckStartedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "runDurationMs": { + "type": "integer", + "format": "int64", + "example": 1234567891011, + "description": "Wall-clock duration in milliseconds from dry_run_started_at to run_ended_at; unset until run_ended_at is set" + }, + "runEndedAt": { + "$ref": "#/components/schemas/googleProtobufTimestamp" + }, + "runNumber": { + "type": "integer", + "format": "int32", + "example": 123, + "description": "Per-config run counter (1-based for started runs)" + }, + "runnerJobId": { + "type": "string", + "example": "example string", + "description": "External ansible runner job id, if the backend assigned one" + }, + "sdkVersion": { + "type": "string", + "example": "example string", + "description": "SDK version used for this run" + }, + "startedByUserId": { + "type": "string", + "example": "example string", + "description": "IAM UserInfo.user_id of who started this run; UI resolves the display name" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Gated pipeline state (dry-run / deploy / post-deploy-check)" + }, + "verboseLogs": { + "type": "boolean", + "example": true, + "description": "Whether ansible -vvv was requested for the latest phase of this run" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdApprovePutRequest": { + "type": "object", + "properties": { + "verboseLogs": { + "type": "boolean", + "example": true, + "description": "When true, request ansible -vvv for the deploy phase" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdApprovePutResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Job status after approve was accepted" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsGetResponse": { + "type": "object", + "properties": { + "jobs": { + "type": "array", + "items": { + "$ref": "#/components/schemas/sdkAutomationPlaybookJob" + } + }, + "pageInfo": { + "$ref": "#/components/schemas/commonPageInfo" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdGetResponse": { + "type": "object", + "properties": { + "job": { + "$ref": "#/components/schemas/sdkAutomationPlaybookJob" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdRunPostRequest": { + "type": "object", + "properties": { + "skipDryRun": { + "type": "boolean", + "example": true, + "description": "When true, skip dry-run and gate and deploy directly" + }, + "verboseLogs": { + "type": "boolean", + "example": true, + "description": "When true, request ansible -vvv for the new run" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdRunPostResponse": { + "type": "object", + "properties": { + "jobId": { + "type": "string", + "example": "example string", + "description": "Newly created job id for the re-run" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Initial status of the new job" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdAbortPutRequest": { + "type": "object", + "properties": {}, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdAbortPutResponse": { + "type": "object", + "properties": { + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Job status after abort (typically ABORTED)" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdResumePostRequest": { + "type": "object", + "properties": { + "isDeploy": { + "type": "boolean", + "example": true, + "description": "When true, resume straight into deploy; otherwise resume as a dry-run" + }, + "verboseLogs": { + "type": "boolean", + "example": true, + "description": "When true, request ansible -vvv for the resumed phase" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdResumePostResponse": { + "type": "object", + "properties": { + "jobId": { + "type": "string", + "example": "example string", + "description": "Resumed job id" + }, + "status": { + "type": "string", + "example": "ENUM_VALUE", + "description": "Job status after resume was accepted" + } + }, + "additionalProperties": false + }, + "v1SdkAutomationPlaybookJobsJobIdLogsGetResponse": { + "type": "object", + "properties": { + "lines": { + "type": "array", + "items": { + "type": "string", + "example": "example string", + "description": "Masked ansible log lines for the job (and optional phase)" + } + } + }, + "additionalProperties": false + }, "searchSearchFilter": { "type": "object", "properties": { @@ -30204,6 +30878,11 @@ "properties": { "filter": { "$ref": "#/components/schemas/v1EdgesSummaryPostRequestFilter" + }, + "showExcluded": { + "type": "boolean", + "example": true, + "description": "Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false." } }, "additionalProperties": false @@ -34748,6 +35427,154 @@ }, "additionalProperties": false }, + "v2MonitoringFecStatsGetResponse": { + "type": "object", + "properties": { + "currentRepairLevel": { + "type": "number", + "format": "float", + "example": 12.34 + }, + "effectiveQoe": { + "type": "number", + "format": "float", + "example": 12.34 + }, + "rxRepairLevelHistogram": { + "$ref": "#/components/schemas/statsmonV2FecRxRepairLevel" + }, + "rxStats": { + "$ref": "#/components/schemas/statsmonV2FecRxStats" + }, + "txRepairLevelHistogram": { + "$ref": "#/components/schemas/statsmonV2FecTxRepairLevel" + }, + "txStats": { + "$ref": "#/components/schemas/statsmonV2FecTxStats" + }, + "unrepairableRate": { + "type": "number", + "format": "float", + "example": 12.34 + } + }, + "additionalProperties": false + }, + "statsmonV2FecRxRepairLevel": { + "type": "object", + "properties": { + "repairLevel": { + "type": "array", + "items": { + "$ref": "#/components/schemas/statsmonV2RepairLevel" + } + } + }, + "additionalProperties": false + }, + "statsmonV2RepairLevel": { + "type": "object", + "properties": { + "sample": { + "$ref": "#/components/schemas/statsmonV2StatsSample" + }, + "score": { + "$ref": "#/components/schemas/statsmonV2RepairLevelScore" + } + }, + "additionalProperties": false + }, + "statsmonV2RepairLevelScore": { + "type": "object", + "properties": { + "jitter": { + "type": "number", + "format": "float", + "example": 12.34 + }, + "latency": { + "type": "number", + "format": "float", + "example": 12.34 + }, + "loss": { + "type": "number", + "format": "float", + "example": 12.34 + } + }, + "additionalProperties": false + }, + "statsmonV2FecRxStats": { + "type": "object", + "properties": { + "erasureRecoveredPackets": { + "type": "integer", + "format": "int64", + "example": 12345678910, + "minimum": 0 + }, + "erasureUnrepairablePackets": { + "type": "integer", + "format": "int64", + "example": 12345678910, + "minimum": 0 + }, + "repairLevel": { + "type": "number", + "format": "float", + "example": 12.34 + }, + "repairPackets": { + "type": "integer", + "format": "int64", + "example": 12345678910, + "minimum": 0 + } + }, + "additionalProperties": false + }, + "statsmonV2FecTxRepairLevel": { + "type": "object", + "properties": { + "repairLevel": { + "type": "array", + "items": { + "$ref": "#/components/schemas/statsmonV2RepairLevel" + } + } + }, + "additionalProperties": false + }, + "statsmonV2FecTxStats": { + "type": "object", + "properties": { + "protectedPackets": { + "type": "integer", + "format": "int64", + "example": 12345678910, + "minimum": 0 + }, + "repairLevel": { + "type": "number", + "format": "float", + "example": 12.34 + }, + "sentRepairPackets": { + "type": "integer", + "format": "int64", + "example": 12345678910, + "minimum": 0 + }, + "unprotectedPackets": { + "type": "integer", + "format": "int64", + "example": 12345678910, + "minimum": 0 + } + }, + "additionalProperties": false + }, "v1LogsPostRequest": { "type": "object", "properties": { @@ -39099,7 +39926,7 @@ } } }, - "description": "List Conceal agents (devices) with pagination and filters." + "description": "List ZTAgent agents (devices) with pagination and filters." } }, "/v1/ztagent/bindings": { @@ -48596,6 +49423,17 @@ "type": "string" }, "description": "Bearer token. Format: Bearer " + }, + { + "name": "showExcluded", + "in": "query", + "description": "Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.", + "required": false, + "schema": { + "type": "boolean", + "example": true + }, + "example": true } ], "responses": { @@ -55423,8 +56261,8 @@ "description": "Get VRRP monitoring table for a device" } }, - "/v1/edges-hardware/assigned": { - "get": { + "/v1/sdk-automation/playbook/jobs/{jobId}/abort": { + "put": { "security": [ { "jwtAuth": [] @@ -55441,118 +56279,22 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "enterpriseId", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1EdgesHardwareAssignedGetResponse" - } - } - } - } - } - } - }, - "/v1/edges-summary": { - "get": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", + "name": "jobId", + "in": "path", "required": true, + "description": "In-progress job id to abort", "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - }, - { - "name": "enterpriseId", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "integer", - "format": "int64", - "example": 1234567891011 - } - }, - { - "name": "isRequested", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "boolean", - "example": true - }, - "example": true - }, - { - "name": "upgradeSummary", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "boolean", - "example": true - }, - "example": true - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1EdgesSummaryGetResponse" - } - } + "type": "string", + "example": "example string" } } - } - }, - "post": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", - "required": true, - "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - } ], "requestBody": { "required": true, "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1EdgesSummaryPostRequest" + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdAbortPutRequest" } } } @@ -55563,48 +56305,17 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1EdgesSummaryPostResponse" - } - } - } - } - } - } - }, - "/v1/edges-hardware/unassigned": { - "get": { - "security": [ - { - "jwtAuth": [] - } - ], - "parameters": [ - { - "in": "header", - "name": "Authorization", - "required": true, - "schema": { - "type": "string" - }, - "description": "Bearer token. Format: Bearer " - } - ], - "responses": { - "200": { - "description": "OK", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/v1EdgesHardwareUnassignedGetResponse" + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdAbortPutResponse" } } } } - } + }, + "description": "Abort an in-progress playbook job" } }, - "/v1/search": { - "get": { + "/v1/sdk-automation/playbook/jobs/{jobId}/approve": { + "put": { "security": [ { "jwtAuth": [] @@ -55621,43 +56332,1068 @@ "description": "Bearer token. Format: Bearer " }, { - "name": "maxResults", - "in": "query", - "description": "", - "required": false, - "schema": { - "type": "integer", - "format": "int32", - "example": 123, - "minimum": 0 - } - }, - { - "name": "search", - "in": "query", - "description": "", - "required": false, + "name": "jobId", + "in": "path", + "required": true, + "description": "Job id in DRY_RUN_COMPLETE to approve for deploy", "schema": { "type": "string", "example": "example string" } } ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdApprovePutRequest" + } + } + } + }, "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/v1SearchGetResponse" + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdApprovePutResponse" } } } } - } + }, + "description": "Gate: execute play (deploy) after dry-run passes" } }, - "/v1/extranet-b2b-monitoring/peering-service/service-health": { + "/v1/sdk-automation/playbook/configs": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsPostResponse" + } + } + } + } + }, + "description": "Validate & create a config (validate_only=true skips persist for Validate Bundle)" + }, + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "nameContains", + "in": "query", + "description": "Optional filter: case-insensitive substring match on config display name; empty returns all", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "after", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "first", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + } + }, + { + "name": "status", + "in": "query", + "description": "Optional status filter (e.g. STAGED, PAUSED); empty returns all", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "example": "ENUM_VALUE" + }, + "example": [ + "example" + ] + }, + "style": "form", + "explode": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsGetResponse" + } + } + } + } + }, + "description": "Pending Executions table" + } + }, + "/v1/sdk-automation/playbook/configs/{configId}": { + "delete": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "configId", + "in": "path", + "required": true, + "description": "Config id to delete", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "204": { + "description": "No Content" + } + }, + "description": "Delete a playbook config" + }, + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "configId", + "in": "path", + "required": true, + "description": "Config id to fetch", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdGetResponse" + } + } + } + } + }, + "description": "Get a playbook config including its module YAML files" + }, + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "configId", + "in": "path", + "required": true, + "description": "Config id from the URL path (:configId)", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdPutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdPutResponse" + } + } + } + } + }, + "description": "Validate & update config YAML" + } + }, + "/v1/sdk-automation/playbook/templates": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "bundleKey", + "in": "query", + "description": "Catalog key from playbook_catalog_playbook (e.g. system_bundle)", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "moduleKeys", + "in": "query", + "description": "Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample)", + "required": false, + "schema": { + "type": "array", + "items": { + "type": "string", + "example": "example string" + }, + "example": [ + "example" + ] + }, + "style": "form", + "explode": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookTemplatesGetResponse" + } + } + } + } + }, + "description": "Download starter playbook & sample config templates for a bundle" + } + }, + "/v1/sdk-automation/playbook/configs/{configId}/dry-run": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "configId", + "in": "path", + "required": true, + "description": "Config id whose latest dry-run job status is requested", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse" + } + } + } + } + }, + "description": "Get the latest dry-run / pipeline job status for a config" + }, + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "configId", + "in": "path", + "required": true, + "description": "Staged config id to dry-run", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse" + } + } + } + } + }, + "description": "Mandatory dry-run; creates a job, runs ansible --check" + } + }, + "/v1/sdk-automation/playbook/jobs/{jobId}": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "jobId", + "in": "path", + "required": true, + "description": "Job id to fetch", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdGetResponse" + } + } + } + } + }, + "description": "Get a playbook job by id" + } + }, + "/v1/sdk-automation/playbook/jobs/{jobId}/logs": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "jobId", + "in": "path", + "required": true, + "description": "Job id whose logs are requested", + "schema": { + "type": "string", + "example": "example string" + } + }, + { + "name": "phase", + "in": "query", + "description": "Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all", + "required": false, + "schema": { + "type": "string", + "example": "ENUM_VALUE" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdLogsGetResponse" + } + } + } + } + }, + "description": "Get masked ansible logs for a job, optionally filtered by phase" + } + }, + "/v1/sdk-automation/playbook/bundles": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookBundlesGetResponse" + } + } + } + } + }, + "description": "List catalog bundles for the UI picklist" + } + }, + "/v1/sdk-automation/playbook/jobs": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "nameContains", + "in": "query", + "description": "Optional filter: case-insensitive substring match on the owning config's display name; empty returns all", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsGetResponse" + } + } + } + } + }, + "description": "List playbook job history" + } + }, + "/v1/sdk-automation/playbook/module-slots": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "bundleKey", + "in": "query", + "description": "Catalog key from playbook_catalog_playbook (e.g. system_bundle)", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookModuleSlotsGetResponse" + } + } + } + } + }, + "description": "List module slots for a catalog bundle" + } + }, + "/v1/sdk-automation/playbook/jobs/{jobId}/run": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "jobId", + "in": "path", + "required": true, + "description": "Prior job id whose config is re-run", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdRunPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdRunPostResponse" + } + } + } + } + }, + "description": "Re-run; starts from dry-run unless skip_dry_run=true" + } + }, + "/v1/sdk-automation/playbook/jobs/{jobId}/resume": { + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "jobId", + "in": "path", + "required": true, + "description": "Job id parked in AWAITING_REAUTH to resume", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdResumePostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookJobsJobIdResumePostResponse" + } + } + } + } + }, + "description": "Resume a run parked in awaiting_reauth with the caller's re-authed token" + } + }, + "/v1/sdk-automation/playbook/configs/{configId}/stage": { + "put": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "configId", + "in": "path", + "required": true, + "description": "Config id to stage", + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdStagePutRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SdkAutomationPlaybookConfigsConfigIdStagePutResponse" + } + } + } + } + }, + "description": "Save name + notes and mark config as staged (must already be validated)" + } + }, + "/v1/edges-hardware/assigned": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "enterpriseId", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1EdgesHardwareAssignedGetResponse" + } + } + } + } + } + } + }, + "/v1/edges-summary": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "enterpriseId", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int64", + "example": 1234567891011 + } + }, + { + "name": "isRequested", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean", + "example": true + }, + "example": true + }, + { + "name": "showExcluded", + "in": "query", + "description": "Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.", + "required": false, + "schema": { + "type": "boolean", + "example": true + }, + "example": true + }, + { + "name": "upgradeSummary", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "boolean", + "example": true + }, + "example": true + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1EdgesSummaryGetResponse" + } + } + } + } + } + }, + "post": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1EdgesSummaryPostRequest" + } + } + } + }, + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1EdgesSummaryPostResponse" + } + } + } + } + } + } + }, + "/v1/edges-hardware/unassigned": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1EdgesHardwareUnassignedGetResponse" + } + } + } + } + } + } + }, + "/v1/search": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + }, + { + "name": "maxResults", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "integer", + "format": "int32", + "example": 123, + "minimum": 0 + } + }, + { + "name": "search", + "in": "query", + "description": "", + "required": false, + "schema": { + "type": "string", + "example": "example string" + } + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v1SearchGetResponse" + } + } + } + } + } + } + }, + "/v1/extranet-b2b-monitoring/peering-service/service-health": { "post": { "security": [ { @@ -57395,6 +59131,39 @@ "description": "Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses." } }, + "/v2/monitoring/fec-stats": { + "get": { + "security": [ + { + "jwtAuth": [] + } + ], + "parameters": [ + { + "in": "header", + "name": "Authorization", + "required": true, + "schema": { + "type": "string" + }, + "description": "Bearer token. Format: Bearer " + } + ], + "responses": { + "200": { + "description": "OK", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/v2MonitoringFecStatsGetResponse" + } + } + } + } + }, + "description": "Returns the FEC stats for the given device" + } + }, "/v2/monitoring/ipsec": { "post": { "security": [ diff --git a/docs/CommonUserInfo.md b/docs/CommonUserInfo.md index 1d7a12d2..a3b479b0 100644 --- a/docs/CommonUserInfo.md +++ b/docs/CommonUserInfo.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**bearer_token** | **str** | | [optional] **enterprise_id** | **int** | | [optional] **exp** | **int** | | [optional] **original_enterprise_id** | **int** | | [optional] diff --git a/docs/DefaultApi.md b/docs/DefaultApi.md index bb33978c..f36574fb 100644 --- a/docs/DefaultApi.md +++ b/docs/DefaultApi.md @@ -375,6 +375,24 @@ Method | HTTP request | Description [**v1_qos_circuit_profiles_get**](DefaultApi.md#v1_qos_circuit_profiles_get) | **GET** /v1/qos/circuit-profiles | [**v1_regions_get**](DefaultApi.md#v1_regions_get) | **GET** /v1/regions | [**v1_regions_region_id_gateways_get**](DefaultApi.md#v1_regions_region_id_gateways_get) | **GET** /v1/regions/{regionId}/gateways | +[**v1_sdk_automation_playbook_bundles_get**](DefaultApi.md#v1_sdk_automation_playbook_bundles_get) | **GET** /v1/sdk-automation/playbook/bundles | +[**v1_sdk_automation_playbook_configs_config_id_delete**](DefaultApi.md#v1_sdk_automation_playbook_configs_config_id_delete) | **DELETE** /v1/sdk-automation/playbook/configs/{configId} | +[**v1_sdk_automation_playbook_configs_config_id_dry_run_get**](DefaultApi.md#v1_sdk_automation_playbook_configs_config_id_dry_run_get) | **GET** /v1/sdk-automation/playbook/configs/{configId}/dry-run | +[**v1_sdk_automation_playbook_configs_config_id_dry_run_post**](DefaultApi.md#v1_sdk_automation_playbook_configs_config_id_dry_run_post) | **POST** /v1/sdk-automation/playbook/configs/{configId}/dry-run | +[**v1_sdk_automation_playbook_configs_config_id_get**](DefaultApi.md#v1_sdk_automation_playbook_configs_config_id_get) | **GET** /v1/sdk-automation/playbook/configs/{configId} | +[**v1_sdk_automation_playbook_configs_config_id_put**](DefaultApi.md#v1_sdk_automation_playbook_configs_config_id_put) | **PUT** /v1/sdk-automation/playbook/configs/{configId} | +[**v1_sdk_automation_playbook_configs_config_id_stage_put**](DefaultApi.md#v1_sdk_automation_playbook_configs_config_id_stage_put) | **PUT** /v1/sdk-automation/playbook/configs/{configId}/stage | +[**v1_sdk_automation_playbook_configs_get**](DefaultApi.md#v1_sdk_automation_playbook_configs_get) | **GET** /v1/sdk-automation/playbook/configs | +[**v1_sdk_automation_playbook_configs_post**](DefaultApi.md#v1_sdk_automation_playbook_configs_post) | **POST** /v1/sdk-automation/playbook/configs | +[**v1_sdk_automation_playbook_jobs_get**](DefaultApi.md#v1_sdk_automation_playbook_jobs_get) | **GET** /v1/sdk-automation/playbook/jobs | +[**v1_sdk_automation_playbook_jobs_job_id_abort_put**](DefaultApi.md#v1_sdk_automation_playbook_jobs_job_id_abort_put) | **PUT** /v1/sdk-automation/playbook/jobs/{jobId}/abort | +[**v1_sdk_automation_playbook_jobs_job_id_approve_put**](DefaultApi.md#v1_sdk_automation_playbook_jobs_job_id_approve_put) | **PUT** /v1/sdk-automation/playbook/jobs/{jobId}/approve | +[**v1_sdk_automation_playbook_jobs_job_id_get**](DefaultApi.md#v1_sdk_automation_playbook_jobs_job_id_get) | **GET** /v1/sdk-automation/playbook/jobs/{jobId} | +[**v1_sdk_automation_playbook_jobs_job_id_logs_get**](DefaultApi.md#v1_sdk_automation_playbook_jobs_job_id_logs_get) | **GET** /v1/sdk-automation/playbook/jobs/{jobId}/logs | +[**v1_sdk_automation_playbook_jobs_job_id_resume_post**](DefaultApi.md#v1_sdk_automation_playbook_jobs_job_id_resume_post) | **POST** /v1/sdk-automation/playbook/jobs/{jobId}/resume | +[**v1_sdk_automation_playbook_jobs_job_id_run_post**](DefaultApi.md#v1_sdk_automation_playbook_jobs_job_id_run_post) | **POST** /v1/sdk-automation/playbook/jobs/{jobId}/run | +[**v1_sdk_automation_playbook_module_slots_get**](DefaultApi.md#v1_sdk_automation_playbook_module_slots_get) | **GET** /v1/sdk-automation/playbook/module-slots | +[**v1_sdk_automation_playbook_templates_get**](DefaultApi.md#v1_sdk_automation_playbook_templates_get) | **GET** /v1/sdk-automation/playbook/templates | [**v1_search_get**](DefaultApi.md#v1_search_get) | **GET** /v1/search | [**v1_site_details_sitelists_post**](DefaultApi.md#v1_site_details_sitelists_post) | **POST** /v1/site/details/sitelists | [**v1_site_id_details_interfaces_get**](DefaultApi.md#v1_site_id_details_interfaces_get) | **GET** /v1/site/{id}/details/interfaces | @@ -505,6 +523,7 @@ Method | HTTP request | Description [**v2_monitoring_extranet_service_status_get**](DefaultApi.md#v2_monitoring_extranet_service_status_get) | **GET** /v2/monitoring/extranet/service-status | [**v2_monitoring_extranet_site_status_get**](DefaultApi.md#v2_monitoring_extranet_site_status_get) | **GET** /v2/monitoring/extranet/site-status | [**v2_monitoring_extranet_status_details_get**](DefaultApi.md#v2_monitoring_extranet_status_details_get) | **GET** /v2/monitoring/extranet/status-details | +[**v2_monitoring_fec_stats_get**](DefaultApi.md#v2_monitoring_fec_stats_get) | **GET** /v2/monitoring/fec-stats | [**v2_monitoring_ike_error_history_post**](DefaultApi.md#v2_monitoring_ike_error_history_post) | **POST** /v2/monitoring/ike-error-history | [**v2_monitoring_interface_post**](DefaultApi.md#v2_monitoring_interface_post) | **POST** /v2/monitoring/interface | [**v2_monitoring_ipsec_post**](DefaultApi.md#v2_monitoring_ipsec_post) | **POST** /v2/monitoring/ipsec | @@ -11384,7 +11403,7 @@ Name | Type | Description | Notes [[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) # **v1_devices_summary_get** -> V1DevicesSummaryGetResponse v1_devices_summary_get(authorization) +> V1DevicesSummaryGetResponse v1_devices_summary_get(authorization, show_excluded=show_excluded) Get devices summary for the specified enterprise @@ -11420,9 +11439,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + show_excluded = true # bool | Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. (optional) try: - api_response = api_instance.v1_devices_summary_get(authorization) + api_response = api_instance.v1_devices_summary_get(authorization, show_excluded=show_excluded) print("The response of DefaultApi->v1_devices_summary_get:\n") pprint(api_response) except Exception as e: @@ -11437,6 +11457,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **show_excluded** | **bool**| Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. | [optional] ### Return type @@ -13400,7 +13421,7 @@ Name | Type | Description | Notes [[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) # **v1_edges_summary_get** -> V1EdgesSummaryGetResponse v1_edges_summary_get(authorization, enterprise_id=enterprise_id, is_requested=is_requested, upgrade_summary=upgrade_summary) +> V1EdgesSummaryGetResponse v1_edges_summary_get(authorization, enterprise_id=enterprise_id, is_requested=is_requested, show_excluded=show_excluded, upgrade_summary=upgrade_summary) ### Example @@ -13436,10 +13457,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer enterprise_id = 1234567891011 # int | (optional) is_requested = true # bool | (optional) + show_excluded = true # bool | Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. (optional) upgrade_summary = true # bool | (optional) try: - api_response = api_instance.v1_edges_summary_get(authorization, enterprise_id=enterprise_id, is_requested=is_requested, upgrade_summary=upgrade_summary) + api_response = api_instance.v1_edges_summary_get(authorization, enterprise_id=enterprise_id, is_requested=is_requested, show_excluded=show_excluded, upgrade_summary=upgrade_summary) print("The response of DefaultApi->v1_edges_summary_get:\n") pprint(api_response) except Exception as e: @@ -13456,6 +13478,7 @@ Name | Type | Description | Notes **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | **enterprise_id** | **int**| | [optional] **is_requested** | **bool**| | [optional] + **show_excluded** | **bool**| Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. | [optional] **upgrade_summary** | **bool**| | [optional] ### Return type @@ -29477,8 +29500,10 @@ Name | Type | Description | Notes [[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) -# **v1_search_get** -> V1SearchGetResponse v1_search_get(authorization, max_results=max_results, search=search) +# **v1_sdk_automation_playbook_bundles_get** +> V1SdkAutomationPlaybookBundlesGetResponse v1_sdk_automation_playbook_bundles_get(authorization) + +List catalog bundles for the UI picklist ### Example @@ -29486,7 +29511,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_bundles_get_response import V1SdkAutomationPlaybookBundlesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29512,15 +29537,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - max_results = 123 # int | (optional) - search = 'example string' # str | (optional) try: - api_response = api_instance.v1_search_get(authorization, max_results=max_results, search=search) - print("The response of DefaultApi->v1_search_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_bundles_get(authorization) + print("The response of DefaultApi->v1_sdk_automation_playbook_bundles_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_search_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_bundles_get: %s\n" % e) ``` @@ -29531,12 +29554,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **max_results** | **int**| | [optional] - **search** | **str**| | [optional] ### Return type -[**V1SearchGetResponse**](V1SearchGetResponse.md) +[**V1SdkAutomationPlaybookBundlesGetResponse**](V1SdkAutomationPlaybookBundlesGetResponse.md) ### Authorization @@ -29555,10 +29576,10 @@ Name | Type | Description | Notes [[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) -# **v1_site_details_sitelists_post** -> V1SiteDetailsSitelistsPostResponse v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) +# **v1_sdk_automation_playbook_configs_config_id_delete** +> v1_sdk_automation_playbook_configs_config_id_delete(authorization, config_id) -Get a list of site list references for a site +Delete a playbook config ### Example @@ -29566,8 +29587,6 @@ Get a list of site list references for a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest -from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29593,14 +29612,90 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_site_details_sitelists_post_request = graphiant_sdk.V1SiteDetailsSitelistsPostRequest() # V1SiteDetailsSitelistsPostRequest | + config_id = 'example string' # str | Config id to delete try: - api_response = api_instance.v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) - print("The response of DefaultApi->v1_site_details_sitelists_post:\n") + api_instance.v1_sdk_automation_playbook_configs_config_id_delete(authorization, config_id) + except Exception as e: + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_config_id_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **config_id** | **str**| Config id to delete | + +### Return type + +void (empty response body) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | No Content | - | + +[[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) + +# **v1_sdk_automation_playbook_configs_config_id_dry_run_get** +> V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse v1_sdk_automation_playbook_configs_config_id_dry_run_get(authorization, config_id) + +Get the latest dry-run / pipeline job status for a config + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_get_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + config_id = 'example string' # str | Config id whose latest dry-run job status is requested + + try: + api_response = api_instance.v1_sdk_automation_playbook_configs_config_id_dry_run_get(authorization, config_id) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_config_id_dry_run_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_site_details_sitelists_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_config_id_dry_run_get: %s\n" % e) ``` @@ -29611,11 +29706,92 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_site_details_sitelists_post_request** | [**V1SiteDetailsSitelistsPostRequest**](V1SiteDetailsSitelistsPostRequest.md)| | + **config_id** | **str**| Config id whose latest dry-run job status is requested | ### Return type -[**V1SiteDetailsSitelistsPostResponse**](V1SiteDetailsSitelistsPostResponse.md) +[**V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse**](V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v1_sdk_automation_playbook_configs_config_id_dry_run_post** +> V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse v1_sdk_automation_playbook_configs_config_id_dry_run_post(authorization, config_id, v1_sdk_automation_playbook_configs_config_id_dry_run_post_request) + +Mandatory dry-run; creates a job, runs ansible --check + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_request import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + config_id = 'example string' # str | Staged config id to dry-run + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request = graphiant_sdk.V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest() # V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest | + + try: + api_response = api_instance.v1_sdk_automation_playbook_configs_config_id_dry_run_post(authorization, config_id, v1_sdk_automation_playbook_configs_config_id_dry_run_post_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_config_id_dry_run_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_config_id_dry_run_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **config_id** | **str**| Staged config id to dry-run | + **v1_sdk_automation_playbook_configs_config_id_dry_run_post_request** | [**V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest**](V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.md)| | + +### Return type + +[**V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse**](V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.md) ### Authorization @@ -29634,10 +29810,10 @@ Name | Type | Description | Notes [[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) -# **v1_site_id_details_interfaces_get** -> V1SiteIdDetailsInterfacesGetResponse v1_site_id_details_interfaces_get(authorization, id) +# **v1_sdk_automation_playbook_configs_config_id_get** +> V1SdkAutomationPlaybookConfigsConfigIdGetResponse v1_sdk_automation_playbook_configs_config_id_get(authorization, config_id) -Get a list of a site's interfaces, loopback listed first +Get a playbook config including its module YAML files ### Example @@ -29645,7 +29821,7 @@ Get a list of a site's interfaces, loopback listed first ```python import graphiant_sdk -from graphiant_sdk.models.v1_site_id_details_interfaces_get_response import V1SiteIdDetailsInterfacesGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_get_response import V1SdkAutomationPlaybookConfigsConfigIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29671,14 +29847,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1234567891011 # int | + config_id = 'example string' # str | Config id to fetch try: - api_response = api_instance.v1_site_id_details_interfaces_get(authorization, id) - print("The response of DefaultApi->v1_site_id_details_interfaces_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_configs_config_id_get(authorization, config_id) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_config_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_site_id_details_interfaces_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_config_id_get: %s\n" % e) ``` @@ -29689,11 +29865,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| | + **config_id** | **str**| Config id to fetch | ### Return type -[**V1SiteIdDetailsInterfacesGetResponse**](V1SiteIdDetailsInterfacesGetResponse.md) +[**V1SdkAutomationPlaybookConfigsConfigIdGetResponse**](V1SdkAutomationPlaybookConfigsConfigIdGetResponse.md) ### Authorization @@ -29712,10 +29888,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_details_get** -> V1SitesDetailsGetResponse v1_sites_details_get(authorization) +# **v1_sdk_automation_playbook_configs_config_id_put** +> V1SdkAutomationPlaybookConfigsConfigIdPutResponse v1_sdk_automation_playbook_configs_config_id_put(authorization, config_id, v1_sdk_automation_playbook_configs_config_id_put_request) -Get a list of sites with aggregated values and site wide status +Validate & update config YAML ### Example @@ -29723,7 +29899,8 @@ Get a list of sites with aggregated values and site wide status ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_details_get_response import V1SitesDetailsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_request import V1SdkAutomationPlaybookConfigsConfigIdPutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_response import V1SdkAutomationPlaybookConfigsConfigIdPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29749,13 +29926,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + config_id = 'example string' # str | Config id from the URL path (:configId) + v1_sdk_automation_playbook_configs_config_id_put_request = graphiant_sdk.V1SdkAutomationPlaybookConfigsConfigIdPutRequest() # V1SdkAutomationPlaybookConfigsConfigIdPutRequest | try: - api_response = api_instance.v1_sites_details_get(authorization) - print("The response of DefaultApi->v1_sites_details_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_configs_config_id_put(authorization, config_id, v1_sdk_automation_playbook_configs_config_id_put_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_config_id_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_config_id_put: %s\n" % e) ``` @@ -29766,10 +29945,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **config_id** | **str**| Config id from the URL path (:configId) | + **v1_sdk_automation_playbook_configs_config_id_put_request** | [**V1SdkAutomationPlaybookConfigsConfigIdPutRequest**](V1SdkAutomationPlaybookConfigsConfigIdPutRequest.md)| | ### Return type -[**V1SitesDetailsGetResponse**](V1SitesDetailsGetResponse.md) +[**V1SdkAutomationPlaybookConfigsConfigIdPutResponse**](V1SdkAutomationPlaybookConfigsConfigIdPutResponse.md) ### Authorization @@ -29777,7 +29958,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -29788,10 +29969,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_get** -> V1SitesGetResponse v1_sites_get(authorization) +# **v1_sdk_automation_playbook_configs_config_id_stage_put** +> V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse v1_sdk_automation_playbook_configs_config_id_stage_put(authorization, config_id, v1_sdk_automation_playbook_configs_config_id_stage_put_request) -Get sites for the current enterprise +Save name + notes and mark config as staged (must already be validated) ### Example @@ -29799,7 +29980,8 @@ Get sites for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_get_response import V1SitesGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_request import V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_response import V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29825,13 +30007,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + config_id = 'example string' # str | Config id to stage + v1_sdk_automation_playbook_configs_config_id_stage_put_request = graphiant_sdk.V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest() # V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest | try: - api_response = api_instance.v1_sites_get(authorization) - print("The response of DefaultApi->v1_sites_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_configs_config_id_stage_put(authorization, config_id, v1_sdk_automation_playbook_configs_config_id_stage_put_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_config_id_stage_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_config_id_stage_put: %s\n" % e) ``` @@ -29842,10 +30026,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **config_id** | **str**| Config id to stage | + **v1_sdk_automation_playbook_configs_config_id_stage_put_request** | [**V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest**](V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.md)| | ### Return type -[**V1SitesGetResponse**](V1SitesGetResponse.md) +[**V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse**](V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.md) ### Authorization @@ -29853,7 +30039,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -29864,10 +30050,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_map_details_get** -> V1SitesMapDetailsGetResponse v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) +# **v1_sdk_automation_playbook_configs_get** +> V1SdkAutomationPlaybookConfigsGetResponse v1_sdk_automation_playbook_configs_get(authorization, name_contains=name_contains, after=after, first=first, status=status) -Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site +Pending Executions table ### Example @@ -29875,7 +30061,7 @@ Per LAN segment (VRF), sites touched by that segment and device lists with/witho ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_map_details_get_response import V1SitesMapDetailsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_get_response import V1SdkAutomationPlaybookConfigsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29901,16 +30087,17 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - lan_segment_ids = [[0]] # List[int] | (optional) - site_ids = [[0]] # List[int] | (optional) - site_list_ids = [[0]] # List[int] | (optional) + name_contains = 'example string' # str | Optional filter: case-insensitive substring match on config display name; empty returns all (optional) + after = 'example string' # str | (optional) + first = 123 # int | (optional) + status = ['[\"example\"]'] # List[str] | Optional status filter (e.g. STAGED, PAUSED); empty returns all (optional) try: - api_response = api_instance.v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) - print("The response of DefaultApi->v1_sites_map_details_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_configs_get(authorization, name_contains=name_contains, after=after, first=first, status=status) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_map_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_get: %s\n" % e) ``` @@ -29921,13 +30108,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **lan_segment_ids** | [**List[int]**](int.md)| | [optional] - **site_ids** | [**List[int]**](int.md)| | [optional] - **site_list_ids** | [**List[int]**](int.md)| | [optional] + **name_contains** | **str**| Optional filter: case-insensitive substring match on config display name; empty returns all | [optional] + **after** | **str**| | [optional] + **first** | **int**| | [optional] + **status** | [**List[str]**](str.md)| Optional status filter (e.g. STAGED, PAUSED); empty returns all | [optional] ### Return type -[**V1SitesMapDetailsGetResponse**](V1SitesMapDetailsGetResponse.md) +[**V1SdkAutomationPlaybookConfigsGetResponse**](V1SdkAutomationPlaybookConfigsGetResponse.md) ### Authorization @@ -29946,10 +30134,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_post** -> V1SitesPostResponse v1_sites_post(authorization, v1_sites_post_request) +# **v1_sdk_automation_playbook_configs_post** +> V1SdkAutomationPlaybookConfigsPostResponse v1_sdk_automation_playbook_configs_post(authorization, v1_sdk_automation_playbook_configs_post_request) -Create an enterprise site +Validate & create a config (validate_only=true skips persist for Validate Bundle) ### Example @@ -29957,8 +30145,8 @@ Create an enterprise site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_post_request import V1SitesPostRequest -from graphiant_sdk.models.v1_sites_post_response import V1SitesPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_request import V1SdkAutomationPlaybookConfigsPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_response import V1SdkAutomationPlaybookConfigsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -29984,14 +30172,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_sites_post_request = graphiant_sdk.V1SitesPostRequest() # V1SitesPostRequest | + v1_sdk_automation_playbook_configs_post_request = graphiant_sdk.V1SdkAutomationPlaybookConfigsPostRequest() # V1SdkAutomationPlaybookConfigsPostRequest | try: - api_response = api_instance.v1_sites_post(authorization, v1_sites_post_request) - print("The response of DefaultApi->v1_sites_post:\n") + api_response = api_instance.v1_sdk_automation_playbook_configs_post(authorization, v1_sdk_automation_playbook_configs_post_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_configs_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_configs_post: %s\n" % e) ``` @@ -30002,11 +30190,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_sites_post_request** | [**V1SitesPostRequest**](V1SitesPostRequest.md)| | + **v1_sdk_automation_playbook_configs_post_request** | [**V1SdkAutomationPlaybookConfigsPostRequest**](V1SdkAutomationPlaybookConfigsPostRequest.md)| | ### Return type -[**V1SitesPostResponse**](V1SitesPostResponse.md) +[**V1SdkAutomationPlaybookConfigsPostResponse**](V1SdkAutomationPlaybookConfigsPostResponse.md) ### Authorization @@ -30025,10 +30213,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_site_id_circuits_get** -> V1SitesSiteIdCircuitsGetResponse v1_sites_site_id_circuits_get(authorization, site_id) +# **v1_sdk_automation_playbook_jobs_get** +> V1SdkAutomationPlaybookJobsGetResponse v1_sdk_automation_playbook_jobs_get(authorization, name_contains=name_contains) -Get Circuits for the site +List playbook job history ### Example @@ -30036,7 +30224,7 @@ Get Circuits for the site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_site_id_circuits_get_response import V1SitesSiteIdCircuitsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_get_response import V1SdkAutomationPlaybookJobsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30062,14 +30250,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | + name_contains = 'example string' # str | Optional filter: case-insensitive substring match on the owning config's display name; empty returns all (optional) try: - api_response = api_instance.v1_sites_site_id_circuits_get(authorization, site_id) - print("The response of DefaultApi->v1_sites_site_id_circuits_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_jobs_get(authorization, name_contains=name_contains) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_circuits_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_get: %s\n" % e) ``` @@ -30080,11 +30268,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **name_contains** | **str**| Optional filter: case-insensitive substring match on the owning config's display name; empty returns all | [optional] ### Return type -[**V1SitesSiteIdCircuitsGetResponse**](V1SitesSiteIdCircuitsGetResponse.md) +[**V1SdkAutomationPlaybookJobsGetResponse**](V1SdkAutomationPlaybookJobsGetResponse.md) ### Authorization @@ -30103,10 +30291,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_site_id_delete** -> v1_sites_site_id_delete(authorization, site_id) +# **v1_sdk_automation_playbook_jobs_job_id_abort_put** +> V1SdkAutomationPlaybookJobsJobIdAbortPutResponse v1_sdk_automation_playbook_jobs_job_id_abort_put(authorization, job_id, body) -Delete a site +Abort an in-progress playbook job ### Example @@ -30114,6 +30302,7 @@ Delete a site ```python import graphiant_sdk +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_abort_put_response import V1SdkAutomationPlaybookJobsJobIdAbortPutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30139,12 +30328,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | + job_id = 'example string' # str | In-progress job id to abort + body = None # object | try: - api_instance.v1_sites_site_id_delete(authorization, site_id) + api_response = api_instance.v1_sdk_automation_playbook_jobs_job_id_abort_put(authorization, job_id, body) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_job_id_abort_put:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_job_id_abort_put: %s\n" % e) ``` @@ -30155,11 +30347,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **job_id** | **str**| In-progress job id to abort | + **body** | **object**| | ### Return type -void (empty response body) +[**V1SdkAutomationPlaybookJobsJobIdAbortPutResponse**](V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.md) ### Authorization @@ -30167,21 +30360,21 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: Not defined + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[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) -# **v1_sites_site_id_devices_get** -> V1SitesSiteIdDevicesGetResponse v1_sites_site_id_devices_get(authorization, site_id) +# **v1_sdk_automation_playbook_jobs_job_id_approve_put** +> V1SdkAutomationPlaybookJobsJobIdApprovePutResponse v1_sdk_automation_playbook_jobs_job_id_approve_put(authorization, job_id, v1_sdk_automation_playbook_jobs_job_id_approve_put_request) -Get Devices for the site +Gate: execute play (deploy) after dry-run passes ### Example @@ -30189,7 +30382,8 @@ Get Devices for the site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_site_id_devices_get_response import V1SitesSiteIdDevicesGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_request import V1SdkAutomationPlaybookJobsJobIdApprovePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_response import V1SdkAutomationPlaybookJobsJobIdApprovePutResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30215,14 +30409,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 12345678910 # int | + job_id = 'example string' # str | Job id in DRY_RUN_COMPLETE to approve for deploy + v1_sdk_automation_playbook_jobs_job_id_approve_put_request = graphiant_sdk.V1SdkAutomationPlaybookJobsJobIdApprovePutRequest() # V1SdkAutomationPlaybookJobsJobIdApprovePutRequest | try: - api_response = api_instance.v1_sites_site_id_devices_get(authorization, site_id) - print("The response of DefaultApi->v1_sites_site_id_devices_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_jobs_job_id_approve_put(authorization, job_id, v1_sdk_automation_playbook_jobs_job_id_approve_put_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_job_id_approve_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_devices_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_job_id_approve_put: %s\n" % e) ``` @@ -30233,11 +30428,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **job_id** | **str**| Job id in DRY_RUN_COMPLETE to approve for deploy | + **v1_sdk_automation_playbook_jobs_job_id_approve_put_request** | [**V1SdkAutomationPlaybookJobsJobIdApprovePutRequest**](V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.md)| | ### Return type -[**V1SitesSiteIdDevicesGetResponse**](V1SitesSiteIdDevicesGetResponse.md) +[**V1SdkAutomationPlaybookJobsJobIdApprovePutResponse**](V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.md) ### Authorization @@ -30245,7 +30441,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -30256,10 +30452,10 @@ Name | Type | Description | Notes [[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) -# **v1_sites_site_id_post** -> V1SitesSiteIdPostResponse v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) +# **v1_sdk_automation_playbook_jobs_job_id_get** +> V1SdkAutomationPlaybookJobsJobIdGetResponse v1_sdk_automation_playbook_jobs_job_id_get(authorization, job_id) -Update a site +Get a playbook job by id ### Example @@ -30267,8 +30463,7 @@ Update a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_sites_site_id_post_request import V1SitesSiteIdPostRequest -from graphiant_sdk.models.v1_sites_site_id_post_response import V1SitesSiteIdPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_get_response import V1SdkAutomationPlaybookJobsJobIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30294,15 +30489,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | - v1_sites_site_id_post_request = graphiant_sdk.V1SitesSiteIdPostRequest() # V1SitesSiteIdPostRequest | + job_id = 'example string' # str | Job id to fetch try: - api_response = api_instance.v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) - print("The response of DefaultApi->v1_sites_site_id_post:\n") + api_response = api_instance.v1_sdk_automation_playbook_jobs_job_id_get(authorization, job_id) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_job_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_sites_site_id_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_job_id_get: %s\n" % e) ``` @@ -30313,12 +30507,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | - **v1_sites_site_id_post_request** | [**V1SitesSiteIdPostRequest**](V1SitesSiteIdPostRequest.md)| | + **job_id** | **str**| Job id to fetch | ### Return type -[**V1SitesSiteIdPostResponse**](V1SitesSiteIdPostResponse.md) +[**V1SdkAutomationPlaybookJobsJobIdGetResponse**](V1SdkAutomationPlaybookJobsJobIdGetResponse.md) ### Authorization @@ -30326,7 +30519,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -30337,8 +30530,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_auto_upgrade_default_get** -> V1SoftwareAutoUpgradeDefaultGetResponse v1_software_auto_upgrade_default_get(authorization) +# **v1_sdk_automation_playbook_jobs_job_id_logs_get** +> V1SdkAutomationPlaybookJobsJobIdLogsGetResponse v1_sdk_automation_playbook_jobs_job_id_logs_get(authorization, job_id, phase=phase) + +Get masked ansible logs for a job, optionally filtered by phase ### Example @@ -30346,7 +30541,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_auto_upgrade_default_get_response import V1SoftwareAutoUpgradeDefaultGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_logs_get_response import V1SdkAutomationPlaybookJobsJobIdLogsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30372,13 +30567,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + job_id = 'example string' # str | Job id whose logs are requested + phase = 'ENUM_VALUE' # str | Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all (optional) try: - api_response = api_instance.v1_software_auto_upgrade_default_get(authorization) - print("The response of DefaultApi->v1_software_auto_upgrade_default_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_jobs_job_id_logs_get(authorization, job_id, phase=phase) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_job_id_logs_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_job_id_logs_get: %s\n" % e) ``` @@ -30389,10 +30586,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **job_id** | **str**| Job id whose logs are requested | + **phase** | **str**| Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all | [optional] ### Return type -[**V1SoftwareAutoUpgradeDefaultGetResponse**](V1SoftwareAutoUpgradeDefaultGetResponse.md) +[**V1SdkAutomationPlaybookJobsJobIdLogsGetResponse**](V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.md) ### Authorization @@ -30411,8 +30610,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_auto_upgrade_default_put** -> v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) +# **v1_sdk_automation_playbook_jobs_job_id_resume_post** +> V1SdkAutomationPlaybookJobsJobIdResumePostResponse v1_sdk_automation_playbook_jobs_job_id_resume_post(authorization, job_id, v1_sdk_automation_playbook_jobs_job_id_resume_post_request) + +Resume a run parked in awaiting_reauth with the caller's re-authed token ### Example @@ -30420,7 +30621,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_auto_upgrade_default_put_request import V1SoftwareAutoUpgradeDefaultPutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_request import V1SdkAutomationPlaybookJobsJobIdResumePostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_response import V1SdkAutomationPlaybookJobsJobIdResumePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30446,12 +30648,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_auto_upgrade_default_put_request = graphiant_sdk.V1SoftwareAutoUpgradeDefaultPutRequest() # V1SoftwareAutoUpgradeDefaultPutRequest | + job_id = 'example string' # str | Job id parked in AWAITING_REAUTH to resume + v1_sdk_automation_playbook_jobs_job_id_resume_post_request = graphiant_sdk.V1SdkAutomationPlaybookJobsJobIdResumePostRequest() # V1SdkAutomationPlaybookJobsJobIdResumePostRequest | try: - api_instance.v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) + api_response = api_instance.v1_sdk_automation_playbook_jobs_job_id_resume_post(authorization, job_id, v1_sdk_automation_playbook_jobs_job_id_resume_post_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_job_id_resume_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_job_id_resume_post: %s\n" % e) ``` @@ -30462,11 +30667,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_auto_upgrade_default_put_request** | [**V1SoftwareAutoUpgradeDefaultPutRequest**](V1SoftwareAutoUpgradeDefaultPutRequest.md)| | + **job_id** | **str**| Job id parked in AWAITING_REAUTH to resume | + **v1_sdk_automation_playbook_jobs_job_id_resume_post_request** | [**V1SdkAutomationPlaybookJobsJobIdResumePostRequest**](V1SdkAutomationPlaybookJobsJobIdResumePostRequest.md)| | ### Return type -void (empty response body) +[**V1SdkAutomationPlaybookJobsJobIdResumePostResponse**](V1SdkAutomationPlaybookJobsJobIdResumePostResponse.md) ### Authorization @@ -30475,18 +30681,20 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[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) -# **v1_software_gcsrelease_upload_notes_post** -> object v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) +# **v1_sdk_automation_playbook_jobs_job_id_run_post** +> V1SdkAutomationPlaybookJobsJobIdRunPostResponse v1_sdk_automation_playbook_jobs_job_id_run_post(authorization, job_id, v1_sdk_automation_playbook_jobs_job_id_run_post_request) + +Re-run; starts from dry-run unless skip_dry_run=true ### Example @@ -30494,7 +30702,8 @@ void (empty response body) ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_gcsrelease_upload_notes_post_request import V1SoftwareGcsreleaseUploadNotesPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_request import V1SdkAutomationPlaybookJobsJobIdRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_response import V1SdkAutomationPlaybookJobsJobIdRunPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30520,14 +30729,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_gcsrelease_upload_notes_post_request = graphiant_sdk.V1SoftwareGcsreleaseUploadNotesPostRequest() # V1SoftwareGcsreleaseUploadNotesPostRequest | + job_id = 'example string' # str | Prior job id whose config is re-run + v1_sdk_automation_playbook_jobs_job_id_run_post_request = graphiant_sdk.V1SdkAutomationPlaybookJobsJobIdRunPostRequest() # V1SdkAutomationPlaybookJobsJobIdRunPostRequest | try: - api_response = api_instance.v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) - print("The response of DefaultApi->v1_software_gcsrelease_upload_notes_post:\n") + api_response = api_instance.v1_sdk_automation_playbook_jobs_job_id_run_post(authorization, job_id, v1_sdk_automation_playbook_jobs_job_id_run_post_request) + print("The response of DefaultApi->v1_sdk_automation_playbook_jobs_job_id_run_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_gcsrelease_upload_notes_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_jobs_job_id_run_post: %s\n" % e) ``` @@ -30538,11 +30748,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_gcsrelease_upload_notes_post_request** | [**V1SoftwareGcsreleaseUploadNotesPostRequest**](V1SoftwareGcsreleaseUploadNotesPostRequest.md)| | + **job_id** | **str**| Prior job id whose config is re-run | + **v1_sdk_automation_playbook_jobs_job_id_run_post_request** | [**V1SdkAutomationPlaybookJobsJobIdRunPostRequest**](V1SdkAutomationPlaybookJobsJobIdRunPostRequest.md)| | ### Return type -**object** +[**V1SdkAutomationPlaybookJobsJobIdRunPostResponse**](V1SdkAutomationPlaybookJobsJobIdRunPostResponse.md) ### Authorization @@ -30561,8 +30772,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_releases_download_get** -> V1SoftwareReleasesDownloadGetResponse v1_software_releases_download_get(authorization, image_ext, version) +# **v1_sdk_automation_playbook_module_slots_get** +> V1SdkAutomationPlaybookModuleSlotsGetResponse v1_sdk_automation_playbook_module_slots_get(authorization, bundle_key=bundle_key) + +List module slots for a catalog bundle ### Example @@ -30570,7 +30783,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_releases_download_get_response import V1SoftwareReleasesDownloadGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_module_slots_get_response import V1SdkAutomationPlaybookModuleSlotsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30596,15 +30809,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - image_ext = 'qcow2' # str | GNOS Image type (qcow2 or ova) - version = '9999.202406130322' # str | GNOS Image version + bundle_key = 'example string' # str | Catalog key from playbook_catalog_playbook (e.g. system_bundle) (optional) try: - api_response = api_instance.v1_software_releases_download_get(authorization, image_ext, version) - print("The response of DefaultApi->v1_software_releases_download_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_module_slots_get(authorization, bundle_key=bundle_key) + print("The response of DefaultApi->v1_sdk_automation_playbook_module_slots_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_releases_download_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_module_slots_get: %s\n" % e) ``` @@ -30615,12 +30827,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **image_ext** | **str**| GNOS Image type (qcow2 or ova) | - **version** | **str**| GNOS Image version | + **bundle_key** | **str**| Catalog key from playbook_catalog_playbook (e.g. system_bundle) | [optional] ### Return type -[**V1SoftwareReleasesDownloadGetResponse**](V1SoftwareReleasesDownloadGetResponse.md) +[**V1SdkAutomationPlaybookModuleSlotsGetResponse**](V1SdkAutomationPlaybookModuleSlotsGetResponse.md) ### Authorization @@ -30639,8 +30850,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_releases_summary_get** -> V1SoftwareReleasesSummaryGetResponse v1_software_releases_summary_get(authorization) +# **v1_sdk_automation_playbook_templates_get** +> V1SdkAutomationPlaybookTemplatesGetResponse v1_sdk_automation_playbook_templates_get(authorization, bundle_key=bundle_key, module_keys=module_keys) + +Download starter playbook & sample config templates for a bundle ### Example @@ -30648,7 +30861,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_releases_summary_get_response import V1SoftwareReleasesSummaryGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_templates_get_response import V1SdkAutomationPlaybookTemplatesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30674,13 +30887,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + bundle_key = 'example string' # str | Catalog key from playbook_catalog_playbook (e.g. system_bundle) (optional) + module_keys = ['[\"example\"]'] # List[str] | Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample) (optional) try: - api_response = api_instance.v1_software_releases_summary_get(authorization) - print("The response of DefaultApi->v1_software_releases_summary_get:\n") + api_response = api_instance.v1_sdk_automation_playbook_templates_get(authorization, bundle_key=bundle_key, module_keys=module_keys) + print("The response of DefaultApi->v1_sdk_automation_playbook_templates_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_releases_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sdk_automation_playbook_templates_get: %s\n" % e) ``` @@ -30691,10 +30906,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **bundle_key** | **str**| Catalog key from playbook_catalog_playbook (e.g. system_bundle) | [optional] + **module_keys** | [**List[str]**](str.md)| Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample) | [optional] ### Return type -[**V1SoftwareReleasesSummaryGetResponse**](V1SoftwareReleasesSummaryGetResponse.md) +[**V1SdkAutomationPlaybookTemplatesGetResponse**](V1SdkAutomationPlaybookTemplatesGetResponse.md) ### Authorization @@ -30713,10 +30930,88 @@ Name | Type | Description | Notes [[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) -# **v1_software_rollouts_get** -> V1SoftwareRolloutsGetResponse v1_software_rollouts_get(authorization) +# **v1_search_get** +> V1SearchGetResponse v1_search_get(authorization, max_results=max_results, search=search) -Returns all the configured upgrade rollouts +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + max_results = 123 # int | (optional) + search = 'example string' # str | (optional) + + try: + api_response = api_instance.v1_search_get(authorization, max_results=max_results, search=search) + print("The response of DefaultApi->v1_search_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_search_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **max_results** | **int**| | [optional] + **search** | **str**| | [optional] + +### Return type + +[**V1SearchGetResponse**](V1SearchGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v1_site_details_sitelists_post** +> V1SiteDetailsSitelistsPostResponse v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) + +Get a list of site list references for a site ### Example @@ -30724,7 +31019,8 @@ Returns all the configured upgrade rollouts ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_get_response import V1SoftwareRolloutsGetResponse +from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest +from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30750,13 +31046,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_site_details_sitelists_post_request = graphiant_sdk.V1SiteDetailsSitelistsPostRequest() # V1SiteDetailsSitelistsPostRequest | try: - api_response = api_instance.v1_software_rollouts_get(authorization) - print("The response of DefaultApi->v1_software_rollouts_get:\n") + api_response = api_instance.v1_site_details_sitelists_post(authorization, v1_site_details_sitelists_post_request) + print("The response of DefaultApi->v1_site_details_sitelists_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_site_details_sitelists_post: %s\n" % e) ``` @@ -30767,10 +31064,89 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_site_details_sitelists_post_request** | [**V1SiteDetailsSitelistsPostRequest**](V1SiteDetailsSitelistsPostRequest.md)| | ### Return type -[**V1SoftwareRolloutsGetResponse**](V1SoftwareRolloutsGetResponse.md) +[**V1SiteDetailsSitelistsPostResponse**](V1SiteDetailsSitelistsPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v1_site_id_details_interfaces_get** +> V1SiteIdDetailsInterfacesGetResponse v1_site_id_details_interfaces_get(authorization, id) + +Get a list of a site's interfaces, loopback listed first + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v1_site_id_details_interfaces_get_response import V1SiteIdDetailsInterfacesGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1234567891011 # int | + + try: + api_response = api_instance.v1_site_id_details_interfaces_get(authorization, id) + print("The response of DefaultApi->v1_site_id_details_interfaces_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v1_site_id_details_interfaces_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| | + +### Return type + +[**V1SiteIdDetailsInterfacesGetResponse**](V1SiteIdDetailsInterfacesGetResponse.md) ### Authorization @@ -30789,10 +31165,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_rollouts_id_delete** -> object v1_software_rollouts_id_delete(authorization, id) +# **v1_sites_details_get** +> V1SitesDetailsGetResponse v1_sites_details_get(authorization) -Delete given upgrade rollout +Get a list of sites with aggregated values and site wide status ### Example @@ -30800,6 +31176,7 @@ Delete given upgrade rollout ```python import graphiant_sdk +from graphiant_sdk.models.v1_sites_details_get_response import V1SitesDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30825,14 +31202,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 42 # int | Rollout identifier to delete. try: - api_response = api_instance.v1_software_rollouts_id_delete(authorization, id) - print("The response of DefaultApi->v1_software_rollouts_id_delete:\n") + api_response = api_instance.v1_sites_details_get(authorization) + print("The response of DefaultApi->v1_sites_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_details_get: %s\n" % e) ``` @@ -30843,11 +31219,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Rollout identifier to delete. | ### Return type -**object** +[**V1SitesDetailsGetResponse**](V1SitesDetailsGetResponse.md) ### Authorization @@ -30866,10 +31241,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_rollouts_id_get** -> V1SoftwareRolloutsIdGetResponse v1_software_rollouts_id_get(authorization, id) +# **v1_sites_get** +> V1SitesGetResponse v1_sites_get(authorization) -Returns details about given upgrade rollout +Get sites for the current enterprise ### Example @@ -30877,7 +31252,7 @@ Returns details about given upgrade rollout ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_id_get_response import V1SoftwareRolloutsIdGetResponse +from graphiant_sdk.models.v1_sites_get_response import V1SitesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30903,14 +31278,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 42 # int | Rollout identifier to fetch. try: - api_response = api_instance.v1_software_rollouts_id_get(authorization, id) - print("The response of DefaultApi->v1_software_rollouts_id_get:\n") + api_response = api_instance.v1_sites_get(authorization) + print("The response of DefaultApi->v1_sites_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_get: %s\n" % e) ``` @@ -30921,11 +31295,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| Rollout identifier to fetch. | ### Return type -[**V1SoftwareRolloutsIdGetResponse**](V1SoftwareRolloutsIdGetResponse.md) +[**V1SitesGetResponse**](V1SitesGetResponse.md) ### Authorization @@ -30944,10 +31317,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_rollouts_post** -> V1SoftwareRolloutsPostResponse v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) +# **v1_sites_map_details_get** +> V1SitesMapDetailsGetResponse v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) -Create upgrade rollout and returns rollout identifier +Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site ### Example @@ -30955,8 +31328,7 @@ Create upgrade rollout and returns rollout identifier ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_post_request import V1SoftwareRolloutsPostRequest -from graphiant_sdk.models.v1_software_rollouts_post_response import V1SoftwareRolloutsPostResponse +from graphiant_sdk.models.v1_sites_map_details_get_response import V1SitesMapDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -30982,14 +31354,16 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_rollouts_post_request = graphiant_sdk.V1SoftwareRolloutsPostRequest() # V1SoftwareRolloutsPostRequest | + lan_segment_ids = [[0]] # List[int] | (optional) + site_ids = [[0]] # List[int] | (optional) + site_list_ids = [[0]] # List[int] | (optional) try: - api_response = api_instance.v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) - print("The response of DefaultApi->v1_software_rollouts_post:\n") + api_response = api_instance.v1_sites_map_details_get(authorization, lan_segment_ids=lan_segment_ids, site_ids=site_ids, site_list_ids=site_list_ids) + print("The response of DefaultApi->v1_sites_map_details_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_map_details_get: %s\n" % e) ``` @@ -31000,11 +31374,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_rollouts_post_request** | [**V1SoftwareRolloutsPostRequest**](V1SoftwareRolloutsPostRequest.md)| | + **lan_segment_ids** | [**List[int]**](int.md)| | [optional] + **site_ids** | [**List[int]**](int.md)| | [optional] + **site_list_ids** | [**List[int]**](int.md)| | [optional] ### Return type -[**V1SoftwareRolloutsPostResponse**](V1SoftwareRolloutsPostResponse.md) +[**V1SitesMapDetailsGetResponse**](V1SitesMapDetailsGetResponse.md) ### Authorization @@ -31012,7 +31388,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31023,10 +31399,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_rollouts_put** -> object v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) +# **v1_sites_post** +> V1SitesPostResponse v1_sites_post(authorization, v1_sites_post_request) -Modify update rollout +Create an enterprise site ### Example @@ -31034,7 +31410,8 @@ Modify update rollout ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_put_request import V1SoftwareRolloutsPutRequest +from graphiant_sdk.models.v1_sites_post_request import V1SitesPostRequest +from graphiant_sdk.models.v1_sites_post_response import V1SitesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31060,14 +31437,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_rollouts_put_request = graphiant_sdk.V1SoftwareRolloutsPutRequest() # V1SoftwareRolloutsPutRequest | + v1_sites_post_request = graphiant_sdk.V1SitesPostRequest() # V1SitesPostRequest | try: - api_response = api_instance.v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) - print("The response of DefaultApi->v1_software_rollouts_put:\n") + api_response = api_instance.v1_sites_post(authorization, v1_sites_post_request) + print("The response of DefaultApi->v1_sites_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_post: %s\n" % e) ``` @@ -31078,11 +31455,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_rollouts_put_request** | [**V1SoftwareRolloutsPutRequest**](V1SoftwareRolloutsPutRequest.md)| | + **v1_sites_post_request** | [**V1SitesPostRequest**](V1SitesPostRequest.md)| | ### Return type -**object** +[**V1SitesPostResponse**](V1SitesPostResponse.md) ### Authorization @@ -31101,10 +31478,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_rollouts_schedule_post** -> object v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) +# **v1_sites_site_id_circuits_get** +> V1SitesSiteIdCircuitsGetResponse v1_sites_site_id_circuits_get(authorization, site_id) -Schedule rollout to upgrade now, later or user-triggered +Get Circuits for the site ### Example @@ -31112,7 +31489,7 @@ Schedule rollout to upgrade now, later or user-triggered ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_rollouts_schedule_post_request import V1SoftwareRolloutsSchedulePostRequest +from graphiant_sdk.models.v1_sites_site_id_circuits_get_response import V1SitesSiteIdCircuitsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31138,14 +31515,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_software_rollouts_schedule_post_request = graphiant_sdk.V1SoftwareRolloutsSchedulePostRequest() # V1SoftwareRolloutsSchedulePostRequest | + site_id = 1234567891011 # int | try: - api_response = api_instance.v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) - print("The response of DefaultApi->v1_software_rollouts_schedule_post:\n") + api_response = api_instance.v1_sites_site_id_circuits_get(authorization, site_id) + print("The response of DefaultApi->v1_sites_site_id_circuits_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_rollouts_schedule_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_circuits_get: %s\n" % e) ``` @@ -31156,11 +31533,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_software_rollouts_schedule_post_request** | [**V1SoftwareRolloutsSchedulePostRequest**](V1SoftwareRolloutsSchedulePostRequest.md)| | + **site_id** | **int**| | ### Return type -**object** +[**V1SitesSiteIdCircuitsGetResponse**](V1SitesSiteIdCircuitsGetResponse.md) ### Authorization @@ -31168,7 +31545,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31179,8 +31556,10 @@ Name | Type | Description | Notes [[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) -# **v1_software_running_details_get** -> V1SoftwareRunningDetailsGetResponse v1_software_running_details_get(authorization, running_version=running_version) +# **v1_sites_site_id_delete** +> v1_sites_site_id_delete(authorization, site_id) + +Delete a site ### Example @@ -31188,7 +31567,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_running_details_get_response import V1SoftwareRunningDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31214,14 +31592,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - running_version = 'example string' # str | (optional) + site_id = 1234567891011 # int | try: - api_response = api_instance.v1_software_running_details_get(authorization, running_version=running_version) - print("The response of DefaultApi->v1_software_running_details_get:\n") - pprint(api_response) + api_instance.v1_sites_site_id_delete(authorization, site_id) except Exception as e: - print("Exception when calling DefaultApi->v1_software_running_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_delete: %s\n" % e) ``` @@ -31232,11 +31608,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **running_version** | **str**| | [optional] + **site_id** | **int**| | ### Return type -[**V1SoftwareRunningDetailsGetResponse**](V1SoftwareRunningDetailsGetResponse.md) +void (empty response body) ### Authorization @@ -31245,18 +31621,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[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) -# **v1_software_running_summary_get** -> V1SoftwareRunningSummaryGetResponse v1_software_running_summary_get(authorization) +# **v1_sites_site_id_devices_get** +> V1SitesSiteIdDevicesGetResponse v1_sites_site_id_devices_get(authorization, site_id) + +Get Devices for the site ### Example @@ -31264,7 +31642,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_software_running_summary_get_response import V1SoftwareRunningSummaryGetResponse +from graphiant_sdk.models.v1_sites_site_id_devices_get_response import V1SitesSiteIdDevicesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31290,13 +31668,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + site_id = 12345678910 # int | try: - api_response = api_instance.v1_software_running_summary_get(authorization) - print("The response of DefaultApi->v1_software_running_summary_get:\n") + api_response = api_instance.v1_sites_site_id_devices_get(authorization, site_id) + print("The response of DefaultApi->v1_sites_site_id_devices_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_software_running_summary_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_devices_get: %s\n" % e) ``` @@ -31307,10 +31686,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **site_id** | **int**| | ### Return type -[**V1SoftwareRunningSummaryGetResponse**](V1SoftwareRunningSummaryGetResponse.md) +[**V1SitesSiteIdDevicesGetResponse**](V1SitesSiteIdDevicesGetResponse.md) ### Authorization @@ -31329,10 +31709,10 @@ Name | Type | Description | Notes [[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) -# **v1_talkers_device_device_id_top_post** -> V1TalkersDeviceDeviceIdTopPostResponse v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) +# **v1_sites_site_id_post** +> V1SitesSiteIdPostResponse v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) -Get top talkers for a device +Update a site ### Example @@ -31340,8 +31720,8 @@ Get top talkers for a device ```python import graphiant_sdk -from graphiant_sdk.models.v1_talkers_device_device_id_top_post_request import V1TalkersDeviceDeviceIdTopPostRequest -from graphiant_sdk.models.v1_talkers_device_device_id_top_post_response import V1TalkersDeviceDeviceIdTopPostResponse +from graphiant_sdk.models.v1_sites_site_id_post_request import V1SitesSiteIdPostRequest +from graphiant_sdk.models.v1_sites_site_id_post_response import V1SitesSiteIdPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31367,15 +31747,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | - v1_talkers_device_device_id_top_post_request = graphiant_sdk.V1TalkersDeviceDeviceIdTopPostRequest() # V1TalkersDeviceDeviceIdTopPostRequest | + site_id = 1234567891011 # int | + v1_sites_site_id_post_request = graphiant_sdk.V1SitesSiteIdPostRequest() # V1SitesSiteIdPostRequest | try: - api_response = api_instance.v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) - print("The response of DefaultApi->v1_talkers_device_device_id_top_post:\n") + api_response = api_instance.v1_sites_site_id_post(authorization, site_id, v1_sites_site_id_post_request) + print("The response of DefaultApi->v1_sites_site_id_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_talkers_device_device_id_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_sites_site_id_post: %s\n" % e) ``` @@ -31386,12 +31766,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | - **v1_talkers_device_device_id_top_post_request** | [**V1TalkersDeviceDeviceIdTopPostRequest**](V1TalkersDeviceDeviceIdTopPostRequest.md)| | + **site_id** | **int**| | + **v1_sites_site_id_post_request** | [**V1SitesSiteIdPostRequest**](V1SitesSiteIdPostRequest.md)| | ### Return type -[**V1TalkersDeviceDeviceIdTopPostResponse**](V1TalkersDeviceDeviceIdTopPostResponse.md) +[**V1SitesSiteIdPostResponse**](V1SitesSiteIdPostResponse.md) ### Authorization @@ -31410,10 +31790,8 @@ Name | Type | Description | Notes [[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) -# **v1_talkers_site_site_id_top_post** -> V1TalkersSiteSiteIdTopPostResponse v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) - -Get top talkers for a site +# **v1_software_auto_upgrade_default_get** +> V1SoftwareAutoUpgradeDefaultGetResponse v1_software_auto_upgrade_default_get(authorization) ### Example @@ -31421,8 +31799,7 @@ Get top talkers for a site ```python import graphiant_sdk -from graphiant_sdk.models.v1_talkers_site_site_id_top_post_request import V1TalkersSiteSiteIdTopPostRequest -from graphiant_sdk.models.v1_talkers_site_site_id_top_post_response import V1TalkersSiteSiteIdTopPostResponse +from graphiant_sdk.models.v1_software_auto_upgrade_default_get_response import V1SoftwareAutoUpgradeDefaultGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31448,15 +31825,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | - v1_talkers_site_site_id_top_post_request = graphiant_sdk.V1TalkersSiteSiteIdTopPostRequest() # V1TalkersSiteSiteIdTopPostRequest | try: - api_response = api_instance.v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) - print("The response of DefaultApi->v1_talkers_site_site_id_top_post:\n") + api_response = api_instance.v1_software_auto_upgrade_default_get(authorization) + print("The response of DefaultApi->v1_software_auto_upgrade_default_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_talkers_site_site_id_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_get: %s\n" % e) ``` @@ -31467,12 +31842,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | - **v1_talkers_site_site_id_top_post_request** | [**V1TalkersSiteSiteIdTopPostRequest**](V1TalkersSiteSiteIdTopPostRequest.md)| | ### Return type -[**V1TalkersSiteSiteIdTopPostResponse**](V1TalkersSiteSiteIdTopPostResponse.md) +[**V1SoftwareAutoUpgradeDefaultGetResponse**](V1SoftwareAutoUpgradeDefaultGetResponse.md) ### Authorization @@ -31480,7 +31853,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31491,10 +31864,8 @@ Name | Type | Description | Notes [[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) -# **v1_temp_password_put** -> object v1_temp_password_put(authorization, v1_temp_password_put_request) - -Generate and send temporary passwords to multiple emails for B2B service access. +# **v1_software_auto_upgrade_default_put** +> v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) ### Example @@ -31502,7 +31873,7 @@ Generate and send temporary passwords to multiple emails for B2B service access. ```python import graphiant_sdk -from graphiant_sdk.models.v1_temp_password_put_request import V1TempPasswordPutRequest +from graphiant_sdk.models.v1_software_auto_upgrade_default_put_request import V1SoftwareAutoUpgradeDefaultPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31528,14 +31899,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_temp_password_put_request = graphiant_sdk.V1TempPasswordPutRequest() # V1TempPasswordPutRequest | + v1_software_auto_upgrade_default_put_request = graphiant_sdk.V1SoftwareAutoUpgradeDefaultPutRequest() # V1SoftwareAutoUpgradeDefaultPutRequest | try: - api_response = api_instance.v1_temp_password_put(authorization, v1_temp_password_put_request) - print("The response of DefaultApi->v1_temp_password_put:\n") - pprint(api_response) + api_instance.v1_software_auto_upgrade_default_put(authorization, v1_software_auto_upgrade_default_put_request) except Exception as e: - print("Exception when calling DefaultApi->v1_temp_password_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_auto_upgrade_default_put: %s\n" % e) ``` @@ -31546,11 +31915,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_temp_password_put_request** | [**V1TempPasswordPutRequest**](V1TempPasswordPutRequest.md)| | + **v1_software_auto_upgrade_default_put_request** | [**V1SoftwareAutoUpgradeDefaultPutRequest**](V1SoftwareAutoUpgradeDefaultPutRequest.md)| | ### Return type -**object** +void (empty response body) ### Authorization @@ -31559,18 +31928,18 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Created | - | +**204** | No Content | - | [[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) -# **v1_troubleshooting_device_device_id_post** -> V1TroubleshootingDeviceDeviceIdPostResponse v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) +# **v1_software_gcsrelease_upload_notes_post** +> object v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) ### Example @@ -31578,8 +31947,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_request import V1TroubleshootingDeviceDeviceIdPostRequest -from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_response import V1TroubleshootingDeviceDeviceIdPostResponse +from graphiant_sdk.models.v1_software_gcsrelease_upload_notes_post_request import V1SoftwareGcsreleaseUploadNotesPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31605,15 +31973,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | - v1_troubleshooting_device_device_id_post_request = graphiant_sdk.V1TroubleshootingDeviceDeviceIdPostRequest() # V1TroubleshootingDeviceDeviceIdPostRequest | + v1_software_gcsrelease_upload_notes_post_request = graphiant_sdk.V1SoftwareGcsreleaseUploadNotesPostRequest() # V1SoftwareGcsreleaseUploadNotesPostRequest | try: - api_response = api_instance.v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) - print("The response of DefaultApi->v1_troubleshooting_device_device_id_post:\n") + api_response = api_instance.v1_software_gcsrelease_upload_notes_post(authorization, v1_software_gcsrelease_upload_notes_post_request) + print("The response of DefaultApi->v1_software_gcsrelease_upload_notes_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_device_device_id_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_gcsrelease_upload_notes_post: %s\n" % e) ``` @@ -31624,12 +31991,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | - **v1_troubleshooting_device_device_id_post_request** | [**V1TroubleshootingDeviceDeviceIdPostRequest**](V1TroubleshootingDeviceDeviceIdPostRequest.md)| | + **v1_software_gcsrelease_upload_notes_post_request** | [**V1SoftwareGcsreleaseUploadNotesPostRequest**](V1SoftwareGcsreleaseUploadNotesPostRequest.md)| | ### Return type -[**V1TroubleshootingDeviceDeviceIdPostResponse**](V1TroubleshootingDeviceDeviceIdPostResponse.md) +**object** ### Authorization @@ -31648,8 +32014,8 @@ Name | Type | Description | Notes [[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) -# **v1_troubleshooting_enterprise_post** -> V1TroubleshootingEnterprisePostResponse v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) +# **v1_software_releases_download_get** +> V1SoftwareReleasesDownloadGetResponse v1_software_releases_download_get(authorization, image_ext, version) ### Example @@ -31657,8 +32023,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_enterprise_post_request import V1TroubleshootingEnterprisePostRequest -from graphiant_sdk.models.v1_troubleshooting_enterprise_post_response import V1TroubleshootingEnterprisePostResponse +from graphiant_sdk.models.v1_software_releases_download_get_response import V1SoftwareReleasesDownloadGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31684,14 +32049,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_troubleshooting_enterprise_post_request = graphiant_sdk.V1TroubleshootingEnterprisePostRequest() # V1TroubleshootingEnterprisePostRequest | + image_ext = 'qcow2' # str | GNOS Image type (qcow2 or ova) + version = '9999.202406130322' # str | GNOS Image version try: - api_response = api_instance.v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) - print("The response of DefaultApi->v1_troubleshooting_enterprise_post:\n") + api_response = api_instance.v1_software_releases_download_get(authorization, image_ext, version) + print("The response of DefaultApi->v1_software_releases_download_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_enterprise_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_releases_download_get: %s\n" % e) ``` @@ -31702,11 +32068,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_troubleshooting_enterprise_post_request** | [**V1TroubleshootingEnterprisePostRequest**](V1TroubleshootingEnterprisePostRequest.md)| | + **image_ext** | **str**| GNOS Image type (qcow2 or ova) | + **version** | **str**| GNOS Image version | ### Return type -[**V1TroubleshootingEnterprisePostResponse**](V1TroubleshootingEnterprisePostResponse.md) +[**V1SoftwareReleasesDownloadGetResponse**](V1SoftwareReleasesDownloadGetResponse.md) ### Authorization @@ -31714,7 +32081,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -31725,8 +32092,8 @@ Name | Type | Description | Notes [[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) -# **v1_troubleshooting_filter_get** -> V1TroubleshootingFilterGetResponse v1_troubleshooting_filter_get(authorization) +# **v1_software_releases_summary_get** +> V1SoftwareReleasesSummaryGetResponse v1_software_releases_summary_get(authorization) ### Example @@ -31734,7 +32101,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_filter_get_response import V1TroubleshootingFilterGetResponse +from graphiant_sdk.models.v1_software_releases_summary_get_response import V1SoftwareReleasesSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31762,11 +32129,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_troubleshooting_filter_get(authorization) - print("The response of DefaultApi->v1_troubleshooting_filter_get:\n") + api_response = api_instance.v1_software_releases_summary_get(authorization) + print("The response of DefaultApi->v1_software_releases_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_filter_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_releases_summary_get: %s\n" % e) ``` @@ -31780,7 +32147,7 @@ Name | Type | Description | Notes ### Return type -[**V1TroubleshootingFilterGetResponse**](V1TroubleshootingFilterGetResponse.md) +[**V1SoftwareReleasesSummaryGetResponse**](V1SoftwareReleasesSummaryGetResponse.md) ### Authorization @@ -31799,8 +32166,10 @@ Name | Type | Description | Notes [[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) -# **v1_troubleshooting_site_connectivity_status_get** -> V1TroubleshootingSiteConnectivityStatusGetResponse v1_troubleshooting_site_connectivity_status_get(authorization) +# **v1_software_rollouts_get** +> V1SoftwareRolloutsGetResponse v1_software_rollouts_get(authorization) + +Returns all the configured upgrade rollouts ### Example @@ -31808,7 +32177,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_site_connectivity_status_get_response import V1TroubleshootingSiteConnectivityStatusGetResponse +from graphiant_sdk.models.v1_software_rollouts_get_response import V1SoftwareRolloutsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31836,11 +32205,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v1_troubleshooting_site_connectivity_status_get(authorization) - print("The response of DefaultApi->v1_troubleshooting_site_connectivity_status_get:\n") + api_response = api_instance.v1_software_rollouts_get(authorization) + print("The response of DefaultApi->v1_software_rollouts_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_site_connectivity_status_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_get: %s\n" % e) ``` @@ -31854,7 +32223,7 @@ Name | Type | Description | Notes ### Return type -[**V1TroubleshootingSiteConnectivityStatusGetResponse**](V1TroubleshootingSiteConnectivityStatusGetResponse.md) +[**V1SoftwareRolloutsGetResponse**](V1SoftwareRolloutsGetResponse.md) ### Authorization @@ -31873,8 +32242,10 @@ Name | Type | Description | Notes [[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) -# **v1_troubleshooting_site_site_id_get** -> V1TroubleshootingSiteSiteIdGetResponse v1_troubleshooting_site_site_id_get(authorization, site_id) +# **v1_software_rollouts_id_delete** +> object v1_software_rollouts_id_delete(authorization, id) + +Delete given upgrade rollout ### Example @@ -31882,7 +32253,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_site_site_id_get_response import V1TroubleshootingSiteSiteIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31908,14 +32278,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - site_id = 1234567891011 # int | + id = 42 # int | Rollout identifier to delete. try: - api_response = api_instance.v1_troubleshooting_site_site_id_get(authorization, site_id) - print("The response of DefaultApi->v1_troubleshooting_site_site_id_get:\n") + api_response = api_instance.v1_software_rollouts_id_delete(authorization, id) + print("The response of DefaultApi->v1_software_rollouts_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_site_site_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_id_delete: %s\n" % e) ``` @@ -31926,11 +32296,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **site_id** | **int**| | + **id** | **int**| Rollout identifier to delete. | ### Return type -[**V1TroubleshootingSiteSiteIdGetResponse**](V1TroubleshootingSiteSiteIdGetResponse.md) +**object** ### Authorization @@ -31949,8 +32319,10 @@ Name | Type | Description | Notes [[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) -# **v1_troubleshooting_top_sites_by_alerts_post** -> V1TroubleshootingTopSitesByAlertsPostResponse v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) +# **v1_software_rollouts_id_get** +> V1SoftwareRolloutsIdGetResponse v1_software_rollouts_id_get(authorization, id) + +Returns details about given upgrade rollout ### Example @@ -31958,8 +32330,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_request import V1TroubleshootingTopSitesByAlertsPostRequest -from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response import V1TroubleshootingTopSitesByAlertsPostResponse +from graphiant_sdk.models.v1_software_rollouts_id_get_response import V1SoftwareRolloutsIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -31985,14 +32356,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_troubleshooting_top_sites_by_alerts_post_request = graphiant_sdk.V1TroubleshootingTopSitesByAlertsPostRequest() # V1TroubleshootingTopSitesByAlertsPostRequest | + id = 42 # int | Rollout identifier to fetch. try: - api_response = api_instance.v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) - print("The response of DefaultApi->v1_troubleshooting_top_sites_by_alerts_post:\n") + api_response = api_instance.v1_software_rollouts_id_get(authorization, id) + print("The response of DefaultApi->v1_software_rollouts_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_troubleshooting_top_sites_by_alerts_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_id_get: %s\n" % e) ``` @@ -32003,11 +32374,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_troubleshooting_top_sites_by_alerts_post_request** | [**V1TroubleshootingTopSitesByAlertsPostRequest**](V1TroubleshootingTopSitesByAlertsPostRequest.md)| | + **id** | **int**| Rollout identifier to fetch. | ### Return type -[**V1TroubleshootingTopSitesByAlertsPostResponse**](V1TroubleshootingTopSitesByAlertsPostResponse.md) +[**V1SoftwareRolloutsIdGetResponse**](V1SoftwareRolloutsIdGetResponse.md) ### Authorization @@ -32015,7 +32386,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -32026,10 +32397,10 @@ Name | Type | Description | Notes [[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) -# **v1_users_email_password_patch** -> v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) +# **v1_software_rollouts_post** +> V1SoftwareRolloutsPostResponse v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) -Change password for a user using email and token +Create upgrade rollout and returns rollout identifier ### Example @@ -32037,7 +32408,8 @@ Change password for a user using email and token ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_email_password_patch_request import V1UsersEmailPasswordPatchRequest +from graphiant_sdk.models.v1_software_rollouts_post_request import V1SoftwareRolloutsPostRequest +from graphiant_sdk.models.v1_software_rollouts_post_response import V1SoftwareRolloutsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32062,14 +32434,15 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - email = 'user@example.com' # str | User email address - token = 'verification-token-12345' # str | Password reset token - v1_users_email_password_patch_request = graphiant_sdk.V1UsersEmailPasswordPatchRequest() # V1UsersEmailPasswordPatchRequest | + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_software_rollouts_post_request = graphiant_sdk.V1SoftwareRolloutsPostRequest() # V1SoftwareRolloutsPostRequest | try: - api_instance.v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) + api_response = api_instance.v1_software_rollouts_post(authorization, v1_software_rollouts_post_request) + print("The response of DefaultApi->v1_software_rollouts_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_email_password_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_post: %s\n" % e) ``` @@ -32079,13 +32452,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **str**| User email address | - **token** | **str**| Password reset token | - **v1_users_email_password_patch_request** | [**V1UsersEmailPasswordPatchRequest**](V1UsersEmailPasswordPatchRequest.md)| | + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_software_rollouts_post_request** | [**V1SoftwareRolloutsPostRequest**](V1SoftwareRolloutsPostRequest.md)| | ### Return type -void (empty response body) +[**V1SoftwareRolloutsPostResponse**](V1SoftwareRolloutsPostResponse.md) ### Authorization @@ -32094,98 +32466,20 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | Password changed successfully | - | -**400** | Bad request - Invalid input | - | -**403** | Forbidden - Invalid token | - | -**500** | Internal server error | - | - -[[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) - -# **v1_users_email_recovery_get** -> v1_users_email_recovery_get(email) - -Send password recovery email to user - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - email = 'user@example.com' # str | User email address - - try: - api_instance.v1_users_email_recovery_get(email) - except Exception as e: - print("Exception when calling DefaultApi->v1_users_email_recovery_get: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **email** | **str**| User email address | - -### Return type - -void (empty response body) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | Recovery email sent successfully | - | -**400** | Bad request - Invalid email | - | -**500** | Internal server error | - | +**200** | OK | - | [[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) -# **v1_users_email_verified_patch** -> v1_users_email_verified_patch(email, token) +# **v1_software_rollouts_put** +> object v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) -Verify user email using verification token +Modify update rollout ### Example @@ -32193,6 +32487,7 @@ Verify user email using verification token ```python import graphiant_sdk +from graphiant_sdk.models.v1_software_rollouts_put_request import V1SoftwareRolloutsPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32217,13 +32512,15 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - email = 'user@example.com' # str | User email address - token = 'verification-token-12345' # str | Email verification token + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v1_software_rollouts_put_request = graphiant_sdk.V1SoftwareRolloutsPutRequest() # V1SoftwareRolloutsPutRequest | try: - api_instance.v1_users_email_verified_patch(email, token) + api_response = api_instance.v1_software_rollouts_put(authorization, v1_software_rollouts_put_request) + print("The response of DefaultApi->v1_software_rollouts_put:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_email_verified_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_put: %s\n" % e) ``` @@ -32233,12 +32530,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **email** | **str**| User email address | - **token** | **str**| Email verification token | + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v1_software_rollouts_put_request** | [**V1SoftwareRolloutsPutRequest**](V1SoftwareRolloutsPutRequest.md)| | ### Return type -void (empty response body) +**object** ### Authorization @@ -32246,24 +32543,21 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: Not defined + - **Content-Type**: application/json + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | User email verified successfully | - | -**400** | Bad request - Invalid input | - | -**403** | Forbidden - Invalid token | - | -**500** | Internal server error | - | +**200** | OK | - | [[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) -# **v1_users_get** -> V1UsersGetResponse v1_users_get(authorization, id=id) +# **v1_software_rollouts_schedule_post** +> object v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) -Get user information by user IDs with detailed profile data. +Schedule rollout to upgrade now, later or user-triggered ### Example @@ -32271,7 +32565,7 @@ Get user information by user IDs with detailed profile data. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_get_response import V1UsersGetResponse +from graphiant_sdk.models.v1_software_rollouts_schedule_post_request import V1SoftwareRolloutsSchedulePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32297,14 +32591,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | (optional) + v1_software_rollouts_schedule_post_request = graphiant_sdk.V1SoftwareRolloutsSchedulePostRequest() # V1SoftwareRolloutsSchedulePostRequest | try: - api_response = api_instance.v1_users_get(authorization, id=id) - print("The response of DefaultApi->v1_users_get:\n") + api_response = api_instance.v1_software_rollouts_schedule_post(authorization, v1_software_rollouts_schedule_post_request) + print("The response of DefaultApi->v1_software_rollouts_schedule_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_rollouts_schedule_post: %s\n" % e) ``` @@ -32315,11 +32609,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | [optional] + **v1_software_rollouts_schedule_post_request** | [**V1SoftwareRolloutsSchedulePostRequest**](V1SoftwareRolloutsSchedulePostRequest.md)| | ### Return type -[**V1UsersGetResponse**](V1UsersGetResponse.md) +**object** ### Authorization @@ -32327,7 +32621,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32338,10 +32632,8 @@ Name | Type | Description | Notes [[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) -# **v1_users_id_delete** -> v1_users_id_delete(authorization, id) - -Delete user account. +# **v1_software_running_details_get** +> V1SoftwareRunningDetailsGetResponse v1_software_running_details_get(authorization, running_version=running_version) ### Example @@ -32349,6 +32641,7 @@ Delete user account. ```python import graphiant_sdk +from graphiant_sdk.models.v1_software_running_details_get_response import V1SoftwareRunningDetailsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32374,12 +32667,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | + running_version = 'example string' # str | (optional) try: - api_instance.v1_users_id_delete(authorization, id) + api_response = api_instance.v1_software_running_details_get(authorization, running_version=running_version) + print("The response of DefaultApi->v1_software_running_details_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_running_details_get: %s\n" % e) ``` @@ -32390,11 +32685,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | + **running_version** | **str**| | [optional] ### Return type -void (empty response body) +[**V1SoftwareRunningDetailsGetResponse**](V1SoftwareRunningDetailsGetResponse.md) ### Authorization @@ -32403,20 +32698,18 @@ void (empty response body) ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[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) -# **v1_users_id_enterprises_get** -> V1UsersIdEnterprisesGetResponse v1_users_id_enterprises_get(authorization, id) - -Get all enterprises a specific user can access. +# **v1_software_running_summary_get** +> V1SoftwareRunningSummaryGetResponse v1_software_running_summary_get(authorization) ### Example @@ -32424,7 +32717,7 @@ Get all enterprises a specific user can access. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_enterprises_get_response import V1UsersIdEnterprisesGetResponse +from graphiant_sdk.models.v1_software_running_summary_get_response import V1SoftwareRunningSummaryGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32450,14 +32743,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId try: - api_response = api_instance.v1_users_id_enterprises_get(authorization, id) - print("The response of DefaultApi->v1_users_id_enterprises_get:\n") + api_response = api_instance.v1_software_running_summary_get(authorization) + print("The response of DefaultApi->v1_software_running_summary_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_enterprises_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_software_running_summary_get: %s\n" % e) ``` @@ -32468,11 +32760,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | ### Return type -[**V1UsersIdEnterprisesGetResponse**](V1UsersIdEnterprisesGetResponse.md) +[**V1SoftwareRunningSummaryGetResponse**](V1SoftwareRunningSummaryGetResponse.md) ### Authorization @@ -32491,10 +32782,10 @@ Name | Type | Description | Notes [[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) -# **v1_users_id_groups_enterprises_get** -> V1UsersIdGroupsEnterprisesGetResponse v1_users_id_groups_enterprises_get(authorization, id) +# **v1_talkers_device_device_id_top_post** +> V1TalkersDeviceDeviceIdTopPostResponse v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) -Get enterprise-specific groups for a user. +Get top talkers for a device ### Example @@ -32502,7 +32793,8 @@ Get enterprise-specific groups for a user. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_groups_enterprises_get_response import V1UsersIdGroupsEnterprisesGetResponse +from graphiant_sdk.models.v1_talkers_device_device_id_top_post_request import V1TalkersDeviceDeviceIdTopPostRequest +from graphiant_sdk.models.v1_talkers_device_device_id_top_post_response import V1TalkersDeviceDeviceIdTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32528,14 +32820,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + device_id = 1234567891011 # int | + v1_talkers_device_device_id_top_post_request = graphiant_sdk.V1TalkersDeviceDeviceIdTopPostRequest() # V1TalkersDeviceDeviceIdTopPostRequest | try: - api_response = api_instance.v1_users_id_groups_enterprises_get(authorization, id) - print("The response of DefaultApi->v1_users_id_groups_enterprises_get:\n") + api_response = api_instance.v1_talkers_device_device_id_top_post(authorization, device_id, v1_talkers_device_device_id_top_post_request) + print("The response of DefaultApi->v1_talkers_device_device_id_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_groups_enterprises_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_talkers_device_device_id_top_post: %s\n" % e) ``` @@ -32546,11 +32839,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **device_id** | **int**| | + **v1_talkers_device_device_id_top_post_request** | [**V1TalkersDeviceDeviceIdTopPostRequest**](V1TalkersDeviceDeviceIdTopPostRequest.md)| | ### Return type -[**V1UsersIdGroupsEnterprisesGetResponse**](V1UsersIdGroupsEnterprisesGetResponse.md) +[**V1TalkersDeviceDeviceIdTopPostResponse**](V1TalkersDeviceDeviceIdTopPostResponse.md) ### Authorization @@ -32558,7 +32852,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32569,10 +32863,10 @@ Name | Type | Description | Notes [[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) -# **v1_users_id_groups_get** -> V1UsersIdGroupsGetResponse v1_users_id_groups_get(authorization, id) +# **v1_talkers_site_site_id_top_post** +> V1TalkersSiteSiteIdTopPostResponse v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) -Get all groups that a specific user belongs to. +Get top talkers for a site ### Example @@ -32580,7 +32874,8 @@ Get all groups that a specific user belongs to. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_groups_get_response import V1UsersIdGroupsGetResponse +from graphiant_sdk.models.v1_talkers_site_site_id_top_post_request import V1TalkersSiteSiteIdTopPostRequest +from graphiant_sdk.models.v1_talkers_site_site_id_top_post_response import V1TalkersSiteSiteIdTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32606,14 +32901,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + site_id = 1234567891011 # int | + v1_talkers_site_site_id_top_post_request = graphiant_sdk.V1TalkersSiteSiteIdTopPostRequest() # V1TalkersSiteSiteIdTopPostRequest | try: - api_response = api_instance.v1_users_id_groups_get(authorization, id) - print("The response of DefaultApi->v1_users_id_groups_get:\n") + api_response = api_instance.v1_talkers_site_site_id_top_post(authorization, site_id, v1_talkers_site_site_id_top_post_request) + print("The response of DefaultApi->v1_talkers_site_site_id_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_groups_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_talkers_site_site_id_top_post: %s\n" % e) ``` @@ -32624,11 +32920,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **site_id** | **int**| | + **v1_talkers_site_site_id_top_post_request** | [**V1TalkersSiteSiteIdTopPostRequest**](V1TalkersSiteSiteIdTopPostRequest.md)| | ### Return type -[**V1UsersIdGroupsGetResponse**](V1UsersIdGroupsGetResponse.md) +[**V1TalkersSiteSiteIdTopPostResponse**](V1TalkersSiteSiteIdTopPostResponse.md) ### Authorization @@ -32636,7 +32933,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -32647,10 +32944,10 @@ Name | Type | Description | Notes [[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) -# **v1_users_id_groups_root_get** -> V1UsersIdGroupsRootGetResponse v1_users_id_groups_root_get(authorization, id) +# **v1_temp_password_put** +> object v1_temp_password_put(authorization, v1_temp_password_put_request) -Get root-level groups for a user. +Generate and send temporary passwords to multiple emails for B2B service access. ### Example @@ -32658,7 +32955,7 @@ Get root-level groups for a user. ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_id_groups_root_get_response import V1UsersIdGroupsRootGetResponse +from graphiant_sdk.models.v1_temp_password_put_request import V1TempPasswordPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32684,14 +32981,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | userId + v1_temp_password_put_request = graphiant_sdk.V1TempPasswordPutRequest() # V1TempPasswordPutRequest | try: - api_response = api_instance.v1_users_id_groups_root_get(authorization, id) - print("The response of DefaultApi->v1_users_id_groups_root_get:\n") + api_response = api_instance.v1_temp_password_put(authorization, v1_temp_password_put_request) + print("The response of DefaultApi->v1_temp_password_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_groups_root_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_temp_password_put: %s\n" % e) ``` @@ -32702,11 +32999,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| userId | + **v1_temp_password_put_request** | [**V1TempPasswordPutRequest**](V1TempPasswordPutRequest.md)| | ### Return type -[**V1UsersIdGroupsRootGetResponse**](V1UsersIdGroupsRootGetResponse.md) +**object** ### Authorization @@ -32714,21 +33011,19 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**201** | Created | - | [[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) -# **v1_users_id_verify_patch** -> v1_users_id_verify_patch(authorization, id, body) - -Resend account verification email to user. +# **v1_troubleshooting_device_device_id_post** +> V1TroubleshootingDeviceDeviceIdPostResponse v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) ### Example @@ -32736,6 +33031,8 @@ Resend account verification email to user. ```python import graphiant_sdk +from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_request import V1TroubleshootingDeviceDeviceIdPostRequest +from graphiant_sdk.models.v1_troubleshooting_device_device_id_post_response import V1TroubleshootingDeviceDeviceIdPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32761,13 +33058,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 'example string' # str | - body = None # object | + device_id = 1234567891011 # int | + v1_troubleshooting_device_device_id_post_request = graphiant_sdk.V1TroubleshootingDeviceDeviceIdPostRequest() # V1TroubleshootingDeviceDeviceIdPostRequest | try: - api_instance.v1_users_id_verify_patch(authorization, id, body) + api_response = api_instance.v1_troubleshooting_device_device_id_post(authorization, device_id, v1_troubleshooting_device_device_id_post_request) + print("The response of DefaultApi->v1_troubleshooting_device_device_id_post:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_id_verify_patch: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_device_device_id_post: %s\n" % e) ``` @@ -32778,12 +33077,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **str**| | - **body** | **object**| | + **device_id** | **int**| | + **v1_troubleshooting_device_device_id_post_request** | [**V1TroubleshootingDeviceDeviceIdPostRequest**](V1TroubleshootingDeviceDeviceIdPostRequest.md)| | ### Return type -void (empty response body) +[**V1TroubleshootingDeviceDeviceIdPostResponse**](V1TroubleshootingDeviceDeviceIdPostResponse.md) ### Authorization @@ -32792,20 +33091,18 @@ void (empty response body) ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[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) -# **v1_users_passwords_expire_post** -> V1UsersPasswordsExpirePostResponse v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) - -Expire passwords for multiple users and send password reset emails (Graphiant cloud only). +# **v1_troubleshooting_enterprise_post** +> V1TroubleshootingEnterprisePostResponse v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) ### Example @@ -32813,8 +33110,8 @@ Expire passwords for multiple users and send password reset emails (Graphiant cl ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_passwords_expire_post_request import V1UsersPasswordsExpirePostRequest -from graphiant_sdk.models.v1_users_passwords_expire_post_response import V1UsersPasswordsExpirePostResponse +from graphiant_sdk.models.v1_troubleshooting_enterprise_post_request import V1TroubleshootingEnterprisePostRequest +from graphiant_sdk.models.v1_troubleshooting_enterprise_post_response import V1TroubleshootingEnterprisePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32840,14 +33137,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_users_passwords_expire_post_request = graphiant_sdk.V1UsersPasswordsExpirePostRequest() # V1UsersPasswordsExpirePostRequest | + v1_troubleshooting_enterprise_post_request = graphiant_sdk.V1TroubleshootingEnterprisePostRequest() # V1TroubleshootingEnterprisePostRequest | try: - api_response = api_instance.v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) - print("The response of DefaultApi->v1_users_passwords_expire_post:\n") + api_response = api_instance.v1_troubleshooting_enterprise_post(authorization, v1_troubleshooting_enterprise_post_request) + print("The response of DefaultApi->v1_troubleshooting_enterprise_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_passwords_expire_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_enterprise_post: %s\n" % e) ``` @@ -32858,11 +33155,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_users_passwords_expire_post_request** | [**V1UsersPasswordsExpirePostRequest**](V1UsersPasswordsExpirePostRequest.md)| | + **v1_troubleshooting_enterprise_post_request** | [**V1TroubleshootingEnterprisePostRequest**](V1TroubleshootingEnterprisePostRequest.md)| | ### Return type -[**V1UsersPasswordsExpirePostResponse**](V1UsersPasswordsExpirePostResponse.md) +[**V1TroubleshootingEnterprisePostResponse**](V1TroubleshootingEnterprisePostResponse.md) ### Authorization @@ -32881,10 +33178,8 @@ Name | Type | Description | Notes [[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) -# **v1_users_put** -> v1_users_put(authorization, v1_users_put_request) - -Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. +# **v1_troubleshooting_filter_get** +> V1TroubleshootingFilterGetResponse v1_troubleshooting_filter_get(authorization) ### Example @@ -32892,7 +33187,7 @@ Create a new user account with profile information. Assigns to specified group o ```python import graphiant_sdk -from graphiant_sdk.models.v1_users_put_request import V1UsersPutRequest +from graphiant_sdk.models.v1_troubleshooting_filter_get_response import V1TroubleshootingFilterGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32918,12 +33213,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_users_put_request = graphiant_sdk.V1UsersPutRequest() # V1UsersPutRequest | try: - api_instance.v1_users_put(authorization, v1_users_put_request) + api_response = api_instance.v1_troubleshooting_filter_get(authorization) + print("The response of DefaultApi->v1_troubleshooting_filter_get:\n") + pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_users_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_filter_get: %s\n" % e) ``` @@ -32934,11 +33230,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_users_put_request** | [**V1UsersPutRequest**](V1UsersPutRequest.md)| | ### Return type -void (empty response body) +[**V1TroubleshootingFilterGetResponse**](V1TroubleshootingFilterGetResponse.md) ### Authorization @@ -32946,21 +33241,19 @@ void (empty response body) ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: Not defined + - **Content-Type**: Not defined + - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**204** | No Content | - | +**200** | OK | - | [[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) -# **v1_version_post** -> V1VersionPostResponse v1_version_post(authorization, v1_version_post_request) - -Update device config version +# **v1_troubleshooting_site_connectivity_status_get** +> V1TroubleshootingSiteConnectivityStatusGetResponse v1_troubleshooting_site_connectivity_status_get(authorization) ### Example @@ -32968,8 +33261,7 @@ Update device config version ```python import graphiant_sdk -from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest -from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse +from graphiant_sdk.models.v1_troubleshooting_site_connectivity_status_get_response import V1TroubleshootingSiteConnectivityStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -32995,14 +33287,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_version_post_request = graphiant_sdk.V1VersionPostRequest() # V1VersionPostRequest | try: - api_response = api_instance.v1_version_post(authorization, v1_version_post_request) - print("The response of DefaultApi->v1_version_post:\n") + api_response = api_instance.v1_troubleshooting_site_connectivity_status_get(authorization) + print("The response of DefaultApi->v1_troubleshooting_site_connectivity_status_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_version_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_site_connectivity_status_get: %s\n" % e) ``` @@ -33013,11 +33304,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_version_post_request** | [**V1VersionPostRequest**](V1VersionPostRequest.md)| | ### Return type -[**V1VersionPostResponse**](V1VersionPostResponse.md) +[**V1TroubleshootingSiteConnectivityStatusGetResponse**](V1TroubleshootingSiteConnectivityStatusGetResponse.md) ### Authorization @@ -33025,7 +33315,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33036,10 +33326,8 @@ Name | Type | Description | Notes [[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) -# **v1_zones_get** -> V1ZonesGetResponse v1_zones_get(authorization) - -Get Zones for the current enterprise +# **v1_troubleshooting_site_site_id_get** +> V1TroubleshootingSiteSiteIdGetResponse v1_troubleshooting_site_site_id_get(authorization, site_id) ### Example @@ -33047,7 +33335,7 @@ Get Zones for the current enterprise ```python import graphiant_sdk -from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse +from graphiant_sdk.models.v1_troubleshooting_site_site_id_get_response import V1TroubleshootingSiteSiteIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33073,13 +33361,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + site_id = 1234567891011 # int | try: - api_response = api_instance.v1_zones_get(authorization) - print("The response of DefaultApi->v1_zones_get:\n") + api_response = api_instance.v1_troubleshooting_site_site_id_get(authorization, site_id) + print("The response of DefaultApi->v1_troubleshooting_site_site_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_zones_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_site_site_id_get: %s\n" % e) ``` @@ -33090,10 +33379,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **site_id** | **int**| | ### Return type -[**V1ZonesGetResponse**](V1ZonesGetResponse.md) +[**V1TroubleshootingSiteSiteIdGetResponse**](V1TroubleshootingSiteSiteIdGetResponse.md) ### Authorization @@ -33112,10 +33402,8 @@ Name | Type | Description | Notes [[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) -# **v1_ztagent_agents_get** -> V1ZtagentAgentsGetResponse v1_ztagent_agents_get(authorization, created_date_end=created_date_end, created_date_start=created_date_start, endpoints=endpoints, hostname=hostname, limit=limit, machine_id=machine_id, page=page, tenant_id=tenant_id, updated_date_end=updated_date_end, updated_date_start=updated_date_start) - -List Conceal agents (devices) with pagination and filters. +# **v1_troubleshooting_top_sites_by_alerts_post** +> V1TroubleshootingTopSitesByAlertsPostResponse v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) ### Example @@ -33123,7 +33411,8 @@ List Conceal agents (devices) with pagination and filters. ```python import graphiant_sdk -from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse +from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_request import V1TroubleshootingTopSitesByAlertsPostRequest +from graphiant_sdk.models.v1_troubleshooting_top_sites_by_alerts_post_response import V1TroubleshootingTopSitesByAlertsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33149,23 +33438,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - created_date_end = 'example string' # str | (optional) - created_date_start = 'example string' # str | (optional) - endpoints = ['[\"example\"]'] # List[str] | (optional) - hostname = 'example string' # str | (optional) - limit = 123 # int | (optional) - machine_id = 'example string' # str | (optional) - page = 123 # int | (optional) - tenant_id = 'example string' # str | (optional) - updated_date_end = 'example string' # str | (optional) - updated_date_start = 'example string' # str | (optional) + v1_troubleshooting_top_sites_by_alerts_post_request = graphiant_sdk.V1TroubleshootingTopSitesByAlertsPostRequest() # V1TroubleshootingTopSitesByAlertsPostRequest | try: - api_response = api_instance.v1_ztagent_agents_get(authorization, created_date_end=created_date_end, created_date_start=created_date_start, endpoints=endpoints, hostname=hostname, limit=limit, machine_id=machine_id, page=page, tenant_id=tenant_id, updated_date_end=updated_date_end, updated_date_start=updated_date_start) - print("The response of DefaultApi->v1_ztagent_agents_get:\n") + api_response = api_instance.v1_troubleshooting_top_sites_by_alerts_post(authorization, v1_troubleshooting_top_sites_by_alerts_post_request) + print("The response of DefaultApi->v1_troubleshooting_top_sites_by_alerts_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v1_ztagent_agents_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_troubleshooting_top_sites_by_alerts_post: %s\n" % e) ``` @@ -33176,20 +33456,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **created_date_end** | **str**| | [optional] - **created_date_start** | **str**| | [optional] - **endpoints** | [**List[str]**](str.md)| | [optional] - **hostname** | **str**| | [optional] - **limit** | **int**| | [optional] - **machine_id** | **str**| | [optional] - **page** | **int**| | [optional] - **tenant_id** | **str**| | [optional] - **updated_date_end** | **str**| | [optional] - **updated_date_start** | **str**| | [optional] + **v1_troubleshooting_top_sites_by_alerts_post_request** | [**V1TroubleshootingTopSitesByAlertsPostRequest**](V1TroubleshootingTopSitesByAlertsPostRequest.md)| | ### Return type -[**V1ZtagentAgentsGetResponse**](V1ZtagentAgentsGetResponse.md) +[**V1TroubleshootingTopSitesByAlertsPostResponse**](V1TroubleshootingTopSitesByAlertsPostResponse.md) ### Authorization @@ -33197,7 +33468,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -33208,10 +33479,10 @@ Name | Type | Description | Notes [[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) -# **v1_ztagent_bindings_get** -> V1ZtagentBindingsGetResponse v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) +# **v1_users_email_password_patch** +> v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) -Return the ZTAgent integration binding for an enterprise. +Change password for a user using email and token ### Example @@ -33219,7 +33490,7 @@ Return the ZTAgent integration binding for an enterprise. ```python import graphiant_sdk -from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse +from graphiant_sdk.models.v1_users_email_password_patch_request import V1UsersEmailPasswordPatchRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33244,15 +33515,14 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - enterprise_id = 1234567891011 # int | (optional) + email = 'user@example.com' # str | User email address + token = 'verification-token-12345' # str | Password reset token + v1_users_email_password_patch_request = graphiant_sdk.V1UsersEmailPasswordPatchRequest() # V1UsersEmailPasswordPatchRequest | try: - api_response = api_instance.v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) - print("The response of DefaultApi->v1_ztagent_bindings_get:\n") - pprint(api_response) + api_instance.v1_users_email_password_patch(email, token, v1_users_email_password_patch_request) except Exception as e: - print("Exception when calling DefaultApi->v1_ztagent_bindings_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_email_password_patch: %s\n" % e) ``` @@ -33262,12 +33532,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **enterprise_id** | **int**| | [optional] + **email** | **str**| User email address | + **token** | **str**| Password reset token | + **v1_users_email_password_patch_request** | [**V1UsersEmailPasswordPatchRequest**](V1UsersEmailPasswordPatchRequest.md)| | ### Return type -[**V1ZtagentBindingsGetResponse**](V1ZtagentBindingsGetResponse.md) +void (empty response body) ### Authorization @@ -33275,21 +33546,24 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | Password changed successfully | - | +**400** | Bad request - Invalid input | - | +**403** | Forbidden - Invalid token | - | +**500** | Internal server error | - | [[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) -# **v1_ztagent_bindings_put** -> object v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) +# **v1_users_email_recovery_get** +> v1_users_email_recovery_get(email) -Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). +Send password recovery email to user ### Example @@ -33297,7 +33571,6 @@ Create or replace the ZTAgent integration binding for an enterprise (site and cu ```python import graphiant_sdk -from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33322,15 +33595,12 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v1_ztagent_bindings_put_request = graphiant_sdk.V1ZtagentBindingsPutRequest() # V1ZtagentBindingsPutRequest | + email = 'user@example.com' # str | User email address try: - api_response = api_instance.v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) - print("The response of DefaultApi->v1_ztagent_bindings_put:\n") - pprint(api_response) + api_instance.v1_users_email_recovery_get(email) except Exception as e: - print("Exception when calling DefaultApi->v1_ztagent_bindings_put: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_email_recovery_get: %s\n" % e) ``` @@ -33340,12 +33610,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v1_ztagent_bindings_put_request** | [**V1ZtagentBindingsPutRequest**](V1ZtagentBindingsPutRequest.md)| | + **email** | **str**| User email address | ### Return type -**object** +void (empty response body) ### Authorization @@ -33353,19 +33622,23 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**200** | Recovery email sent successfully | - | +**400** | Bad request - Invalid email | - | +**500** | Internal server error | - | [[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) -# **v2_ack_createupdate_post** -> object v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) +# **v1_users_email_verified_patch** +> v1_users_email_verified_patch(email, token) + +Verify user email using verification token ### Example @@ -33373,7 +33646,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33398,15 +33670,13 @@ configuration.api_key['jwtAuth'] = os.environ["API_KEY"] with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_ack_createupdate_post_request = graphiant_sdk.V2AckCreateupdatePostRequest() # V2AckCreateupdatePostRequest | + email = 'user@example.com' # str | User email address + token = 'verification-token-12345' # str | Email verification token try: - api_response = api_instance.v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) - print("The response of DefaultApi->v2_ack_createupdate_post:\n") - pprint(api_response) + api_instance.v1_users_email_verified_patch(email, token) except Exception as e: - print("Exception when calling DefaultApi->v2_ack_createupdate_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_email_verified_patch: %s\n" % e) ``` @@ -33416,12 +33686,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_ack_createupdate_post_request** | [**V2AckCreateupdatePostRequest**](V2AckCreateupdatePostRequest.md)| | + **email** | **str**| User email address | + **token** | **str**| Email verification token | ### Return type -**object** +void (empty response body) ### Authorization @@ -33429,19 +33699,24 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json - - **Accept**: application/json + - **Content-Type**: Not defined + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | User email verified successfully | - | +**400** | Bad request - Invalid input | - | +**403** | Forbidden - Invalid token | - | +**500** | Internal server error | - | [[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) -# **v2_aggregated_notification_enable_disable_post** -> object v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) +# **v1_users_get** +> V1UsersGetResponse v1_users_get(authorization, id=id) + +Get user information by user IDs with detailed profile data. ### Example @@ -33449,7 +33724,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_aggregated_notification_enable_disable_post_request import V2AggregatedNotificationEnableDisablePostRequest +from graphiant_sdk.models.v1_users_get_response import V1UsersGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33475,14 +33750,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_aggregated_notification_enable_disable_post_request = graphiant_sdk.V2AggregatedNotificationEnableDisablePostRequest() # V2AggregatedNotificationEnableDisablePostRequest | + id = 'example string' # str | (optional) try: - api_response = api_instance.v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) - print("The response of DefaultApi->v2_aggregated_notification_enable_disable_post:\n") + api_response = api_instance.v1_users_get(authorization, id=id) + print("The response of DefaultApi->v1_users_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_aggregated_notification_enable_disable_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_get: %s\n" % e) ``` @@ -33493,11 +33768,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_aggregated_notification_enable_disable_post_request** | [**V2AggregatedNotificationEnableDisablePostRequest**](V2AggregatedNotificationEnableDisablePostRequest.md)| | + **id** | **str**| | [optional] ### Return type -**object** +[**V1UsersGetResponse**](V1UsersGetResponse.md) ### Authorization @@ -33505,7 +33780,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33516,8 +33791,10 @@ Name | Type | Description | Notes [[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) -# **v2_aggregated_notification_get_state_get** -> V2AggregatedNotificationGetStateGetResponse v2_aggregated_notification_get_state_get(authorization) +# **v1_users_id_delete** +> v1_users_id_delete(authorization, id) + +Delete user account. ### Example @@ -33525,7 +33802,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_aggregated_notification_get_state_get_response import V2AggregatedNotificationGetStateGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33551,13 +33827,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 'example string' # str | try: - api_response = api_instance.v2_aggregated_notification_get_state_get(authorization) - print("The response of DefaultApi->v2_aggregated_notification_get_state_get:\n") - pprint(api_response) + api_instance.v1_users_id_delete(authorization, id) except Exception as e: - print("Exception when calling DefaultApi->v2_aggregated_notification_get_state_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_delete: %s\n" % e) ``` @@ -33568,10 +33843,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **str**| | ### Return type -[**V2AggregatedNotificationGetStateGetResponse**](V2AggregatedNotificationGetStateGetResponse.md) +void (empty response body) ### Authorization @@ -33580,18 +33856,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[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) -# **v2_allowlist_by_enterprise_get** -> V2AllowlistByEnterpriseGetResponse v2_allowlist_by_enterprise_get(authorization) +# **v1_users_id_enterprises_get** +> V1UsersIdEnterprisesGetResponse v1_users_id_enterprises_get(authorization, id) + +Get all enterprises a specific user can access. ### Example @@ -33599,7 +33877,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_allowlist_by_enterprise_get_response import V2AllowlistByEnterpriseGetResponse +from graphiant_sdk.models.v1_users_id_enterprises_get_response import V1UsersIdEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33625,13 +33903,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 'example string' # str | userId try: - api_response = api_instance.v2_allowlist_by_enterprise_get(authorization) - print("The response of DefaultApi->v2_allowlist_by_enterprise_get:\n") + api_response = api_instance.v1_users_id_enterprises_get(authorization, id) + print("The response of DefaultApi->v1_users_id_enterprises_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_by_enterprise_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_enterprises_get: %s\n" % e) ``` @@ -33642,10 +33921,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **str**| userId | ### Return type -[**V2AllowlistByEnterpriseGetResponse**](V2AllowlistByEnterpriseGetResponse.md) +[**V1UsersIdEnterprisesGetResponse**](V1UsersIdEnterprisesGetResponse.md) ### Authorization @@ -33664,8 +33944,10 @@ Name | Type | Description | Notes [[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) -# **v2_allowlist_create_post** -> object v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) +# **v1_users_id_groups_enterprises_get** +> V1UsersIdGroupsEnterprisesGetResponse v1_users_id_groups_enterprises_get(authorization, id) + +Get enterprise-specific groups for a user. ### Example @@ -33673,7 +33955,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_allowlist_create_post_request import V2AllowlistCreatePostRequest +from graphiant_sdk.models.v1_users_id_groups_enterprises_get_response import V1UsersIdGroupsEnterprisesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33699,14 +33981,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_allowlist_create_post_request = graphiant_sdk.V2AllowlistCreatePostRequest() # V2AllowlistCreatePostRequest | + id = 'example string' # str | userId try: - api_response = api_instance.v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) - print("The response of DefaultApi->v2_allowlist_create_post:\n") + api_response = api_instance.v1_users_id_groups_enterprises_get(authorization, id) + print("The response of DefaultApi->v1_users_id_groups_enterprises_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_create_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_groups_enterprises_get: %s\n" % e) ``` @@ -33717,11 +33999,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_allowlist_create_post_request** | [**V2AllowlistCreatePostRequest**](V2AllowlistCreatePostRequest.md)| | + **id** | **str**| userId | ### Return type -**object** +[**V1UsersIdGroupsEnterprisesGetResponse**](V1UsersIdGroupsEnterprisesGetResponse.md) ### Authorization @@ -33729,7 +34011,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -33740,8 +34022,10 @@ Name | Type | Description | Notes [[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) -# **v2_allowlist_deletebyalertid_alert_id_delete** -> object v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) +# **v1_users_id_groups_get** +> V1UsersIdGroupsGetResponse v1_users_id_groups_get(authorization, id) + +Get all groups that a specific user belongs to. ### Example @@ -33749,6 +34033,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v1_users_id_groups_get_response import V1UsersIdGroupsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33774,14 +34059,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - alert_id = 'example string' # str | Alert id of the alert to delete allowlist/mutelist for + id = 'example string' # str | userId try: - api_response = api_instance.v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) - print("The response of DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete:\n") + api_response = api_instance.v1_users_id_groups_get(authorization, id) + print("The response of DefaultApi->v1_users_id_groups_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_groups_get: %s\n" % e) ``` @@ -33792,11 +34077,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **alert_id** | **str**| Alert id of the alert to delete allowlist/mutelist for | + **id** | **str**| userId | ### Return type -**object** +[**V1UsersIdGroupsGetResponse**](V1UsersIdGroupsGetResponse.md) ### Authorization @@ -33815,8 +34100,10 @@ Name | Type | Description | Notes [[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) -# **v2_allowlist_deletebyentityid_entity_id_delete** -> object v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) +# **v1_users_id_groups_root_get** +> V1UsersIdGroupsRootGetResponse v1_users_id_groups_root_get(authorization, id) + +Get root-level groups for a user. ### Example @@ -33824,6 +34111,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v1_users_id_groups_root_get_response import V1UsersIdGroupsRootGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33849,14 +34137,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - entity_id = 'example string' # str | Entity id of the alert to delete allowlist/mutelist for + id = 'example string' # str | userId try: - api_response = api_instance.v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) - print("The response of DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete:\n") + api_response = api_instance.v1_users_id_groups_root_get(authorization, id) + print("The response of DefaultApi->v1_users_id_groups_root_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_groups_root_get: %s\n" % e) ``` @@ -33867,11 +34155,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **entity_id** | **str**| Entity id of the alert to delete allowlist/mutelist for | + **id** | **str**| userId | ### Return type -**object** +[**V1UsersIdGroupsRootGetResponse**](V1UsersIdGroupsRootGetResponse.md) ### Authorization @@ -33890,8 +34178,10 @@ Name | Type | Description | Notes [[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) -# **v2_allowlist_rule_id_get** -> V2AllowlistRuleIdGetResponse v2_allowlist_rule_id_get(authorization, rule_id) +# **v1_users_id_verify_patch** +> v1_users_id_verify_patch(authorization, id, body) + +Resend account verification email to user. ### Example @@ -33899,7 +34189,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_allowlist_rule_id_get_response import V2AllowlistRuleIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -33925,14 +34214,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - rule_id = 'example string' # str | Alert id of the alert to retrieve allowlist/mutelist for + id = 'example string' # str | + body = None # object | try: - api_response = api_instance.v2_allowlist_rule_id_get(authorization, rule_id) - print("The response of DefaultApi->v2_allowlist_rule_id_get:\n") - pprint(api_response) + api_instance.v1_users_id_verify_patch(authorization, id, body) except Exception as e: - print("Exception when calling DefaultApi->v2_allowlist_rule_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_id_verify_patch: %s\n" % e) ``` @@ -33943,11 +34231,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **rule_id** | **str**| Alert id of the alert to retrieve allowlist/mutelist for | + **id** | **str**| | + **body** | **object**| | ### Return type -[**V2AllowlistRuleIdGetResponse**](V2AllowlistRuleIdGetResponse.md) +void (empty response body) ### Authorization @@ -33955,19 +34244,21 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined - - **Accept**: application/json + - **Content-Type**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[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) -# **v2_assistant_add_to_conversation_post** -> V2AssistantAddToConversationPostResponse v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) +# **v1_users_passwords_expire_post** +> V1UsersPasswordsExpirePostResponse v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) + +Expire passwords for multiple users and send password reset emails (Graphiant cloud only). ### Example @@ -33975,8 +34266,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_add_to_conversation_post_request import V2AssistantAddToConversationPostRequest -from graphiant_sdk.models.v2_assistant_add_to_conversation_post_response import V2AssistantAddToConversationPostResponse +from graphiant_sdk.models.v1_users_passwords_expire_post_request import V1UsersPasswordsExpirePostRequest +from graphiant_sdk.models.v1_users_passwords_expire_post_response import V1UsersPasswordsExpirePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34002,14 +34293,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_add_to_conversation_post_request = graphiant_sdk.V2AssistantAddToConversationPostRequest() # V2AssistantAddToConversationPostRequest | + v1_users_passwords_expire_post_request = graphiant_sdk.V1UsersPasswordsExpirePostRequest() # V1UsersPasswordsExpirePostRequest | try: - api_response = api_instance.v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) - print("The response of DefaultApi->v2_assistant_add_to_conversation_post:\n") + api_response = api_instance.v1_users_passwords_expire_post(authorization, v1_users_passwords_expire_post_request) + print("The response of DefaultApi->v1_users_passwords_expire_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_add_to_conversation_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_passwords_expire_post: %s\n" % e) ``` @@ -34020,11 +34311,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_add_to_conversation_post_request** | [**V2AssistantAddToConversationPostRequest**](V2AssistantAddToConversationPostRequest.md)| | + **v1_users_passwords_expire_post_request** | [**V1UsersPasswordsExpirePostRequest**](V1UsersPasswordsExpirePostRequest.md)| | ### Return type -[**V2AssistantAddToConversationPostResponse**](V2AssistantAddToConversationPostResponse.md) +[**V1UsersPasswordsExpirePostResponse**](V1UsersPasswordsExpirePostResponse.md) ### Authorization @@ -34043,8 +34334,10 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_conversation_context_history_post** -> object v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) +# **v1_users_put** +> v1_users_put(authorization, v1_users_put_request) + +Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. ### Example @@ -34052,7 +34345,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_conversation_context_history_post_request import V2AssistantConversationContextHistoryPostRequest +from graphiant_sdk.models.v1_users_put_request import V1UsersPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34078,14 +34371,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_conversation_context_history_post_request = graphiant_sdk.V2AssistantConversationContextHistoryPostRequest() # V2AssistantConversationContextHistoryPostRequest | + v1_users_put_request = graphiant_sdk.V1UsersPutRequest() # V1UsersPutRequest | try: - api_response = api_instance.v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) - print("The response of DefaultApi->v2_assistant_conversation_context_history_post:\n") - pprint(api_response) + api_instance.v1_users_put(authorization, v1_users_put_request) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_conversation_context_history_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_users_put: %s\n" % e) ``` @@ -34096,11 +34387,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_conversation_context_history_post_request** | [**V2AssistantConversationContextHistoryPostRequest**](V2AssistantConversationContextHistoryPostRequest.md)| | + **v1_users_put_request** | [**V1UsersPutRequest**](V1UsersPutRequest.md)| | ### Return type -**object** +void (empty response body) ### Authorization @@ -34109,18 +34400,20 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: application/json - - **Accept**: application/json + - **Accept**: Not defined ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | OK | - | +**204** | No Content | - | [[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) -# **v2_assistant_conversation_interface_enable_disable_post** -> object v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) +# **v1_version_post** +> V1VersionPostResponse v1_version_post(authorization, v1_version_post_request) + +Update device config version ### Example @@ -34128,7 +34421,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_conversation_interface_enable_disable_post_request import V2AssistantConversationInterfaceEnableDisablePostRequest +from graphiant_sdk.models.v1_version_post_request import V1VersionPostRequest +from graphiant_sdk.models.v1_version_post_response import V1VersionPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34154,14 +34448,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_conversation_interface_enable_disable_post_request = graphiant_sdk.V2AssistantConversationInterfaceEnableDisablePostRequest() # V2AssistantConversationInterfaceEnableDisablePostRequest | + v1_version_post_request = graphiant_sdk.V1VersionPostRequest() # V1VersionPostRequest | try: - api_response = api_instance.v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) - print("The response of DefaultApi->v2_assistant_conversation_interface_enable_disable_post:\n") + api_response = api_instance.v1_version_post(authorization, v1_version_post_request) + print("The response of DefaultApi->v1_version_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_conversation_interface_enable_disable_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_version_post: %s\n" % e) ``` @@ -34172,11 +34466,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_conversation_interface_enable_disable_post_request** | [**V2AssistantConversationInterfaceEnableDisablePostRequest**](V2AssistantConversationInterfaceEnableDisablePostRequest.md)| | + **v1_version_post_request** | [**V1VersionPostRequest**](V1VersionPostRequest.md)| | ### Return type -**object** +[**V1VersionPostResponse**](V1VersionPostResponse.md) ### Authorization @@ -34195,8 +34489,10 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_conversation_interface_state_get** -> V2AssistantConversationInterfaceStateGetResponse v2_assistant_conversation_interface_state_get(authorization) +# **v1_zones_get** +> V1ZonesGetResponse v1_zones_get(authorization) + +Get Zones for the current enterprise ### Example @@ -34204,7 +34500,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_conversation_interface_state_get_response import V2AssistantConversationInterfaceStateGetResponse +from graphiant_sdk.models.v1_zones_get_response import V1ZonesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34232,11 +34528,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: authorization = 'authorization_example' # str | Bearer token. Format: Bearer try: - api_response = api_instance.v2_assistant_conversation_interface_state_get(authorization) - print("The response of DefaultApi->v2_assistant_conversation_interface_state_get:\n") + api_response = api_instance.v1_zones_get(authorization) + print("The response of DefaultApi->v1_zones_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_conversation_interface_state_get: %s\n" % e) + print("Exception when calling DefaultApi->v1_zones_get: %s\n" % e) ``` @@ -34250,7 +34546,7 @@ Name | Type | Description | Notes ### Return type -[**V2AssistantConversationInterfaceStateGetResponse**](V2AssistantConversationInterfaceStateGetResponse.md) +[**V1ZonesGetResponse**](V1ZonesGetResponse.md) ### Authorization @@ -34269,8 +34565,10 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_delete_conversation_chat_conversation_id_delete** -> object v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) +# **v1_ztagent_agents_get** +> V1ZtagentAgentsGetResponse v1_ztagent_agents_get(authorization, created_date_end=created_date_end, created_date_start=created_date_start, endpoints=endpoints, hostname=hostname, limit=limit, machine_id=machine_id, page=page, tenant_id=tenant_id, updated_date_end=updated_date_end, updated_date_start=updated_date_start) + +List ZTAgent agents (devices) with pagination and filters. ### Example @@ -34278,6 +34576,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v1_ztagent_agents_get_response import V1ZtagentAgentsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34303,14 +34602,23 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - conversation_id = 'example string' # str | + created_date_end = 'example string' # str | (optional) + created_date_start = 'example string' # str | (optional) + endpoints = ['[\"example\"]'] # List[str] | (optional) + hostname = 'example string' # str | (optional) + limit = 123 # int | (optional) + machine_id = 'example string' # str | (optional) + page = 123 # int | (optional) + tenant_id = 'example string' # str | (optional) + updated_date_end = 'example string' # str | (optional) + updated_date_start = 'example string' # str | (optional) try: - api_response = api_instance.v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) - print("The response of DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete:\n") + api_response = api_instance.v1_ztagent_agents_get(authorization, created_date_end=created_date_end, created_date_start=created_date_start, endpoints=endpoints, hostname=hostname, limit=limit, machine_id=machine_id, page=page, tenant_id=tenant_id, updated_date_end=updated_date_end, updated_date_start=updated_date_start) + print("The response of DefaultApi->v1_ztagent_agents_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v1_ztagent_agents_get: %s\n" % e) ``` @@ -34321,11 +34629,20 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **conversation_id** | **str**| | + **created_date_end** | **str**| | [optional] + **created_date_start** | **str**| | [optional] + **endpoints** | [**List[str]**](str.md)| | [optional] + **hostname** | **str**| | [optional] + **limit** | **int**| | [optional] + **machine_id** | **str**| | [optional] + **page** | **int**| | [optional] + **tenant_id** | **str**| | [optional] + **updated_date_end** | **str**| | [optional] + **updated_date_start** | **str**| | [optional] ### Return type -**object** +[**V1ZtagentAgentsGetResponse**](V1ZtagentAgentsGetResponse.md) ### Authorization @@ -34344,8 +34661,10 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_get_conversation_details_post** -> V2AssistantGetConversationDetailsPostResponse v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) +# **v1_ztagent_bindings_get** +> V1ZtagentBindingsGetResponse v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) + +Return the ZTAgent integration binding for an enterprise. ### Example @@ -34353,8 +34672,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_get_conversation_details_post_request import V2AssistantGetConversationDetailsPostRequest -from graphiant_sdk.models.v2_assistant_get_conversation_details_post_response import V2AssistantGetConversationDetailsPostResponse +from graphiant_sdk.models.v1_ztagent_bindings_get_response import V1ZtagentBindingsGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34380,14 +34698,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_get_conversation_details_post_request = graphiant_sdk.V2AssistantGetConversationDetailsPostRequest() # V2AssistantGetConversationDetailsPostRequest | + enterprise_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) - print("The response of DefaultApi->v2_assistant_get_conversation_details_post:\n") + api_response = api_instance.v1_ztagent_bindings_get(authorization, enterprise_id=enterprise_id) + print("The response of DefaultApi->v1_ztagent_bindings_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_get_conversation_details_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_ztagent_bindings_get: %s\n" % e) ``` @@ -34398,11 +34716,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_get_conversation_details_post_request** | [**V2AssistantGetConversationDetailsPostRequest**](V2AssistantGetConversationDetailsPostRequest.md)| | + **enterprise_id** | **int**| | [optional] ### Return type -[**V2AssistantGetConversationDetailsPostResponse**](V2AssistantGetConversationDetailsPostResponse.md) +[**V1ZtagentBindingsGetResponse**](V1ZtagentBindingsGetResponse.md) ### Authorization @@ -34410,7 +34728,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -34421,8 +34739,10 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_get_conversations_post** -> V2AssistantGetConversationsPostResponse v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) +# **v1_ztagent_bindings_put** +> object v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) + +Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). ### Example @@ -34430,8 +34750,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_get_conversations_post_request import V2AssistantGetConversationsPostRequest -from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse +from graphiant_sdk.models.v1_ztagent_bindings_put_request import V1ZtagentBindingsPutRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34457,14 +34776,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_get_conversations_post_request = graphiant_sdk.V2AssistantGetConversationsPostRequest() # V2AssistantGetConversationsPostRequest | + v1_ztagent_bindings_put_request = graphiant_sdk.V1ZtagentBindingsPutRequest() # V1ZtagentBindingsPutRequest | try: - api_response = api_instance.v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) - print("The response of DefaultApi->v2_assistant_get_conversations_post:\n") + api_response = api_instance.v1_ztagent_bindings_put(authorization, v1_ztagent_bindings_put_request) + print("The response of DefaultApi->v1_ztagent_bindings_put:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_get_conversations_post: %s\n" % e) + print("Exception when calling DefaultApi->v1_ztagent_bindings_put: %s\n" % e) ``` @@ -34475,11 +34794,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_get_conversations_post_request** | [**V2AssistantGetConversationsPostRequest**](V2AssistantGetConversationsPostRequest.md)| | + **v1_ztagent_bindings_put_request** | [**V1ZtagentBindingsPutRequest**](V1ZtagentBindingsPutRequest.md)| | ### Return type -[**V2AssistantGetConversationsPostResponse**](V2AssistantGetConversationsPostResponse.md) +**object** ### Authorization @@ -34498,8 +34817,8 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_update_conversation_name_post** -> object v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) +# **v2_ack_createupdate_post** +> object v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) ### Example @@ -34507,7 +34826,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest +from graphiant_sdk.models.v2_ack_createupdate_post_request import V2AckCreateupdatePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34533,14 +34852,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assistant_update_conversation_name_post_request = graphiant_sdk.V2AssistantUpdateConversationNamePostRequest() # V2AssistantUpdateConversationNamePostRequest | + v2_ack_createupdate_post_request = graphiant_sdk.V2AckCreateupdatePostRequest() # V2AckCreateupdatePostRequest | try: - api_response = api_instance.v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) - print("The response of DefaultApi->v2_assistant_update_conversation_name_post:\n") + api_response = api_instance.v2_ack_createupdate_post(authorization, v2_ack_createupdate_post_request) + print("The response of DefaultApi->v2_ack_createupdate_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_update_conversation_name_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_ack_createupdate_post: %s\n" % e) ``` @@ -34551,7 +34870,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assistant_update_conversation_name_post_request** | [**V2AssistantUpdateConversationNamePostRequest**](V2AssistantUpdateConversationNamePostRequest.md)| | + **v2_ack_createupdate_post_request** | [**V2AckCreateupdatePostRequest**](V2AckCreateupdatePostRequest.md)| | ### Return type @@ -34574,8 +34893,8 @@ Name | Type | Description | Notes [[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) -# **v2_assistant_version_post** -> V2AssistantVersionPostResponse v2_assistant_version_post(authorization, body) +# **v2_aggregated_notification_enable_disable_post** +> object v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) ### Example @@ -34583,7 +34902,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse +from graphiant_sdk.models.v2_aggregated_notification_enable_disable_post_request import V2AggregatedNotificationEnableDisablePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34609,14 +34928,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - body = None # object | + v2_aggregated_notification_enable_disable_post_request = graphiant_sdk.V2AggregatedNotificationEnableDisablePostRequest() # V2AggregatedNotificationEnableDisablePostRequest | try: - api_response = api_instance.v2_assistant_version_post(authorization, body) - print("The response of DefaultApi->v2_assistant_version_post:\n") + api_response = api_instance.v2_aggregated_notification_enable_disable_post(authorization, v2_aggregated_notification_enable_disable_post_request) + print("The response of DefaultApi->v2_aggregated_notification_enable_disable_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assistant_version_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_aggregated_notification_enable_disable_post: %s\n" % e) ``` @@ -34627,11 +34946,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **body** | **object**| | + **v2_aggregated_notification_enable_disable_post_request** | [**V2AggregatedNotificationEnableDisablePostRequest**](V2AggregatedNotificationEnableDisablePostRequest.md)| | ### Return type -[**V2AssistantVersionPostResponse**](V2AssistantVersionPostResponse.md) +**object** ### Authorization @@ -34650,8 +34969,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_ai_adoption_summary_post** -> V2AssuranceAiAdoptionSummaryPostResponse v2_assurance_ai_adoption_summary_post(authorization, v2_assurance_ai_adoption_summary_post_request) +# **v2_aggregated_notification_get_state_get** +> V2AggregatedNotificationGetStateGetResponse v2_aggregated_notification_get_state_get(authorization) ### Example @@ -34659,8 +34978,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest -from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse +from graphiant_sdk.models.v2_aggregated_notification_get_state_get_response import V2AggregatedNotificationGetStateGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34686,14 +35004,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_ai_adoption_summary_post_request = graphiant_sdk.V2AssuranceAiAdoptionSummaryPostRequest() # V2AssuranceAiAdoptionSummaryPostRequest | try: - api_response = api_instance.v2_assurance_ai_adoption_summary_post(authorization, v2_assurance_ai_adoption_summary_post_request) - print("The response of DefaultApi->v2_assurance_ai_adoption_summary_post:\n") + api_response = api_instance.v2_aggregated_notification_get_state_get(authorization) + print("The response of DefaultApi->v2_aggregated_notification_get_state_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_ai_adoption_summary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_aggregated_notification_get_state_get: %s\n" % e) ``` @@ -34704,11 +35021,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_ai_adoption_summary_post_request** | [**V2AssuranceAiAdoptionSummaryPostRequest**](V2AssuranceAiAdoptionSummaryPostRequest.md)| | ### Return type -[**V2AssuranceAiAdoptionSummaryPostResponse**](V2AssuranceAiAdoptionSummaryPostResponse.md) +[**V2AggregatedNotificationGetStateGetResponse**](V2AggregatedNotificationGetStateGetResponse.md) ### Authorization @@ -34716,7 +35032,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -34727,8 +35043,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_applicationdetailsbyname_post** -> V2AssuranceApplicationdetailsbynamePostResponse v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) +# **v2_allowlist_by_enterprise_get** +> V2AllowlistByEnterpriseGetResponse v2_allowlist_by_enterprise_get(authorization) ### Example @@ -34736,8 +35052,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest -from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse +from graphiant_sdk.models.v2_allowlist_by_enterprise_get_response import V2AllowlistByEnterpriseGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34763,14 +35078,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_applicationdetailsbyname_post_request = graphiant_sdk.V2AssuranceApplicationdetailsbynamePostRequest() # V2AssuranceApplicationdetailsbynamePostRequest | try: - api_response = api_instance.v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) - print("The response of DefaultApi->v2_assurance_applicationdetailsbyname_post:\n") + api_response = api_instance.v2_allowlist_by_enterprise_get(authorization) + print("The response of DefaultApi->v2_allowlist_by_enterprise_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_applicationdetailsbyname_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_by_enterprise_get: %s\n" % e) ``` @@ -34781,11 +35095,86 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_applicationdetailsbyname_post_request** | [**V2AssuranceApplicationdetailsbynamePostRequest**](V2AssuranceApplicationdetailsbynamePostRequest.md)| | ### Return type -[**V2AssuranceApplicationdetailsbynamePostResponse**](V2AssuranceApplicationdetailsbynamePostResponse.md) +[**V2AllowlistByEnterpriseGetResponse**](V2AllowlistByEnterpriseGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_allowlist_create_post** +> object v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_allowlist_create_post_request import V2AllowlistCreatePostRequest +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_allowlist_create_post_request = graphiant_sdk.V2AllowlistCreatePostRequest() # V2AllowlistCreatePostRequest | + + try: + api_response = api_instance.v2_allowlist_create_post(authorization, v2_allowlist_create_post_request) + print("The response of DefaultApi->v2_allowlist_create_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_allowlist_create_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_allowlist_create_post_request** | [**V2AllowlistCreatePostRequest**](V2AllowlistCreatePostRequest.md)| | + +### Return type + +**object** ### Authorization @@ -34804,8 +35193,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_applicationprofilesummary_post** -> V2AssuranceApplicationprofilesummaryPostResponse v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) +# **v2_allowlist_deletebyalertid_alert_id_delete** +> object v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) ### Example @@ -34813,8 +35202,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest -from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_response import V2AssuranceApplicationprofilesummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34840,14 +35227,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_applicationprofilesummary_post_request = graphiant_sdk.V2AssuranceApplicationprofilesummaryPostRequest() # V2AssuranceApplicationprofilesummaryPostRequest | + alert_id = 'example string' # str | Alert id of the alert to delete allowlist/mutelist for try: - api_response = api_instance.v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) - print("The response of DefaultApi->v2_assurance_applicationprofilesummary_post:\n") + api_response = api_instance.v2_allowlist_deletebyalertid_alert_id_delete(authorization, alert_id) + print("The response of DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_applicationprofilesummary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_deletebyalertid_alert_id_delete: %s\n" % e) ``` @@ -34858,11 +35245,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_applicationprofilesummary_post_request** | [**V2AssuranceApplicationprofilesummaryPostRequest**](V2AssuranceApplicationprofilesummaryPostRequest.md)| | + **alert_id** | **str**| Alert id of the alert to delete allowlist/mutelist for | ### Return type -[**V2AssuranceApplicationprofilesummaryPostResponse**](V2AssuranceApplicationprofilesummaryPostResponse.md) +**object** ### Authorization @@ -34870,7 +35257,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -34881,8 +35268,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_bucket_app_servers_post** -> V2AssuranceBucketAppServersPostResponse v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) +# **v2_allowlist_deletebyentityid_entity_id_delete** +> object v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) ### Example @@ -34890,8 +35277,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_request import V2AssuranceBucketAppServersPostRequest -from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_response import V2AssuranceBucketAppServersPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34917,14 +35302,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_app_servers_post_request = graphiant_sdk.V2AssuranceBucketAppServersPostRequest() # V2AssuranceBucketAppServersPostRequest | + entity_id = 'example string' # str | Entity id of the alert to delete allowlist/mutelist for try: - api_response = api_instance.v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) - print("The response of DefaultApi->v2_assurance_bucket_app_servers_post:\n") + api_response = api_instance.v2_allowlist_deletebyentityid_entity_id_delete(authorization, entity_id) + print("The response of DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_app_servers_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_deletebyentityid_entity_id_delete: %s\n" % e) ``` @@ -34935,11 +35320,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_app_servers_post_request** | [**V2AssuranceBucketAppServersPostRequest**](V2AssuranceBucketAppServersPostRequest.md)| | + **entity_id** | **str**| Entity id of the alert to delete allowlist/mutelist for | ### Return type -[**V2AssuranceBucketAppServersPostResponse**](V2AssuranceBucketAppServersPostResponse.md) +**object** ### Authorization @@ -34947,7 +35332,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -34958,8 +35343,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_bucket_apps_post** -> V2AssuranceBucketAppsPostResponse v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) +# **v2_allowlist_rule_id_get** +> V2AllowlistRuleIdGetResponse v2_allowlist_rule_id_get(authorization, rule_id) ### Example @@ -34967,8 +35352,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_apps_post_request import V2AssuranceBucketAppsPostRequest -from graphiant_sdk.models.v2_assurance_bucket_apps_post_response import V2AssuranceBucketAppsPostResponse +from graphiant_sdk.models.v2_allowlist_rule_id_get_response import V2AllowlistRuleIdGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -34994,14 +35378,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_apps_post_request = graphiant_sdk.V2AssuranceBucketAppsPostRequest() # V2AssuranceBucketAppsPostRequest | + rule_id = 'example string' # str | Alert id of the alert to retrieve allowlist/mutelist for try: - api_response = api_instance.v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) - print("The response of DefaultApi->v2_assurance_bucket_apps_post:\n") + api_response = api_instance.v2_allowlist_rule_id_get(authorization, rule_id) + print("The response of DefaultApi->v2_allowlist_rule_id_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_apps_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_allowlist_rule_id_get: %s\n" % e) ``` @@ -35012,11 +35396,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_apps_post_request** | [**V2AssuranceBucketAppsPostRequest**](V2AssuranceBucketAppsPostRequest.md)| | + **rule_id** | **str**| Alert id of the alert to retrieve allowlist/mutelist for | ### Return type -[**V2AssuranceBucketAppsPostResponse**](V2AssuranceBucketAppsPostResponse.md) +[**V2AllowlistRuleIdGetResponse**](V2AllowlistRuleIdGetResponse.md) ### Authorization @@ -35024,7 +35408,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -35035,8 +35419,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_bucket_services_post** -> V2AssuranceBucketServicesPostResponse v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) +# **v2_assistant_add_to_conversation_post** +> V2AssistantAddToConversationPostResponse v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) ### Example @@ -35044,8 +35428,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_services_post_request import V2AssuranceBucketServicesPostRequest -from graphiant_sdk.models.v2_assurance_bucket_services_post_response import V2AssuranceBucketServicesPostResponse +from graphiant_sdk.models.v2_assistant_add_to_conversation_post_request import V2AssistantAddToConversationPostRequest +from graphiant_sdk.models.v2_assistant_add_to_conversation_post_response import V2AssistantAddToConversationPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35071,14 +35455,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_services_post_request = graphiant_sdk.V2AssuranceBucketServicesPostRequest() # V2AssuranceBucketServicesPostRequest | + v2_assistant_add_to_conversation_post_request = graphiant_sdk.V2AssistantAddToConversationPostRequest() # V2AssistantAddToConversationPostRequest | try: - api_response = api_instance.v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) - print("The response of DefaultApi->v2_assurance_bucket_services_post:\n") + api_response = api_instance.v2_assistant_add_to_conversation_post(authorization, v2_assistant_add_to_conversation_post_request) + print("The response of DefaultApi->v2_assistant_add_to_conversation_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_services_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_add_to_conversation_post: %s\n" % e) ``` @@ -35089,11 +35473,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_services_post_request** | [**V2AssuranceBucketServicesPostRequest**](V2AssuranceBucketServicesPostRequest.md)| | + **v2_assistant_add_to_conversation_post_request** | [**V2AssistantAddToConversationPostRequest**](V2AssistantAddToConversationPostRequest.md)| | ### Return type -[**V2AssuranceBucketServicesPostResponse**](V2AssuranceBucketServicesPostResponse.md) +[**V2AssistantAddToConversationPostResponse**](V2AssistantAddToConversationPostResponse.md) ### Authorization @@ -35112,8 +35496,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_bucket_topologies_post** -> V2AssuranceBucketTopologiesPostResponse v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) +# **v2_assistant_conversation_context_history_post** +> object v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) ### Example @@ -35121,8 +35505,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucket_topologies_post_request import V2AssuranceBucketTopologiesPostRequest -from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse +from graphiant_sdk.models.v2_assistant_conversation_context_history_post_request import V2AssistantConversationContextHistoryPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35148,14 +35531,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucket_topologies_post_request = graphiant_sdk.V2AssuranceBucketTopologiesPostRequest() # V2AssuranceBucketTopologiesPostRequest | + v2_assistant_conversation_context_history_post_request = graphiant_sdk.V2AssistantConversationContextHistoryPostRequest() # V2AssistantConversationContextHistoryPostRequest | try: - api_response = api_instance.v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) - print("The response of DefaultApi->v2_assurance_bucket_topologies_post:\n") + api_response = api_instance.v2_assistant_conversation_context_history_post(authorization, v2_assistant_conversation_context_history_post_request) + print("The response of DefaultApi->v2_assistant_conversation_context_history_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucket_topologies_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_conversation_context_history_post: %s\n" % e) ``` @@ -35166,11 +35549,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucket_topologies_post_request** | [**V2AssuranceBucketTopologiesPostRequest**](V2AssuranceBucketTopologiesPostRequest.md)| | + **v2_assistant_conversation_context_history_post_request** | [**V2AssistantConversationContextHistoryPostRequest**](V2AssistantConversationContextHistoryPostRequest.md)| | ### Return type -[**V2AssuranceBucketTopologiesPostResponse**](V2AssuranceBucketTopologiesPostResponse.md) +**object** ### Authorization @@ -35189,8 +35572,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_bucketdetails_post** -> V2AssuranceBucketdetailsPostResponse v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) +# **v2_assistant_conversation_interface_enable_disable_post** +> object v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) ### Example @@ -35198,8 +35581,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest -from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse +from graphiant_sdk.models.v2_assistant_conversation_interface_enable_disable_post_request import V2AssistantConversationInterfaceEnableDisablePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35225,14 +35607,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_bucketdetails_post_request = graphiant_sdk.V2AssuranceBucketdetailsPostRequest() # V2AssuranceBucketdetailsPostRequest | + v2_assistant_conversation_interface_enable_disable_post_request = graphiant_sdk.V2AssistantConversationInterfaceEnableDisablePostRequest() # V2AssistantConversationInterfaceEnableDisablePostRequest | try: - api_response = api_instance.v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) - print("The response of DefaultApi->v2_assurance_bucketdetails_post:\n") + api_response = api_instance.v2_assistant_conversation_interface_enable_disable_post(authorization, v2_assistant_conversation_interface_enable_disable_post_request) + print("The response of DefaultApi->v2_assistant_conversation_interface_enable_disable_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_bucketdetails_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_conversation_interface_enable_disable_post: %s\n" % e) ``` @@ -35243,11 +35625,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_bucketdetails_post_request** | [**V2AssuranceBucketdetailsPostRequest**](V2AssuranceBucketdetailsPostRequest.md)| | + **v2_assistant_conversation_interface_enable_disable_post_request** | [**V2AssistantConversationInterfaceEnableDisablePostRequest**](V2AssistantConversationInterfaceEnableDisablePostRequest.md)| | ### Return type -[**V2AssuranceBucketdetailsPostResponse**](V2AssuranceBucketdetailsPostResponse.md) +**object** ### Authorization @@ -35266,8 +35648,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_create_ai_adoption_approve_entry_post** -> V2AssuranceCreateAiAdoptionApproveEntryPostResponse v2_assurance_create_ai_adoption_approve_entry_post(authorization, v2_assurance_create_ai_adoption_approve_entry_post_request) +# **v2_assistant_conversation_interface_state_get** +> V2AssistantConversationInterfaceStateGetResponse v2_assistant_conversation_interface_state_get(authorization) ### Example @@ -35275,8 +35657,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest -from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse +from graphiant_sdk.models.v2_assistant_conversation_interface_state_get_response import V2AssistantConversationInterfaceStateGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35302,14 +35683,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_create_ai_adoption_approve_entry_post_request = graphiant_sdk.V2AssuranceCreateAiAdoptionApproveEntryPostRequest() # V2AssuranceCreateAiAdoptionApproveEntryPostRequest | try: - api_response = api_instance.v2_assurance_create_ai_adoption_approve_entry_post(authorization, v2_assurance_create_ai_adoption_approve_entry_post_request) - print("The response of DefaultApi->v2_assurance_create_ai_adoption_approve_entry_post:\n") + api_response = api_instance.v2_assistant_conversation_interface_state_get(authorization) + print("The response of DefaultApi->v2_assistant_conversation_interface_state_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_create_ai_adoption_approve_entry_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_conversation_interface_state_get: %s\n" % e) ``` @@ -35320,11 +35700,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_create_ai_adoption_approve_entry_post_request** | [**V2AssuranceCreateAiAdoptionApproveEntryPostRequest**](V2AssuranceCreateAiAdoptionApproveEntryPostRequest.md)| | ### Return type -[**V2AssuranceCreateAiAdoptionApproveEntryPostResponse**](V2AssuranceCreateAiAdoptionApproveEntryPostResponse.md) +[**V2AssistantConversationInterfaceStateGetResponse**](V2AssistantConversationInterfaceStateGetResponse.md) ### Authorization @@ -35332,7 +35711,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -35343,8 +35722,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_create_dnsproxy_entry_post** -> V2AssuranceCreateDnsproxyEntryPostResponse v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) +# **v2_assistant_delete_conversation_chat_conversation_id_delete** +> object v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) ### Example @@ -35352,8 +35731,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest -from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35379,14 +35756,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_create_dnsproxy_entry_post_request = graphiant_sdk.V2AssuranceCreateDnsproxyEntryPostRequest() # V2AssuranceCreateDnsproxyEntryPostRequest | + conversation_id = 'example string' # str | try: - api_response = api_instance.v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) - print("The response of DefaultApi->v2_assurance_create_dnsproxy_entry_post:\n") + api_response = api_instance.v2_assistant_delete_conversation_chat_conversation_id_delete(authorization, conversation_id) + print("The response of DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_create_dnsproxy_entry_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_delete_conversation_chat_conversation_id_delete: %s\n" % e) ``` @@ -35397,11 +35774,88 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_create_dnsproxy_entry_post_request** | [**V2AssuranceCreateDnsproxyEntryPostRequest**](V2AssuranceCreateDnsproxyEntryPostRequest.md)| | + **conversation_id** | **str**| | ### Return type -[**V2AssuranceCreateDnsproxyEntryPostResponse**](V2AssuranceCreateDnsproxyEntryPostResponse.md) +**object** + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_assistant_get_conversation_details_post** +> V2AssistantGetConversationDetailsPostResponse v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_assistant_get_conversation_details_post_request import V2AssistantGetConversationDetailsPostRequest +from graphiant_sdk.models.v2_assistant_get_conversation_details_post_response import V2AssistantGetConversationDetailsPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assistant_get_conversation_details_post_request = graphiant_sdk.V2AssistantGetConversationDetailsPostRequest() # V2AssistantGetConversationDetailsPostRequest | + + try: + api_response = api_instance.v2_assistant_get_conversation_details_post(authorization, v2_assistant_get_conversation_details_post_request) + print("The response of DefaultApi->v2_assistant_get_conversation_details_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_assistant_get_conversation_details_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assistant_get_conversation_details_post_request** | [**V2AssistantGetConversationDetailsPostRequest**](V2AssistantGetConversationDetailsPostRequest.md)| | + +### Return type + +[**V2AssistantGetConversationDetailsPostResponse**](V2AssistantGetConversationDetailsPostResponse.md) ### Authorization @@ -35420,8 +35874,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_create_user_report_post** -> V2AssuranceCreateUserReportPostResponse v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) +# **v2_assistant_get_conversations_post** +> V2AssistantGetConversationsPostResponse v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) ### Example @@ -35429,8 +35883,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest -from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse +from graphiant_sdk.models.v2_assistant_get_conversations_post_request import V2AssistantGetConversationsPostRequest +from graphiant_sdk.models.v2_assistant_get_conversations_post_response import V2AssistantGetConversationsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35456,14 +35910,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_create_user_report_post_request = graphiant_sdk.V2AssuranceCreateUserReportPostRequest() # V2AssuranceCreateUserReportPostRequest | + v2_assistant_get_conversations_post_request = graphiant_sdk.V2AssistantGetConversationsPostRequest() # V2AssistantGetConversationsPostRequest | try: - api_response = api_instance.v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) - print("The response of DefaultApi->v2_assurance_create_user_report_post:\n") + api_response = api_instance.v2_assistant_get_conversations_post(authorization, v2_assistant_get_conversations_post_request) + print("The response of DefaultApi->v2_assistant_get_conversations_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_create_user_report_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_get_conversations_post: %s\n" % e) ``` @@ -35474,11 +35928,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_create_user_report_post_request** | [**V2AssuranceCreateUserReportPostRequest**](V2AssuranceCreateUserReportPostRequest.md)| | + **v2_assistant_get_conversations_post_request** | [**V2AssistantGetConversationsPostRequest**](V2AssistantGetConversationsPostRequest.md)| | ### Return type -[**V2AssuranceCreateUserReportPostResponse**](V2AssuranceCreateUserReportPostResponse.md) +[**V2AssistantGetConversationsPostResponse**](V2AssistantGetConversationsPostResponse.md) ### Authorization @@ -35497,8 +35951,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_createclassifiedapplication_post** -> V2AssuranceCreateclassifiedapplicationPostResponse v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) +# **v2_assistant_update_conversation_name_post** +> object v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) ### Example @@ -35506,8 +35960,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest -from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_response import V2AssuranceCreateclassifiedapplicationPostResponse +from graphiant_sdk.models.v2_assistant_update_conversation_name_post_request import V2AssistantUpdateConversationNamePostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35533,14 +35986,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_createclassifiedapplication_post_request = graphiant_sdk.V2AssuranceCreateclassifiedapplicationPostRequest() # V2AssuranceCreateclassifiedapplicationPostRequest | + v2_assistant_update_conversation_name_post_request = graphiant_sdk.V2AssistantUpdateConversationNamePostRequest() # V2AssistantUpdateConversationNamePostRequest | try: - api_response = api_instance.v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) - print("The response of DefaultApi->v2_assurance_createclassifiedapplication_post:\n") + api_response = api_instance.v2_assistant_update_conversation_name_post(authorization, v2_assistant_update_conversation_name_post_request) + print("The response of DefaultApi->v2_assistant_update_conversation_name_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_createclassifiedapplication_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_update_conversation_name_post: %s\n" % e) ``` @@ -35551,11 +36004,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_createclassifiedapplication_post_request** | [**V2AssuranceCreateclassifiedapplicationPostRequest**](V2AssuranceCreateclassifiedapplicationPostRequest.md)| | + **v2_assistant_update_conversation_name_post_request** | [**V2AssistantUpdateConversationNamePostRequest**](V2AssistantUpdateConversationNamePostRequest.md)| | ### Return type -[**V2AssuranceCreateclassifiedapplicationPostResponse**](V2AssuranceCreateclassifiedapplicationPostResponse.md) +**object** ### Authorization @@ -35574,8 +36027,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_delete_ai_adoption_approve_entry_delete** -> object v2_assurance_delete_ai_adoption_approve_entry_delete(authorization, id_list) +# **v2_assistant_version_post** +> V2AssistantVersionPostResponse v2_assistant_version_post(authorization, body) ### Example @@ -35583,6 +36036,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assistant_version_post_response import V2AssistantVersionPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35608,14 +36062,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id_list = ['[\"example\"]'] # List[str] | list of approved app entry identifiers to delete + body = None # object | try: - api_response = api_instance.v2_assurance_delete_ai_adoption_approve_entry_delete(authorization, id_list) - print("The response of DefaultApi->v2_assurance_delete_ai_adoption_approve_entry_delete:\n") + api_response = api_instance.v2_assistant_version_post(authorization, body) + print("The response of DefaultApi->v2_assistant_version_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_delete_ai_adoption_approve_entry_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assistant_version_post: %s\n" % e) ``` @@ -35626,11 +36080,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id_list** | [**List[str]**](str.md)| list of approved app entry identifiers to delete | + **body** | **object**| | ### Return type -**object** +[**V2AssistantVersionPostResponse**](V2AssistantVersionPostResponse.md) ### Authorization @@ -35638,7 +36092,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -35649,8 +36103,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_delete_dnsproxy_entry_delete** -> object v2_assurance_delete_dnsproxy_entry_delete(authorization) +# **v2_assurance_ai_adoption_summary_post** +> V2AssuranceAiAdoptionSummaryPostResponse v2_assurance_ai_adoption_summary_post(authorization, v2_assurance_ai_adoption_summary_post_request) ### Example @@ -35658,6 +36112,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_request import V2AssuranceAiAdoptionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_ai_adoption_summary_post_response import V2AssuranceAiAdoptionSummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35683,13 +36139,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_ai_adoption_summary_post_request = graphiant_sdk.V2AssuranceAiAdoptionSummaryPostRequest() # V2AssuranceAiAdoptionSummaryPostRequest | try: - api_response = api_instance.v2_assurance_delete_dnsproxy_entry_delete(authorization) - print("The response of DefaultApi->v2_assurance_delete_dnsproxy_entry_delete:\n") + api_response = api_instance.v2_assurance_ai_adoption_summary_post(authorization, v2_assurance_ai_adoption_summary_post_request) + print("The response of DefaultApi->v2_assurance_ai_adoption_summary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_delete_dnsproxy_entry_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_ai_adoption_summary_post: %s\n" % e) ``` @@ -35700,10 +36157,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_ai_adoption_summary_post_request** | [**V2AssuranceAiAdoptionSummaryPostRequest**](V2AssuranceAiAdoptionSummaryPostRequest.md)| | ### Return type -**object** +[**V2AssuranceAiAdoptionSummaryPostResponse**](V2AssuranceAiAdoptionSummaryPostResponse.md) ### Authorization @@ -35711,7 +36169,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -35722,8 +36180,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_delete_user_report_delete** -> object v2_assurance_delete_user_report_delete(authorization, report_id=report_id) +# **v2_assurance_applicationdetailsbyname_post** +> V2AssuranceApplicationdetailsbynamePostResponse v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) ### Example @@ -35731,6 +36189,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_request import V2AssuranceApplicationdetailsbynamePostRequest +from graphiant_sdk.models.v2_assurance_applicationdetailsbyname_post_response import V2AssuranceApplicationdetailsbynamePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35756,14 +36216,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - report_id = 1234567891011 # int | (optional) + v2_assurance_applicationdetailsbyname_post_request = graphiant_sdk.V2AssuranceApplicationdetailsbynamePostRequest() # V2AssuranceApplicationdetailsbynamePostRequest | try: - api_response = api_instance.v2_assurance_delete_user_report_delete(authorization, report_id=report_id) - print("The response of DefaultApi->v2_assurance_delete_user_report_delete:\n") + api_response = api_instance.v2_assurance_applicationdetailsbyname_post(authorization, v2_assurance_applicationdetailsbyname_post_request) + print("The response of DefaultApi->v2_assurance_applicationdetailsbyname_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_delete_user_report_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_applicationdetailsbyname_post: %s\n" % e) ``` @@ -35774,11 +36234,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **report_id** | **int**| | [optional] + **v2_assurance_applicationdetailsbyname_post_request** | [**V2AssuranceApplicationdetailsbynamePostRequest**](V2AssuranceApplicationdetailsbynamePostRequest.md)| | ### Return type -**object** +[**V2AssuranceApplicationdetailsbynamePostResponse**](V2AssuranceApplicationdetailsbynamePostResponse.md) ### Authorization @@ -35786,7 +36246,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -35797,8 +36257,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_deleteclassifiedapplication_delete** -> object v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) +# **v2_assurance_applicationprofilesummary_post** +> V2AssuranceApplicationprofilesummaryPostResponse v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) ### Example @@ -35806,6 +36266,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_request import V2AssuranceApplicationprofilesummaryPostRequest +from graphiant_sdk.models.v2_assurance_applicationprofilesummary_post_response import V2AssuranceApplicationprofilesummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35831,14 +36293,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - classification_entry_id_list = ['[\"example\"]'] # List[str] | (optional) + v2_assurance_applicationprofilesummary_post_request = graphiant_sdk.V2AssuranceApplicationprofilesummaryPostRequest() # V2AssuranceApplicationprofilesummaryPostRequest | try: - api_response = api_instance.v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) - print("The response of DefaultApi->v2_assurance_deleteclassifiedapplication_delete:\n") + api_response = api_instance.v2_assurance_applicationprofilesummary_post(authorization, v2_assurance_applicationprofilesummary_post_request) + print("The response of DefaultApi->v2_assurance_applicationprofilesummary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_deleteclassifiedapplication_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_applicationprofilesummary_post: %s\n" % e) ``` @@ -35849,11 +36311,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **classification_entry_id_list** | [**List[str]**](str.md)| | [optional] + **v2_assurance_applicationprofilesummary_post_request** | [**V2AssuranceApplicationprofilesummaryPostRequest**](V2AssuranceApplicationprofilesummaryPostRequest.md)| | ### Return type -**object** +[**V2AssuranceApplicationprofilesummaryPostResponse**](V2AssuranceApplicationprofilesummaryPostResponse.md) ### Authorization @@ -35861,7 +36323,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -35872,8 +36334,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_download_user_report_get** -> V2AssuranceDownloadUserReportGetResponse v2_assurance_download_user_report_get(authorization) +# **v2_assurance_bucket_app_servers_post** +> V2AssuranceBucketAppServersPostResponse v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) ### Example @@ -35881,7 +36343,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse +from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_request import V2AssuranceBucketAppServersPostRequest +from graphiant_sdk.models.v2_assurance_bucket_app_servers_post_response import V2AssuranceBucketAppServersPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35907,13 +36370,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_bucket_app_servers_post_request = graphiant_sdk.V2AssuranceBucketAppServersPostRequest() # V2AssuranceBucketAppServersPostRequest | try: - api_response = api_instance.v2_assurance_download_user_report_get(authorization) - print("The response of DefaultApi->v2_assurance_download_user_report_get:\n") + api_response = api_instance.v2_assurance_bucket_app_servers_post(authorization, v2_assurance_bucket_app_servers_post_request) + print("The response of DefaultApi->v2_assurance_bucket_app_servers_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_download_user_report_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_app_servers_post: %s\n" % e) ``` @@ -35924,10 +36388,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_bucket_app_servers_post_request** | [**V2AssuranceBucketAppServersPostRequest**](V2AssuranceBucketAppServersPostRequest.md)| | ### Return type -[**V2AssuranceDownloadUserReportGetResponse**](V2AssuranceDownloadUserReportGetResponse.md) +[**V2AssuranceBucketAppServersPostResponse**](V2AssuranceBucketAppServersPostResponse.md) ### Authorization @@ -35935,7 +36400,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -35946,8 +36411,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_enterprisesummary_post** -> V2AssuranceEnterprisesummaryPostResponse v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) +# **v2_assurance_bucket_apps_post** +> V2AssuranceBucketAppsPostResponse v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) ### Example @@ -35955,8 +36420,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest -from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse +from graphiant_sdk.models.v2_assurance_bucket_apps_post_request import V2AssuranceBucketAppsPostRequest +from graphiant_sdk.models.v2_assurance_bucket_apps_post_response import V2AssuranceBucketAppsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -35982,14 +36447,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_enterprisesummary_post_request = graphiant_sdk.V2AssuranceEnterprisesummaryPostRequest() # V2AssuranceEnterprisesummaryPostRequest | + v2_assurance_bucket_apps_post_request = graphiant_sdk.V2AssuranceBucketAppsPostRequest() # V2AssuranceBucketAppsPostRequest | try: - api_response = api_instance.v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) - print("The response of DefaultApi->v2_assurance_enterprisesummary_post:\n") + api_response = api_instance.v2_assurance_bucket_apps_post(authorization, v2_assurance_bucket_apps_post_request) + print("The response of DefaultApi->v2_assurance_bucket_apps_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_enterprisesummary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_apps_post: %s\n" % e) ``` @@ -36000,11 +36465,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_enterprisesummary_post_request** | [**V2AssuranceEnterprisesummaryPostRequest**](V2AssuranceEnterprisesummaryPostRequest.md)| | + **v2_assurance_bucket_apps_post_request** | [**V2AssuranceBucketAppsPostRequest**](V2AssuranceBucketAppsPostRequest.md)| | ### Return type -[**V2AssuranceEnterprisesummaryPostResponse**](V2AssuranceEnterprisesummaryPostResponse.md) +[**V2AssuranceBucketAppsPostResponse**](V2AssuranceBucketAppsPostResponse.md) ### Authorization @@ -36023,8 +36488,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_get_app_names_post** -> V2AssuranceGetAppNamesPostResponse v2_assurance_get_app_names_post(authorization, v2_assurance_get_app_names_post_request) +# **v2_assurance_bucket_services_post** +> V2AssuranceBucketServicesPostResponse v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) ### Example @@ -36032,8 +36497,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest -from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse +from graphiant_sdk.models.v2_assurance_bucket_services_post_request import V2AssuranceBucketServicesPostRequest +from graphiant_sdk.models.v2_assurance_bucket_services_post_response import V2AssuranceBucketServicesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36059,14 +36524,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_get_app_names_post_request = graphiant_sdk.V2AssuranceGetAppNamesPostRequest() # V2AssuranceGetAppNamesPostRequest | + v2_assurance_bucket_services_post_request = graphiant_sdk.V2AssuranceBucketServicesPostRequest() # V2AssuranceBucketServicesPostRequest | try: - api_response = api_instance.v2_assurance_get_app_names_post(authorization, v2_assurance_get_app_names_post_request) - print("The response of DefaultApi->v2_assurance_get_app_names_post:\n") + api_response = api_instance.v2_assurance_bucket_services_post(authorization, v2_assurance_bucket_services_post_request) + print("The response of DefaultApi->v2_assurance_bucket_services_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_get_app_names_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_services_post: %s\n" % e) ``` @@ -36077,11 +36542,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_get_app_names_post_request** | [**V2AssuranceGetAppNamesPostRequest**](V2AssuranceGetAppNamesPostRequest.md)| | + **v2_assurance_bucket_services_post_request** | [**V2AssuranceBucketServicesPostRequest**](V2AssuranceBucketServicesPostRequest.md)| | ### Return type -[**V2AssuranceGetAppNamesPostResponse**](V2AssuranceGetAppNamesPostResponse.md) +[**V2AssuranceBucketServicesPostResponse**](V2AssuranceBucketServicesPostResponse.md) ### Authorization @@ -36100,8 +36565,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_getclassifiedapplicationlist_get** -> V2AssuranceGetclassifiedapplicationlistGetResponse v2_assurance_getclassifiedapplicationlist_get(authorization) +# **v2_assurance_bucket_topologies_post** +> V2AssuranceBucketTopologiesPostResponse v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) ### Example @@ -36109,7 +36574,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse +from graphiant_sdk.models.v2_assurance_bucket_topologies_post_request import V2AssuranceBucketTopologiesPostRequest +from graphiant_sdk.models.v2_assurance_bucket_topologies_post_response import V2AssuranceBucketTopologiesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36135,13 +36601,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_bucket_topologies_post_request = graphiant_sdk.V2AssuranceBucketTopologiesPostRequest() # V2AssuranceBucketTopologiesPostRequest | try: - api_response = api_instance.v2_assurance_getclassifiedapplicationlist_get(authorization) - print("The response of DefaultApi->v2_assurance_getclassifiedapplicationlist_get:\n") + api_response = api_instance.v2_assurance_bucket_topologies_post(authorization, v2_assurance_bucket_topologies_post_request) + print("The response of DefaultApi->v2_assurance_bucket_topologies_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_getclassifiedapplicationlist_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucket_topologies_post: %s\n" % e) ``` @@ -36152,10 +36619,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_bucket_topologies_post_request** | [**V2AssuranceBucketTopologiesPostRequest**](V2AssuranceBucketTopologiesPostRequest.md)| | ### Return type -[**V2AssuranceGetclassifiedapplicationlistGetResponse**](V2AssuranceGetclassifiedapplicationlistGetResponse.md) +[**V2AssuranceBucketTopologiesPostResponse**](V2AssuranceBucketTopologiesPostResponse.md) ### Authorization @@ -36163,7 +36631,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -36174,8 +36642,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_read_ai_adoption_approve_entries_get** -> V2AssuranceReadAiAdoptionApproveEntriesGetResponse v2_assurance_read_ai_adoption_approve_entries_get(authorization) +# **v2_assurance_bucketdetails_post** +> V2AssuranceBucketdetailsPostResponse v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) ### Example @@ -36183,7 +36651,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse +from graphiant_sdk.models.v2_assurance_bucketdetails_post_request import V2AssuranceBucketdetailsPostRequest +from graphiant_sdk.models.v2_assurance_bucketdetails_post_response import V2AssuranceBucketdetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36209,13 +36678,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_bucketdetails_post_request = graphiant_sdk.V2AssuranceBucketdetailsPostRequest() # V2AssuranceBucketdetailsPostRequest | try: - api_response = api_instance.v2_assurance_read_ai_adoption_approve_entries_get(authorization) - print("The response of DefaultApi->v2_assurance_read_ai_adoption_approve_entries_get:\n") + api_response = api_instance.v2_assurance_bucketdetails_post(authorization, v2_assurance_bucketdetails_post_request) + print("The response of DefaultApi->v2_assurance_bucketdetails_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_read_ai_adoption_approve_entries_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_bucketdetails_post: %s\n" % e) ``` @@ -36226,10 +36696,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_bucketdetails_post_request** | [**V2AssuranceBucketdetailsPostRequest**](V2AssuranceBucketdetailsPostRequest.md)| | ### Return type -[**V2AssuranceReadAiAdoptionApproveEntriesGetResponse**](V2AssuranceReadAiAdoptionApproveEntriesGetResponse.md) +[**V2AssuranceBucketdetailsPostResponse**](V2AssuranceBucketdetailsPostResponse.md) ### Authorization @@ -36237,7 +36708,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -36248,8 +36719,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_read_dnsproxy_list_get** -> V2AssuranceReadDnsproxyListGetResponse v2_assurance_read_dnsproxy_list_get(authorization) +# **v2_assurance_create_ai_adoption_approve_entry_post** +> V2AssuranceCreateAiAdoptionApproveEntryPostResponse v2_assurance_create_ai_adoption_approve_entry_post(authorization, v2_assurance_create_ai_adoption_approve_entry_post_request) ### Example @@ -36257,7 +36728,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_request import V2AssuranceCreateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_ai_adoption_approve_entry_post_response import V2AssuranceCreateAiAdoptionApproveEntryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36283,13 +36755,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_create_ai_adoption_approve_entry_post_request = graphiant_sdk.V2AssuranceCreateAiAdoptionApproveEntryPostRequest() # V2AssuranceCreateAiAdoptionApproveEntryPostRequest | try: - api_response = api_instance.v2_assurance_read_dnsproxy_list_get(authorization) - print("The response of DefaultApi->v2_assurance_read_dnsproxy_list_get:\n") + api_response = api_instance.v2_assurance_create_ai_adoption_approve_entry_post(authorization, v2_assurance_create_ai_adoption_approve_entry_post_request) + print("The response of DefaultApi->v2_assurance_create_ai_adoption_approve_entry_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_read_dnsproxy_list_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_create_ai_adoption_approve_entry_post: %s\n" % e) ``` @@ -36300,10 +36773,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_create_ai_adoption_approve_entry_post_request** | [**V2AssuranceCreateAiAdoptionApproveEntryPostRequest**](V2AssuranceCreateAiAdoptionApproveEntryPostRequest.md)| | ### Return type -[**V2AssuranceReadDnsproxyListGetResponse**](V2AssuranceReadDnsproxyListGetResponse.md) +[**V2AssuranceCreateAiAdoptionApproveEntryPostResponse**](V2AssuranceCreateAiAdoptionApproveEntryPostResponse.md) ### Authorization @@ -36311,7 +36785,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -36322,8 +36796,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_read_user_report_list_get** -> V2AssuranceReadUserReportListGetResponse v2_assurance_read_user_report_list_get(authorization) +# **v2_assurance_create_dnsproxy_entry_post** +> V2AssuranceCreateDnsproxyEntryPostResponse v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) ### Example @@ -36331,7 +36805,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse +from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_request import V2AssuranceCreateDnsproxyEntryPostRequest +from graphiant_sdk.models.v2_assurance_create_dnsproxy_entry_post_response import V2AssuranceCreateDnsproxyEntryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36357,13 +36832,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_assurance_create_dnsproxy_entry_post_request = graphiant_sdk.V2AssuranceCreateDnsproxyEntryPostRequest() # V2AssuranceCreateDnsproxyEntryPostRequest | try: - api_response = api_instance.v2_assurance_read_user_report_list_get(authorization) - print("The response of DefaultApi->v2_assurance_read_user_report_list_get:\n") + api_response = api_instance.v2_assurance_create_dnsproxy_entry_post(authorization, v2_assurance_create_dnsproxy_entry_post_request) + print("The response of DefaultApi->v2_assurance_create_dnsproxy_entry_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_read_user_report_list_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_create_dnsproxy_entry_post: %s\n" % e) ``` @@ -36374,10 +36850,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_assurance_create_dnsproxy_entry_post_request** | [**V2AssuranceCreateDnsproxyEntryPostRequest**](V2AssuranceCreateDnsproxyEntryPostRequest.md)| | ### Return type -[**V2AssuranceReadUserReportListGetResponse**](V2AssuranceReadUserReportListGetResponse.md) +[**V2AssuranceCreateDnsproxyEntryPostResponse**](V2AssuranceCreateDnsproxyEntryPostResponse.md) ### Authorization @@ -36385,7 +36862,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -36396,8 +36873,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_scoredetails_post** -> V2AssuranceScoredetailsPostResponse v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) +# **v2_assurance_create_user_report_post** +> V2AssuranceCreateUserReportPostResponse v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) ### Example @@ -36405,8 +36882,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest -from graphiant_sdk.models.v2_assurance_scoredetails_post_response import V2AssuranceScoredetailsPostResponse +from graphiant_sdk.models.v2_assurance_create_user_report_post_request import V2AssuranceCreateUserReportPostRequest +from graphiant_sdk.models.v2_assurance_create_user_report_post_response import V2AssuranceCreateUserReportPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36432,14 +36909,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_scoredetails_post_request = graphiant_sdk.V2AssuranceScoredetailsPostRequest() # V2AssuranceScoredetailsPostRequest | + v2_assurance_create_user_report_post_request = graphiant_sdk.V2AssuranceCreateUserReportPostRequest() # V2AssuranceCreateUserReportPostRequest | try: - api_response = api_instance.v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) - print("The response of DefaultApi->v2_assurance_scoredetails_post:\n") + api_response = api_instance.v2_assurance_create_user_report_post(authorization, v2_assurance_create_user_report_post_request) + print("The response of DefaultApi->v2_assurance_create_user_report_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_scoredetails_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_create_user_report_post: %s\n" % e) ``` @@ -36450,11 +36927,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_scoredetails_post_request** | [**V2AssuranceScoredetailsPostRequest**](V2AssuranceScoredetailsPostRequest.md)| | + **v2_assurance_create_user_report_post_request** | [**V2AssuranceCreateUserReportPostRequest**](V2AssuranceCreateUserReportPostRequest.md)| | ### Return type -[**V2AssuranceScoredetailsPostResponse**](V2AssuranceScoredetailsPostResponse.md) +[**V2AssuranceCreateUserReportPostResponse**](V2AssuranceCreateUserReportPostResponse.md) ### Authorization @@ -36473,8 +36950,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_client_session_details_post** -> V2AssuranceTopologyClientSessionDetailsPostResponse v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) +# **v2_assurance_createclassifiedapplication_post** +> V2AssuranceCreateclassifiedapplicationPostResponse v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) ### Example @@ -36482,8 +36959,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_request import V2AssuranceTopologyClientSessionDetailsPostRequest -from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_response import V2AssuranceTopologyClientSessionDetailsPostResponse +from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_request import V2AssuranceCreateclassifiedapplicationPostRequest +from graphiant_sdk.models.v2_assurance_createclassifiedapplication_post_response import V2AssuranceCreateclassifiedapplicationPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36509,14 +36986,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_client_session_details_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionDetailsPostRequest() # V2AssuranceTopologyClientSessionDetailsPostRequest | + v2_assurance_createclassifiedapplication_post_request = graphiant_sdk.V2AssuranceCreateclassifiedapplicationPostRequest() # V2AssuranceCreateclassifiedapplicationPostRequest | try: - api_response = api_instance.v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) - print("The response of DefaultApi->v2_assurance_topology_client_session_details_post:\n") + api_response = api_instance.v2_assurance_createclassifiedapplication_post(authorization, v2_assurance_createclassifiedapplication_post_request) + print("The response of DefaultApi->v2_assurance_createclassifiedapplication_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_client_session_details_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_createclassifiedapplication_post: %s\n" % e) ``` @@ -36527,11 +37004,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_client_session_details_post_request** | [**V2AssuranceTopologyClientSessionDetailsPostRequest**](V2AssuranceTopologyClientSessionDetailsPostRequest.md)| | + **v2_assurance_createclassifiedapplication_post_request** | [**V2AssuranceCreateclassifiedapplicationPostRequest**](V2AssuranceCreateclassifiedapplicationPostRequest.md)| | ### Return type -[**V2AssuranceTopologyClientSessionDetailsPostResponse**](V2AssuranceTopologyClientSessionDetailsPostResponse.md) +[**V2AssuranceCreateclassifiedapplicationPostResponse**](V2AssuranceCreateclassifiedapplicationPostResponse.md) ### Authorization @@ -36550,8 +37027,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_client_sessions_post** -> V2AssuranceTopologyClientSessionsPostResponse v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) +# **v2_assurance_delete_ai_adoption_approve_entry_delete** +> object v2_assurance_delete_ai_adoption_approve_entry_delete(authorization, id_list) ### Example @@ -36559,8 +37036,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_request import V2AssuranceTopologyClientSessionsPostRequest -from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_response import V2AssuranceTopologyClientSessionsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36586,14 +37061,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_client_sessions_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionsPostRequest() # V2AssuranceTopologyClientSessionsPostRequest | + id_list = ['[\"example\"]'] # List[str] | list of approved app entry identifiers to delete try: - api_response = api_instance.v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) - print("The response of DefaultApi->v2_assurance_topology_client_sessions_post:\n") + api_response = api_instance.v2_assurance_delete_ai_adoption_approve_entry_delete(authorization, id_list) + print("The response of DefaultApi->v2_assurance_delete_ai_adoption_approve_entry_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_client_sessions_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_delete_ai_adoption_approve_entry_delete: %s\n" % e) ``` @@ -36604,11 +37079,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_client_sessions_post_request** | [**V2AssuranceTopologyClientSessionsPostRequest**](V2AssuranceTopologyClientSessionsPostRequest.md)| | + **id_list** | [**List[str]**](str.md)| list of approved app entry identifiers to delete | ### Return type -[**V2AssuranceTopologyClientSessionsPostResponse**](V2AssuranceTopologyClientSessionsPostResponse.md) +**object** ### Authorization @@ -36616,7 +37091,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -36627,8 +37102,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_client_summaries_post** -> V2AssuranceTopologyClientSummariesPostResponse v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) +# **v2_assurance_delete_dnsproxy_entry_delete** +> object v2_assurance_delete_dnsproxy_entry_delete(authorization) ### Example @@ -36636,8 +37111,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_request import V2AssuranceTopologyClientSummariesPostRequest -from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_response import V2AssuranceTopologyClientSummariesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36663,14 +37136,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_client_summaries_post_request = graphiant_sdk.V2AssuranceTopologyClientSummariesPostRequest() # V2AssuranceTopologyClientSummariesPostRequest | try: - api_response = api_instance.v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) - print("The response of DefaultApi->v2_assurance_topology_client_summaries_post:\n") + api_response = api_instance.v2_assurance_delete_dnsproxy_entry_delete(authorization) + print("The response of DefaultApi->v2_assurance_delete_dnsproxy_entry_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_client_summaries_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_delete_dnsproxy_entry_delete: %s\n" % e) ``` @@ -36681,11 +37153,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_client_summaries_post_request** | [**V2AssuranceTopologyClientSummariesPostRequest**](V2AssuranceTopologyClientSummariesPostRequest.md)| | ### Return type -[**V2AssuranceTopologyClientSummariesPostResponse**](V2AssuranceTopologyClientSummariesPostResponse.md) +**object** ### Authorization @@ -36693,7 +37164,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -36704,8 +37175,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_inventory_post** -> V2AssuranceTopologyInventoryPostResponse v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) +# **v2_assurance_delete_user_report_delete** +> object v2_assurance_delete_user_report_delete(authorization, report_id=report_id) ### Example @@ -36713,8 +37184,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_inventory_post_request import V2AssuranceTopologyInventoryPostRequest -from graphiant_sdk.models.v2_assurance_topology_inventory_post_response import V2AssuranceTopologyInventoryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36740,14 +37209,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_inventory_post_request = graphiant_sdk.V2AssuranceTopologyInventoryPostRequest() # V2AssuranceTopologyInventoryPostRequest | + report_id = 1234567891011 # int | (optional) try: - api_response = api_instance.v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) - print("The response of DefaultApi->v2_assurance_topology_inventory_post:\n") + api_response = api_instance.v2_assurance_delete_user_report_delete(authorization, report_id=report_id) + print("The response of DefaultApi->v2_assurance_delete_user_report_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_inventory_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_delete_user_report_delete: %s\n" % e) ``` @@ -36758,11 +37227,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_inventory_post_request** | [**V2AssuranceTopologyInventoryPostRequest**](V2AssuranceTopologyInventoryPostRequest.md)| | + **report_id** | **int**| | [optional] ### Return type -[**V2AssuranceTopologyInventoryPostResponse**](V2AssuranceTopologyInventoryPostResponse.md) +**object** ### Authorization @@ -36770,7 +37239,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -36781,8 +37250,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_overview_post** -> V2AssuranceTopologyOverviewPostResponse v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) +# **v2_assurance_deleteclassifiedapplication_delete** +> object v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) ### Example @@ -36790,8 +37259,6 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_overview_post_request import V2AssuranceTopologyOverviewPostRequest -from graphiant_sdk.models.v2_assurance_topology_overview_post_response import V2AssuranceTopologyOverviewPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36817,14 +37284,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_overview_post_request = graphiant_sdk.V2AssuranceTopologyOverviewPostRequest() # V2AssuranceTopologyOverviewPostRequest | + classification_entry_id_list = ['[\"example\"]'] # List[str] | (optional) try: - api_response = api_instance.v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) - print("The response of DefaultApi->v2_assurance_topology_overview_post:\n") + api_response = api_instance.v2_assurance_deleteclassifiedapplication_delete(authorization, classification_entry_id_list=classification_entry_id_list) + print("The response of DefaultApi->v2_assurance_deleteclassifiedapplication_delete:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_overview_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_deleteclassifiedapplication_delete: %s\n" % e) ``` @@ -36835,11 +37302,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_overview_post_request** | [**V2AssuranceTopologyOverviewPostRequest**](V2AssuranceTopologyOverviewPostRequest.md)| | + **classification_entry_id_list** | [**List[str]**](str.md)| | [optional] ### Return type -[**V2AssuranceTopologyOverviewPostResponse**](V2AssuranceTopologyOverviewPostResponse.md) +**object** ### Authorization @@ -36847,7 +37314,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -36858,8 +37325,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_region_summary_post** -> V2AssuranceTopologyRegionSummaryPostResponse v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) +# **v2_assurance_download_user_report_get** +> V2AssuranceDownloadUserReportGetResponse v2_assurance_download_user_report_get(authorization) ### Example @@ -36867,8 +37334,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_region_summary_post_request import V2AssuranceTopologyRegionSummaryPostRequest -from graphiant_sdk.models.v2_assurance_topology_region_summary_post_response import V2AssuranceTopologyRegionSummaryPostResponse +from graphiant_sdk.models.v2_assurance_download_user_report_get_response import V2AssuranceDownloadUserReportGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36894,14 +37360,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_region_summary_post_request = graphiant_sdk.V2AssuranceTopologyRegionSummaryPostRequest() # V2AssuranceTopologyRegionSummaryPostRequest | try: - api_response = api_instance.v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) - print("The response of DefaultApi->v2_assurance_topology_region_summary_post:\n") + api_response = api_instance.v2_assurance_download_user_report_get(authorization) + print("The response of DefaultApi->v2_assurance_download_user_report_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_region_summary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_download_user_report_get: %s\n" % e) ``` @@ -36912,11 +37377,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_region_summary_post_request** | [**V2AssuranceTopologyRegionSummaryPostRequest**](V2AssuranceTopologyRegionSummaryPostRequest.md)| | ### Return type -[**V2AssuranceTopologyRegionSummaryPostResponse**](V2AssuranceTopologyRegionSummaryPostResponse.md) +[**V2AssuranceDownloadUserReportGetResponse**](V2AssuranceDownloadUserReportGetResponse.md) ### Authorization @@ -36924,7 +37388,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -36935,8 +37399,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_topology_site_summaries_post** -> V2AssuranceTopologySiteSummariesPostResponse v2_assurance_topology_site_summaries_post(authorization, v2_assurance_topology_site_summaries_post_request) +# **v2_assurance_enterprisesummary_post** +> V2AssuranceEnterprisesummaryPostResponse v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) ### Example @@ -36944,8 +37408,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_request import V2AssuranceTopologySiteSummariesPostRequest -from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response import V2AssuranceTopologySiteSummariesPostResponse +from graphiant_sdk.models.v2_assurance_enterprisesummary_post_request import V2AssuranceEnterprisesummaryPostRequest +from graphiant_sdk.models.v2_assurance_enterprisesummary_post_response import V2AssuranceEnterprisesummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -36971,14 +37435,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_topology_site_summaries_post_request = graphiant_sdk.V2AssuranceTopologySiteSummariesPostRequest() # V2AssuranceTopologySiteSummariesPostRequest | + v2_assurance_enterprisesummary_post_request = graphiant_sdk.V2AssuranceEnterprisesummaryPostRequest() # V2AssuranceEnterprisesummaryPostRequest | try: - api_response = api_instance.v2_assurance_topology_site_summaries_post(authorization, v2_assurance_topology_site_summaries_post_request) - print("The response of DefaultApi->v2_assurance_topology_site_summaries_post:\n") + api_response = api_instance.v2_assurance_enterprisesummary_post(authorization, v2_assurance_enterprisesummary_post_request) + print("The response of DefaultApi->v2_assurance_enterprisesummary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_topology_site_summaries_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_enterprisesummary_post: %s\n" % e) ``` @@ -36989,11 +37453,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_topology_site_summaries_post_request** | [**V2AssuranceTopologySiteSummariesPostRequest**](V2AssuranceTopologySiteSummariesPostRequest.md)| | + **v2_assurance_enterprisesummary_post_request** | [**V2AssuranceEnterprisesummaryPostRequest**](V2AssuranceEnterprisesummaryPostRequest.md)| | ### Return type -[**V2AssuranceTopologySiteSummariesPostResponse**](V2AssuranceTopologySiteSummariesPostResponse.md) +[**V2AssuranceEnterprisesummaryPostResponse**](V2AssuranceEnterprisesummaryPostResponse.md) ### Authorization @@ -37012,8 +37476,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_unclassifiedapplicationprofilesummary_post** -> V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse v2_assurance_unclassifiedapplicationprofilesummary_post(authorization, v2_assurance_unclassifiedapplicationprofilesummary_post_request) +# **v2_assurance_get_app_names_post** +> V2AssuranceGetAppNamesPostResponse v2_assurance_get_app_names_post(authorization, v2_assurance_get_app_names_post_request) ### Example @@ -37021,8 +37485,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_request import V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest -from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_response import V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse +from graphiant_sdk.models.v2_assurance_get_app_names_post_request import V2AssuranceGetAppNamesPostRequest +from graphiant_sdk.models.v2_assurance_get_app_names_post_response import V2AssuranceGetAppNamesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37048,14 +37512,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_unclassifiedapplicationprofilesummary_post_request = graphiant_sdk.V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest() # V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest | + v2_assurance_get_app_names_post_request = graphiant_sdk.V2AssuranceGetAppNamesPostRequest() # V2AssuranceGetAppNamesPostRequest | try: - api_response = api_instance.v2_assurance_unclassifiedapplicationprofilesummary_post(authorization, v2_assurance_unclassifiedapplicationprofilesummary_post_request) - print("The response of DefaultApi->v2_assurance_unclassifiedapplicationprofilesummary_post:\n") + api_response = api_instance.v2_assurance_get_app_names_post(authorization, v2_assurance_get_app_names_post_request) + print("The response of DefaultApi->v2_assurance_get_app_names_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_unclassifiedapplicationprofilesummary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_get_app_names_post: %s\n" % e) ``` @@ -37066,11 +37530,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_unclassifiedapplicationprofilesummary_post_request** | [**V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest**](V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest.md)| | + **v2_assurance_get_app_names_post_request** | [**V2AssuranceGetAppNamesPostRequest**](V2AssuranceGetAppNamesPostRequest.md)| | ### Return type -[**V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse**](V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse.md) +[**V2AssuranceGetAppNamesPostResponse**](V2AssuranceGetAppNamesPostResponse.md) ### Authorization @@ -37089,8 +37553,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_update_ai_adoption_approve_entry_post** -> object v2_assurance_update_ai_adoption_approve_entry_post(authorization, v2_assurance_update_ai_adoption_approve_entry_post_request) +# **v2_assurance_getclassifiedapplicationlist_get** +> V2AssuranceGetclassifiedapplicationlistGetResponse v2_assurance_getclassifiedapplicationlist_get(authorization) ### Example @@ -37098,7 +37562,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest +from graphiant_sdk.models.v2_assurance_getclassifiedapplicationlist_get_response import V2AssuranceGetclassifiedapplicationlistGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37124,14 +37588,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_update_ai_adoption_approve_entry_post_request = graphiant_sdk.V2AssuranceUpdateAiAdoptionApproveEntryPostRequest() # V2AssuranceUpdateAiAdoptionApproveEntryPostRequest | try: - api_response = api_instance.v2_assurance_update_ai_adoption_approve_entry_post(authorization, v2_assurance_update_ai_adoption_approve_entry_post_request) - print("The response of DefaultApi->v2_assurance_update_ai_adoption_approve_entry_post:\n") + api_response = api_instance.v2_assurance_getclassifiedapplicationlist_get(authorization) + print("The response of DefaultApi->v2_assurance_getclassifiedapplicationlist_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_update_ai_adoption_approve_entry_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_getclassifiedapplicationlist_get: %s\n" % e) ``` @@ -37142,11 +37605,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_update_ai_adoption_approve_entry_post_request** | [**V2AssuranceUpdateAiAdoptionApproveEntryPostRequest**](V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.md)| | ### Return type -**object** +[**V2AssuranceGetclassifiedapplicationlistGetResponse**](V2AssuranceGetclassifiedapplicationlistGetResponse.md) ### Authorization @@ -37154,7 +37616,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -37165,8 +37627,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_update_dnsproxy_entry_post** -> object v2_assurance_update_dnsproxy_entry_post(authorization, v2_assurance_update_dnsproxy_entry_post_request) +# **v2_assurance_read_ai_adoption_approve_entries_get** +> V2AssuranceReadAiAdoptionApproveEntriesGetResponse v2_assurance_read_ai_adoption_approve_entries_get(authorization) ### Example @@ -37174,7 +37636,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_update_dnsproxy_entry_post_request import V2AssuranceUpdateDnsproxyEntryPostRequest +from graphiant_sdk.models.v2_assurance_read_ai_adoption_approve_entries_get_response import V2AssuranceReadAiAdoptionApproveEntriesGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37200,14 +37662,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_update_dnsproxy_entry_post_request = graphiant_sdk.V2AssuranceUpdateDnsproxyEntryPostRequest() # V2AssuranceUpdateDnsproxyEntryPostRequest | try: - api_response = api_instance.v2_assurance_update_dnsproxy_entry_post(authorization, v2_assurance_update_dnsproxy_entry_post_request) - print("The response of DefaultApi->v2_assurance_update_dnsproxy_entry_post:\n") + api_response = api_instance.v2_assurance_read_ai_adoption_approve_entries_get(authorization) + print("The response of DefaultApi->v2_assurance_read_ai_adoption_approve_entries_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_update_dnsproxy_entry_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_read_ai_adoption_approve_entries_get: %s\n" % e) ``` @@ -37218,11 +37679,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_update_dnsproxy_entry_post_request** | [**V2AssuranceUpdateDnsproxyEntryPostRequest**](V2AssuranceUpdateDnsproxyEntryPostRequest.md)| | ### Return type -**object** +[**V2AssuranceReadAiAdoptionApproveEntriesGetResponse**](V2AssuranceReadAiAdoptionApproveEntriesGetResponse.md) ### Authorization @@ -37230,7 +37690,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -37241,8 +37701,8 @@ Name | Type | Description | Notes [[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) -# **v2_assurance_updateclassifiedapplication_post** -> object v2_assurance_updateclassifiedapplication_post(authorization, v2_assurance_updateclassifiedapplication_post_request) +# **v2_assurance_read_dnsproxy_list_get** +> V2AssuranceReadDnsproxyListGetResponse v2_assurance_read_dnsproxy_list_get(authorization) ### Example @@ -37250,7 +37710,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_assurance_updateclassifiedapplication_post_request import V2AssuranceUpdateclassifiedapplicationPostRequest +from graphiant_sdk.models.v2_assurance_read_dnsproxy_list_get_response import V2AssuranceReadDnsproxyListGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37276,14 +37736,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_assurance_updateclassifiedapplication_post_request = graphiant_sdk.V2AssuranceUpdateclassifiedapplicationPostRequest() # V2AssuranceUpdateclassifiedapplicationPostRequest | try: - api_response = api_instance.v2_assurance_updateclassifiedapplication_post(authorization, v2_assurance_updateclassifiedapplication_post_request) - print("The response of DefaultApi->v2_assurance_updateclassifiedapplication_post:\n") + api_response = api_instance.v2_assurance_read_dnsproxy_list_get(authorization) + print("The response of DefaultApi->v2_assurance_read_dnsproxy_list_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_assurance_updateclassifiedapplication_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_read_dnsproxy_list_get: %s\n" % e) ``` @@ -37294,11 +37753,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_assurance_updateclassifiedapplication_post_request** | [**V2AssuranceUpdateclassifiedapplicationPostRequest**](V2AssuranceUpdateclassifiedapplicationPostRequest.md)| | ### Return type -**object** +[**V2AssuranceReadDnsproxyListGetResponse**](V2AssuranceReadDnsproxyListGetResponse.md) ### Authorization @@ -37306,7 +37764,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -37317,8 +37775,8 @@ Name | Type | Description | Notes [[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) -# **v2_audit_logs_post** -> V2AuditLogsPostResponse v2_audit_logs_post(authorization, v2_audit_logs_post_request) +# **v2_assurance_read_user_report_list_get** +> V2AssuranceReadUserReportListGetResponse v2_assurance_read_user_report_list_get(authorization) ### Example @@ -37326,8 +37784,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_audit_logs_post_request import V2AuditLogsPostRequest -from graphiant_sdk.models.v2_audit_logs_post_response import V2AuditLogsPostResponse +from graphiant_sdk.models.v2_assurance_read_user_report_list_get_response import V2AssuranceReadUserReportListGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37353,14 +37810,13 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_audit_logs_post_request = graphiant_sdk.V2AuditLogsPostRequest() # V2AuditLogsPostRequest | try: - api_response = api_instance.v2_audit_logs_post(authorization, v2_audit_logs_post_request) - print("The response of DefaultApi->v2_audit_logs_post:\n") + api_response = api_instance.v2_assurance_read_user_report_list_get(authorization) + print("The response of DefaultApi->v2_assurance_read_user_report_list_get:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_audit_logs_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_read_user_report_list_get: %s\n" % e) ``` @@ -37371,11 +37827,10 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_audit_logs_post_request** | [**V2AuditLogsPostRequest**](V2AuditLogsPostRequest.md)| | ### Return type -[**V2AuditLogsPostResponse**](V2AuditLogsPostResponse.md) +[**V2AssuranceReadUserReportListGetResponse**](V2AssuranceReadUserReportListGetResponse.md) ### Authorization @@ -37383,7 +37838,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details @@ -37394,8 +37849,8 @@ Name | Type | Description | Notes [[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) -# **v2_childalertlist_post** -> V2ChildalertlistPostResponse v2_childalertlist_post(authorization, v2_childalertlist_post_request) +# **v2_assurance_scoredetails_post** +> V2AssuranceScoredetailsPostResponse v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) ### Example @@ -37403,8 +37858,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_childalertlist_post_request import V2ChildalertlistPostRequest -from graphiant_sdk.models.v2_childalertlist_post_response import V2ChildalertlistPostResponse +from graphiant_sdk.models.v2_assurance_scoredetails_post_request import V2AssuranceScoredetailsPostRequest +from graphiant_sdk.models.v2_assurance_scoredetails_post_response import V2AssuranceScoredetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37430,14 +37885,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_childalertlist_post_request = graphiant_sdk.V2ChildalertlistPostRequest() # V2ChildalertlistPostRequest | + v2_assurance_scoredetails_post_request = graphiant_sdk.V2AssuranceScoredetailsPostRequest() # V2AssuranceScoredetailsPostRequest | try: - api_response = api_instance.v2_childalertlist_post(authorization, v2_childalertlist_post_request) - print("The response of DefaultApi->v2_childalertlist_post:\n") + api_response = api_instance.v2_assurance_scoredetails_post(authorization, v2_assurance_scoredetails_post_request) + print("The response of DefaultApi->v2_assurance_scoredetails_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_childalertlist_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_scoredetails_post: %s\n" % e) ``` @@ -37448,11 +37903,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_childalertlist_post_request** | [**V2ChildalertlistPostRequest**](V2ChildalertlistPostRequest.md)| | + **v2_assurance_scoredetails_post_request** | [**V2AssuranceScoredetailsPostRequest**](V2AssuranceScoredetailsPostRequest.md)| | ### Return type -[**V2ChildalertlistPostResponse**](V2ChildalertlistPostResponse.md) +[**V2AssuranceScoredetailsPostResponse**](V2AssuranceScoredetailsPostResponse.md) ### Authorization @@ -37471,10 +37926,8 @@ Name | Type | Description | Notes [[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) -# **v2_device_device_id_lan_segments_post** -> V2DeviceDeviceIdLanSegmentsPostResponse v2_device_device_id_lan_segments_post(authorization, device_id, v2_device_device_id_lan_segments_post_request) - -Get route count for all the LAN Segments in a device +# **v2_assurance_topology_client_session_details_post** +> V2AssuranceTopologyClientSessionDetailsPostResponse v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) ### Example @@ -37482,8 +37935,8 @@ Get route count for all the LAN Segments in a device ```python import graphiant_sdk -from graphiant_sdk.models.v2_device_device_id_lan_segments_post_request import V2DeviceDeviceIdLanSegmentsPostRequest -from graphiant_sdk.models.v2_device_device_id_lan_segments_post_response import V2DeviceDeviceIdLanSegmentsPostResponse +from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_request import V2AssuranceTopologyClientSessionDetailsPostRequest +from graphiant_sdk.models.v2_assurance_topology_client_session_details_post_response import V2AssuranceTopologyClientSessionDetailsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37509,15 +37962,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | - v2_device_device_id_lan_segments_post_request = graphiant_sdk.V2DeviceDeviceIdLanSegmentsPostRequest() # V2DeviceDeviceIdLanSegmentsPostRequest | + v2_assurance_topology_client_session_details_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionDetailsPostRequest() # V2AssuranceTopologyClientSessionDetailsPostRequest | try: - api_response = api_instance.v2_device_device_id_lan_segments_post(authorization, device_id, v2_device_device_id_lan_segments_post_request) - print("The response of DefaultApi->v2_device_device_id_lan_segments_post:\n") + api_response = api_instance.v2_assurance_topology_client_session_details_post(authorization, v2_assurance_topology_client_session_details_post_request) + print("The response of DefaultApi->v2_assurance_topology_client_session_details_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_device_device_id_lan_segments_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_client_session_details_post: %s\n" % e) ``` @@ -37528,12 +37980,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | - **v2_device_device_id_lan_segments_post_request** | [**V2DeviceDeviceIdLanSegmentsPostRequest**](V2DeviceDeviceIdLanSegmentsPostRequest.md)| | + **v2_assurance_topology_client_session_details_post_request** | [**V2AssuranceTopologyClientSessionDetailsPostRequest**](V2AssuranceTopologyClientSessionDetailsPostRequest.md)| | ### Return type -[**V2DeviceDeviceIdLanSegmentsPostResponse**](V2DeviceDeviceIdLanSegmentsPostResponse.md) +[**V2AssuranceTopologyClientSessionDetailsPostResponse**](V2AssuranceTopologyClientSessionDetailsPostResponse.md) ### Authorization @@ -37552,10 +38003,8 @@ Name | Type | Description | Notes [[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) -# **v2_device_device_id_topology_post** -> V2DeviceDeviceIdTopologyPostResponse v2_device_device_id_topology_post(authorization, device_id, v2_device_device_id_topology_post_request) - -Get the device topology +# **v2_assurance_topology_client_sessions_post** +> V2AssuranceTopologyClientSessionsPostResponse v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) ### Example @@ -37563,8 +38012,8 @@ Get the device topology ```python import graphiant_sdk -from graphiant_sdk.models.v2_device_device_id_topology_post_request import V2DeviceDeviceIdTopologyPostRequest -from graphiant_sdk.models.v2_device_device_id_topology_post_response import V2DeviceDeviceIdTopologyPostResponse +from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_request import V2AssuranceTopologyClientSessionsPostRequest +from graphiant_sdk.models.v2_assurance_topology_client_sessions_post_response import V2AssuranceTopologyClientSessionsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37590,15 +38039,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - device_id = 1234567891011 # int | - v2_device_device_id_topology_post_request = graphiant_sdk.V2DeviceDeviceIdTopologyPostRequest() # V2DeviceDeviceIdTopologyPostRequest | + v2_assurance_topology_client_sessions_post_request = graphiant_sdk.V2AssuranceTopologyClientSessionsPostRequest() # V2AssuranceTopologyClientSessionsPostRequest | try: - api_response = api_instance.v2_device_device_id_topology_post(authorization, device_id, v2_device_device_id_topology_post_request) - print("The response of DefaultApi->v2_device_device_id_topology_post:\n") + api_response = api_instance.v2_assurance_topology_client_sessions_post(authorization, v2_assurance_topology_client_sessions_post_request) + print("The response of DefaultApi->v2_assurance_topology_client_sessions_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_device_device_id_topology_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_client_sessions_post: %s\n" % e) ``` @@ -37609,12 +38057,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **device_id** | **int**| | - **v2_device_device_id_topology_post_request** | [**V2DeviceDeviceIdTopologyPostRequest**](V2DeviceDeviceIdTopologyPostRequest.md)| | + **v2_assurance_topology_client_sessions_post_request** | [**V2AssuranceTopologyClientSessionsPostRequest**](V2AssuranceTopologyClientSessionsPostRequest.md)| | ### Return type -[**V2DeviceDeviceIdTopologyPostResponse**](V2DeviceDeviceIdTopologyPostResponse.md) +[**V2AssuranceTopologyClientSessionsPostResponse**](V2AssuranceTopologyClientSessionsPostResponse.md) ### Authorization @@ -37633,10 +38080,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranet_consumers_usage_top_post** -> V2ExtranetConsumersUsageTopPostResponse v2_extranet_consumers_usage_top_post(authorization, v2_extranet_consumers_usage_top_post_request) - -Get extranet service top consumer usage stats +# **v2_assurance_topology_client_summaries_post** +> V2AssuranceTopologyClientSummariesPostResponse v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) ### Example @@ -37644,8 +38089,8 @@ Get extranet service top consumer usage stats ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranet_consumers_usage_top_post_request import V2ExtranetConsumersUsageTopPostRequest -from graphiant_sdk.models.v2_extranet_consumers_usage_top_post_response import V2ExtranetConsumersUsageTopPostResponse +from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_request import V2AssuranceTopologyClientSummariesPostRequest +from graphiant_sdk.models.v2_assurance_topology_client_summaries_post_response import V2AssuranceTopologyClientSummariesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37671,14 +38116,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranet_consumers_usage_top_post_request = graphiant_sdk.V2ExtranetConsumersUsageTopPostRequest() # V2ExtranetConsumersUsageTopPostRequest | + v2_assurance_topology_client_summaries_post_request = graphiant_sdk.V2AssuranceTopologyClientSummariesPostRequest() # V2AssuranceTopologyClientSummariesPostRequest | try: - api_response = api_instance.v2_extranet_consumers_usage_top_post(authorization, v2_extranet_consumers_usage_top_post_request) - print("The response of DefaultApi->v2_extranet_consumers_usage_top_post:\n") + api_response = api_instance.v2_assurance_topology_client_summaries_post(authorization, v2_assurance_topology_client_summaries_post_request) + print("The response of DefaultApi->v2_assurance_topology_client_summaries_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranet_consumers_usage_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_client_summaries_post: %s\n" % e) ``` @@ -37689,11 +38134,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranet_consumers_usage_top_post_request** | [**V2ExtranetConsumersUsageTopPostRequest**](V2ExtranetConsumersUsageTopPostRequest.md)| | + **v2_assurance_topology_client_summaries_post_request** | [**V2AssuranceTopologyClientSummariesPostRequest**](V2AssuranceTopologyClientSummariesPostRequest.md)| | ### Return type -[**V2ExtranetConsumersUsageTopPostResponse**](V2ExtranetConsumersUsageTopPostResponse.md) +[**V2AssuranceTopologyClientSummariesPostResponse**](V2AssuranceTopologyClientSummariesPostResponse.md) ### Authorization @@ -37712,10 +38157,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranet_lan_segments_usage_top_post** -> V2ExtranetLanSegmentsUsageTopPostResponse v2_extranet_lan_segments_usage_top_post(authorization, v2_extranet_lan_segments_usage_top_post_request) - -Get extranet service top lan segment usage stats +# **v2_assurance_topology_inventory_post** +> V2AssuranceTopologyInventoryPostResponse v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) ### Example @@ -37723,8 +38166,8 @@ Get extranet service top lan segment usage stats ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranet_lan_segments_usage_top_post_request import V2ExtranetLanSegmentsUsageTopPostRequest -from graphiant_sdk.models.v2_extranet_lan_segments_usage_top_post_response import V2ExtranetLanSegmentsUsageTopPostResponse +from graphiant_sdk.models.v2_assurance_topology_inventory_post_request import V2AssuranceTopologyInventoryPostRequest +from graphiant_sdk.models.v2_assurance_topology_inventory_post_response import V2AssuranceTopologyInventoryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37750,14 +38193,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranet_lan_segments_usage_top_post_request = graphiant_sdk.V2ExtranetLanSegmentsUsageTopPostRequest() # V2ExtranetLanSegmentsUsageTopPostRequest | + v2_assurance_topology_inventory_post_request = graphiant_sdk.V2AssuranceTopologyInventoryPostRequest() # V2AssuranceTopologyInventoryPostRequest | try: - api_response = api_instance.v2_extranet_lan_segments_usage_top_post(authorization, v2_extranet_lan_segments_usage_top_post_request) - print("The response of DefaultApi->v2_extranet_lan_segments_usage_top_post:\n") + api_response = api_instance.v2_assurance_topology_inventory_post(authorization, v2_assurance_topology_inventory_post_request) + print("The response of DefaultApi->v2_assurance_topology_inventory_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranet_lan_segments_usage_top_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_inventory_post: %s\n" % e) ``` @@ -37768,11 +38211,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranet_lan_segments_usage_top_post_request** | [**V2ExtranetLanSegmentsUsageTopPostRequest**](V2ExtranetLanSegmentsUsageTopPostRequest.md)| | + **v2_assurance_topology_inventory_post_request** | [**V2AssuranceTopologyInventoryPostRequest**](V2AssuranceTopologyInventoryPostRequest.md)| | ### Return type -[**V2ExtranetLanSegmentsUsageTopPostResponse**](V2ExtranetLanSegmentsUsageTopPostResponse.md) +[**V2AssuranceTopologyInventoryPostResponse**](V2AssuranceTopologyInventoryPostResponse.md) ### Authorization @@ -37791,10 +38234,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranet_service_overtime_consumption_post** -> V2ExtranetServiceOvertimeConsumptionPostResponse v2_extranet_service_overtime_consumption_post(authorization, v2_extranet_service_overtime_consumption_post_request) - -Get extranet service cumulative consumption over timewindow +# **v2_assurance_topology_overview_post** +> V2AssuranceTopologyOverviewPostResponse v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) ### Example @@ -37802,8 +38243,8 @@ Get extranet service cumulative consumption over timewindow ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranet_service_overtime_consumption_post_request import V2ExtranetServiceOvertimeConsumptionPostRequest -from graphiant_sdk.models.v2_extranet_service_overtime_consumption_post_response import V2ExtranetServiceOvertimeConsumptionPostResponse +from graphiant_sdk.models.v2_assurance_topology_overview_post_request import V2AssuranceTopologyOverviewPostRequest +from graphiant_sdk.models.v2_assurance_topology_overview_post_response import V2AssuranceTopologyOverviewPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37829,14 +38270,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranet_service_overtime_consumption_post_request = graphiant_sdk.V2ExtranetServiceOvertimeConsumptionPostRequest() # V2ExtranetServiceOvertimeConsumptionPostRequest | + v2_assurance_topology_overview_post_request = graphiant_sdk.V2AssuranceTopologyOverviewPostRequest() # V2AssuranceTopologyOverviewPostRequest | try: - api_response = api_instance.v2_extranet_service_overtime_consumption_post(authorization, v2_extranet_service_overtime_consumption_post_request) - print("The response of DefaultApi->v2_extranet_service_overtime_consumption_post:\n") + api_response = api_instance.v2_assurance_topology_overview_post(authorization, v2_assurance_topology_overview_post_request) + print("The response of DefaultApi->v2_assurance_topology_overview_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranet_service_overtime_consumption_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_overview_post: %s\n" % e) ``` @@ -37847,11 +38288,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranet_service_overtime_consumption_post_request** | [**V2ExtranetServiceOvertimeConsumptionPostRequest**](V2ExtranetServiceOvertimeConsumptionPostRequest.md)| | + **v2_assurance_topology_overview_post_request** | [**V2AssuranceTopologyOverviewPostRequest**](V2AssuranceTopologyOverviewPostRequest.md)| | ### Return type -[**V2ExtranetServiceOvertimeConsumptionPostResponse**](V2ExtranetServiceOvertimeConsumptionPostResponse.md) +[**V2AssuranceTopologyOverviewPostResponse**](V2AssuranceTopologyOverviewPostResponse.md) ### Authorization @@ -37870,10 +38311,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranet_sites_consumption_overview_post** -> V2ExtranetSitesConsumptionOverviewPostResponse v2_extranet_sites_consumption_overview_post(authorization, v2_extranet_sites_consumption_overview_post_request) - -Get extranet service consumption overview over timewindow +# **v2_assurance_topology_region_summary_post** +> V2AssuranceTopologyRegionSummaryPostResponse v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) ### Example @@ -37881,8 +38320,8 @@ Get extranet service consumption overview over timewindow ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranet_sites_consumption_overview_post_request import V2ExtranetSitesConsumptionOverviewPostRequest -from graphiant_sdk.models.v2_extranet_sites_consumption_overview_post_response import V2ExtranetSitesConsumptionOverviewPostResponse +from graphiant_sdk.models.v2_assurance_topology_region_summary_post_request import V2AssuranceTopologyRegionSummaryPostRequest +from graphiant_sdk.models.v2_assurance_topology_region_summary_post_response import V2AssuranceTopologyRegionSummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37908,14 +38347,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranet_sites_consumption_overview_post_request = graphiant_sdk.V2ExtranetSitesConsumptionOverviewPostRequest() # V2ExtranetSitesConsumptionOverviewPostRequest | + v2_assurance_topology_region_summary_post_request = graphiant_sdk.V2AssuranceTopologyRegionSummaryPostRequest() # V2AssuranceTopologyRegionSummaryPostRequest | try: - api_response = api_instance.v2_extranet_sites_consumption_overview_post(authorization, v2_extranet_sites_consumption_overview_post_request) - print("The response of DefaultApi->v2_extranet_sites_consumption_overview_post:\n") + api_response = api_instance.v2_assurance_topology_region_summary_post(authorization, v2_assurance_topology_region_summary_post_request) + print("The response of DefaultApi->v2_assurance_topology_region_summary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranet_sites_consumption_overview_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_region_summary_post: %s\n" % e) ``` @@ -37926,11 +38365,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranet_sites_consumption_overview_post_request** | [**V2ExtranetSitesConsumptionOverviewPostRequest**](V2ExtranetSitesConsumptionOverviewPostRequest.md)| | + **v2_assurance_topology_region_summary_post_request** | [**V2AssuranceTopologyRegionSummaryPostRequest**](V2AssuranceTopologyRegionSummaryPostRequest.md)| | ### Return type -[**V2ExtranetSitesConsumptionOverviewPostResponse**](V2ExtranetSitesConsumptionOverviewPostResponse.md) +[**V2AssuranceTopologyRegionSummaryPostResponse**](V2AssuranceTopologyRegionSummaryPostResponse.md) ### Authorization @@ -37949,10 +38388,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranet_sites_usage_post** -> V2ExtranetSitesUsagePostResponse v2_extranet_sites_usage_post(authorization, v2_extranet_sites_usage_post_request) - -Get extranet service sites usage stats v2 +# **v2_assurance_topology_site_summaries_post** +> V2AssuranceTopologySiteSummariesPostResponse v2_assurance_topology_site_summaries_post(authorization, v2_assurance_topology_site_summaries_post_request) ### Example @@ -37960,8 +38397,8 @@ Get extranet service sites usage stats v2 ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranet_sites_usage_post_request import V2ExtranetSitesUsagePostRequest -from graphiant_sdk.models.v2_extranet_sites_usage_post_response import V2ExtranetSitesUsagePostResponse +from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_request import V2AssuranceTopologySiteSummariesPostRequest +from graphiant_sdk.models.v2_assurance_topology_site_summaries_post_response import V2AssuranceTopologySiteSummariesPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -37987,14 +38424,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranet_sites_usage_post_request = graphiant_sdk.V2ExtranetSitesUsagePostRequest() # V2ExtranetSitesUsagePostRequest | + v2_assurance_topology_site_summaries_post_request = graphiant_sdk.V2AssuranceTopologySiteSummariesPostRequest() # V2AssuranceTopologySiteSummariesPostRequest | try: - api_response = api_instance.v2_extranet_sites_usage_post(authorization, v2_extranet_sites_usage_post_request) - print("The response of DefaultApi->v2_extranet_sites_usage_post:\n") + api_response = api_instance.v2_assurance_topology_site_summaries_post(authorization, v2_assurance_topology_site_summaries_post_request) + print("The response of DefaultApi->v2_assurance_topology_site_summaries_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranet_sites_usage_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_topology_site_summaries_post: %s\n" % e) ``` @@ -38005,11 +38442,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranet_sites_usage_post_request** | [**V2ExtranetSitesUsagePostRequest**](V2ExtranetSitesUsagePostRequest.md)| | + **v2_assurance_topology_site_summaries_post_request** | [**V2AssuranceTopologySiteSummariesPostRequest**](V2AssuranceTopologySiteSummariesPostRequest.md)| | ### Return type -[**V2ExtranetSitesUsagePostResponse**](V2ExtranetSitesUsagePostResponse.md) +[**V2AssuranceTopologySiteSummariesPostResponse**](V2AssuranceTopologySiteSummariesPostResponse.md) ### Authorization @@ -38028,10 +38465,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranet_total_usage_post** -> V2ExtranetTotalUsagePostResponse v2_extranet_total_usage_post(authorization, v2_extranet_total_usage_post_request) - -Get extranet service total usage stats +# **v2_assurance_unclassifiedapplicationprofilesummary_post** +> V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse v2_assurance_unclassifiedapplicationprofilesummary_post(authorization, v2_assurance_unclassifiedapplicationprofilesummary_post_request) ### Example @@ -38039,8 +38474,8 @@ Get extranet service total usage stats ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranet_total_usage_post_request import V2ExtranetTotalUsagePostRequest -from graphiant_sdk.models.v2_extranet_total_usage_post_response import V2ExtranetTotalUsagePostResponse +from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_request import V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest +from graphiant_sdk.models.v2_assurance_unclassifiedapplicationprofilesummary_post_response import V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38066,14 +38501,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranet_total_usage_post_request = graphiant_sdk.V2ExtranetTotalUsagePostRequest() # V2ExtranetTotalUsagePostRequest | + v2_assurance_unclassifiedapplicationprofilesummary_post_request = graphiant_sdk.V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest() # V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest | try: - api_response = api_instance.v2_extranet_total_usage_post(authorization, v2_extranet_total_usage_post_request) - print("The response of DefaultApi->v2_extranet_total_usage_post:\n") + api_response = api_instance.v2_assurance_unclassifiedapplicationprofilesummary_post(authorization, v2_assurance_unclassifiedapplicationprofilesummary_post_request) + print("The response of DefaultApi->v2_assurance_unclassifiedapplicationprofilesummary_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranet_total_usage_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_unclassifiedapplicationprofilesummary_post: %s\n" % e) ``` @@ -38084,11 +38519,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranet_total_usage_post_request** | [**V2ExtranetTotalUsagePostRequest**](V2ExtranetTotalUsagePostRequest.md)| | + **v2_assurance_unclassifiedapplicationprofilesummary_post_request** | [**V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest**](V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest.md)| | ### Return type -[**V2ExtranetTotalUsagePostResponse**](V2ExtranetTotalUsagePostResponse.md) +[**V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse**](V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse.md) ### Authorization @@ -38107,10 +38542,8 @@ Name | Type | Description | Notes [[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) -# **v2_extranets_monitoring_consumers_post** -> V2ExtranetsMonitoringConsumersPostResponse v2_extranets_monitoring_consumers_post(authorization, v2_extranets_monitoring_consumers_post_request) - -Get consumer list for b2b producer service +# **v2_assurance_update_ai_adoption_approve_entry_post** +> object v2_assurance_update_ai_adoption_approve_entry_post(authorization, v2_assurance_update_ai_adoption_approve_entry_post_request) ### Example @@ -38118,8 +38551,7 @@ Get consumer list for b2b producer service ```python import graphiant_sdk -from graphiant_sdk.models.v2_extranets_monitoring_consumers_post_request import V2ExtranetsMonitoringConsumersPostRequest -from graphiant_sdk.models.v2_extranets_monitoring_consumers_post_response import V2ExtranetsMonitoringConsumersPostResponse +from graphiant_sdk.models.v2_assurance_update_ai_adoption_approve_entry_post_request import V2AssuranceUpdateAiAdoptionApproveEntryPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38145,14 +38577,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_extranets_monitoring_consumers_post_request = graphiant_sdk.V2ExtranetsMonitoringConsumersPostRequest() # V2ExtranetsMonitoringConsumersPostRequest | + v2_assurance_update_ai_adoption_approve_entry_post_request = graphiant_sdk.V2AssuranceUpdateAiAdoptionApproveEntryPostRequest() # V2AssuranceUpdateAiAdoptionApproveEntryPostRequest | try: - api_response = api_instance.v2_extranets_monitoring_consumers_post(authorization, v2_extranets_monitoring_consumers_post_request) - print("The response of DefaultApi->v2_extranets_monitoring_consumers_post:\n") + api_response = api_instance.v2_assurance_update_ai_adoption_approve_entry_post(authorization, v2_assurance_update_ai_adoption_approve_entry_post_request) + print("The response of DefaultApi->v2_assurance_update_ai_adoption_approve_entry_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_extranets_monitoring_consumers_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_update_ai_adoption_approve_entry_post: %s\n" % e) ``` @@ -38163,11 +38595,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_extranets_monitoring_consumers_post_request** | [**V2ExtranetsMonitoringConsumersPostRequest**](V2ExtranetsMonitoringConsumersPostRequest.md)| | + **v2_assurance_update_ai_adoption_approve_entry_post_request** | [**V2AssuranceUpdateAiAdoptionApproveEntryPostRequest**](V2AssuranceUpdateAiAdoptionApproveEntryPostRequest.md)| | ### Return type -[**V2ExtranetsMonitoringConsumersPostResponse**](V2ExtranetsMonitoringConsumersPostResponse.md) +**object** ### Authorization @@ -38186,8 +38618,8 @@ Name | Type | Description | Notes [[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) -# **v2_integration_getall_enterprise_id_get** -> V2IntegrationGetallEnterpriseIdGetResponse v2_integration_getall_enterprise_id_get(authorization, enterprise_id) +# **v2_assurance_update_dnsproxy_entry_post** +> object v2_assurance_update_dnsproxy_entry_post(authorization, v2_assurance_update_dnsproxy_entry_post_request) ### Example @@ -38195,7 +38627,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_integration_getall_enterprise_id_get_response import V2IntegrationGetallEnterpriseIdGetResponse +from graphiant_sdk.models.v2_assurance_update_dnsproxy_entry_post_request import V2AssuranceUpdateDnsproxyEntryPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38221,14 +38653,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - enterprise_id = 1234567891011 # int | Enterprise id + v2_assurance_update_dnsproxy_entry_post_request = graphiant_sdk.V2AssuranceUpdateDnsproxyEntryPostRequest() # V2AssuranceUpdateDnsproxyEntryPostRequest | try: - api_response = api_instance.v2_integration_getall_enterprise_id_get(authorization, enterprise_id) - print("The response of DefaultApi->v2_integration_getall_enterprise_id_get:\n") + api_response = api_instance.v2_assurance_update_dnsproxy_entry_post(authorization, v2_assurance_update_dnsproxy_entry_post_request) + print("The response of DefaultApi->v2_assurance_update_dnsproxy_entry_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_integration_getall_enterprise_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_update_dnsproxy_entry_post: %s\n" % e) ``` @@ -38239,11 +38671,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **enterprise_id** | **int**| Enterprise id | + **v2_assurance_update_dnsproxy_entry_post_request** | [**V2AssuranceUpdateDnsproxyEntryPostRequest**](V2AssuranceUpdateDnsproxyEntryPostRequest.md)| | ### Return type -[**V2IntegrationGetallEnterpriseIdGetResponse**](V2IntegrationGetallEnterpriseIdGetResponse.md) +**object** ### Authorization @@ -38251,7 +38683,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -38262,8 +38694,8 @@ Name | Type | Description | Notes [[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) -# **v2_integration_integration_id_delete** -> object v2_integration_integration_id_delete(authorization, integration_id) +# **v2_assurance_updateclassifiedapplication_post** +> object v2_assurance_updateclassifiedapplication_post(authorization, v2_assurance_updateclassifiedapplication_post_request) ### Example @@ -38271,6 +38703,7 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_assurance_updateclassifiedapplication_post_request import V2AssuranceUpdateclassifiedapplicationPostRequest from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38296,14 +38729,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - integration_id = 1234567891011 # int | ID of the integration to be deleted + v2_assurance_updateclassifiedapplication_post_request = graphiant_sdk.V2AssuranceUpdateclassifiedapplicationPostRequest() # V2AssuranceUpdateclassifiedapplicationPostRequest | try: - api_response = api_instance.v2_integration_integration_id_delete(authorization, integration_id) - print("The response of DefaultApi->v2_integration_integration_id_delete:\n") + api_response = api_instance.v2_assurance_updateclassifiedapplication_post(authorization, v2_assurance_updateclassifiedapplication_post_request) + print("The response of DefaultApi->v2_assurance_updateclassifiedapplication_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_integration_integration_id_delete: %s\n" % e) + print("Exception when calling DefaultApi->v2_assurance_updateclassifiedapplication_post: %s\n" % e) ``` @@ -38314,7 +38747,7 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **integration_id** | **int**| ID of the integration to be deleted | + **v2_assurance_updateclassifiedapplication_post_request** | [**V2AssuranceUpdateclassifiedapplicationPostRequest**](V2AssuranceUpdateclassifiedapplicationPostRequest.md)| | ### Return type @@ -38326,7 +38759,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -38337,8 +38770,8 @@ Name | Type | Description | Notes [[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) -# **v2_integration_integration_id_put** -> object v2_integration_integration_id_put(authorization, integration_id, v2_integration_integration_id_put_request) +# **v2_audit_logs_post** +> V2AuditLogsPostResponse v2_audit_logs_post(authorization, v2_audit_logs_post_request) ### Example @@ -38346,7 +38779,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_integration_integration_id_put_request import V2IntegrationIntegrationIdPutRequest +from graphiant_sdk.models.v2_audit_logs_post_request import V2AuditLogsPostRequest +from graphiant_sdk.models.v2_audit_logs_post_response import V2AuditLogsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38372,15 +38806,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - integration_id = 1234567891011 # int | integration id - v2_integration_integration_id_put_request = graphiant_sdk.V2IntegrationIntegrationIdPutRequest() # V2IntegrationIntegrationIdPutRequest | + v2_audit_logs_post_request = graphiant_sdk.V2AuditLogsPostRequest() # V2AuditLogsPostRequest | try: - api_response = api_instance.v2_integration_integration_id_put(authorization, integration_id, v2_integration_integration_id_put_request) - print("The response of DefaultApi->v2_integration_integration_id_put:\n") + api_response = api_instance.v2_audit_logs_post(authorization, v2_audit_logs_post_request) + print("The response of DefaultApi->v2_audit_logs_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_integration_integration_id_put: %s\n" % e) + print("Exception when calling DefaultApi->v2_audit_logs_post: %s\n" % e) ``` @@ -38391,12 +38824,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **integration_id** | **int**| integration id | - **v2_integration_integration_id_put_request** | [**V2IntegrationIntegrationIdPutRequest**](V2IntegrationIntegrationIdPutRequest.md)| | + **v2_audit_logs_post_request** | [**V2AuditLogsPostRequest**](V2AuditLogsPostRequest.md)| | ### Return type -**object** +[**V2AuditLogsPostResponse**](V2AuditLogsPostResponse.md) ### Authorization @@ -38415,8 +38847,8 @@ Name | Type | Description | Notes [[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) -# **v2_integration_post** -> V2IntegrationPostResponse v2_integration_post(authorization, v2_integration_post_request) +# **v2_childalertlist_post** +> V2ChildalertlistPostResponse v2_childalertlist_post(authorization, v2_childalertlist_post_request) ### Example @@ -38424,8 +38856,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_integration_post_request import V2IntegrationPostRequest -from graphiant_sdk.models.v2_integration_post_response import V2IntegrationPostResponse +from graphiant_sdk.models.v2_childalertlist_post_request import V2ChildalertlistPostRequest +from graphiant_sdk.models.v2_childalertlist_post_response import V2ChildalertlistPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38451,14 +38883,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_integration_post_request = graphiant_sdk.V2IntegrationPostRequest() # V2IntegrationPostRequest | + v2_childalertlist_post_request = graphiant_sdk.V2ChildalertlistPostRequest() # V2ChildalertlistPostRequest | try: - api_response = api_instance.v2_integration_post(authorization, v2_integration_post_request) - print("The response of DefaultApi->v2_integration_post:\n") + api_response = api_instance.v2_childalertlist_post(authorization, v2_childalertlist_post_request) + print("The response of DefaultApi->v2_childalertlist_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_integration_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_childalertlist_post: %s\n" % e) ``` @@ -38469,11 +38901,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_integration_post_request** | [**V2IntegrationPostRequest**](V2IntegrationPostRequest.md)| | + **v2_childalertlist_post_request** | [**V2ChildalertlistPostRequest**](V2ChildalertlistPostRequest.md)| | ### Return type -[**V2IntegrationPostResponse**](V2IntegrationPostResponse.md) +[**V2ChildalertlistPostResponse**](V2ChildalertlistPostResponse.md) ### Authorization @@ -38492,8 +38924,10 @@ Name | Type | Description | Notes [[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) -# **v2_integration_test_enterprise_id_integration_id_get** -> object v2_integration_test_enterprise_id_integration_id_get(authorization, enterprise_id, integration_id) +# **v2_device_device_id_lan_segments_post** +> V2DeviceDeviceIdLanSegmentsPostResponse v2_device_device_id_lan_segments_post(authorization, device_id, v2_device_device_id_lan_segments_post_request) + +Get route count for all the LAN Segments in a device ### Example @@ -38501,6 +38935,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk +from graphiant_sdk.models.v2_device_device_id_lan_segments_post_request import V2DeviceDeviceIdLanSegmentsPostRequest +from graphiant_sdk.models.v2_device_device_id_lan_segments_post_response import V2DeviceDeviceIdLanSegmentsPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38526,15 +38962,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - enterprise_id = 1234567891011 # int | Enterprise id - integration_id = 1234567891011 # int | Integration id + device_id = 1234567891011 # int | + v2_device_device_id_lan_segments_post_request = graphiant_sdk.V2DeviceDeviceIdLanSegmentsPostRequest() # V2DeviceDeviceIdLanSegmentsPostRequest | try: - api_response = api_instance.v2_integration_test_enterprise_id_integration_id_get(authorization, enterprise_id, integration_id) - print("The response of DefaultApi->v2_integration_test_enterprise_id_integration_id_get:\n") + api_response = api_instance.v2_device_device_id_lan_segments_post(authorization, device_id, v2_device_device_id_lan_segments_post_request) + print("The response of DefaultApi->v2_device_device_id_lan_segments_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_integration_test_enterprise_id_integration_id_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_device_device_id_lan_segments_post: %s\n" % e) ``` @@ -38545,12 +38981,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **enterprise_id** | **int**| Enterprise id | - **integration_id** | **int**| Integration id | + **device_id** | **int**| | + **v2_device_device_id_lan_segments_post_request** | [**V2DeviceDeviceIdLanSegmentsPostRequest**](V2DeviceDeviceIdLanSegmentsPostRequest.md)| | ### Return type -**object** +[**V2DeviceDeviceIdLanSegmentsPostResponse**](V2DeviceDeviceIdLanSegmentsPostResponse.md) ### Authorization @@ -38558,7 +38994,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -38569,8 +39005,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_bfd_post** -> V2MonitoringBfdPostResponse v2_monitoring_bfd_post(authorization, v2_monitoring_bfd_post_request) +# **v2_device_device_id_topology_post** +> V2DeviceDeviceIdTopologyPostResponse v2_device_device_id_topology_post(authorization, device_id, v2_device_device_id_topology_post_request) + +Get the device topology ### Example @@ -38578,8 +39016,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_bfd_post_request import V2MonitoringBfdPostRequest -from graphiant_sdk.models.v2_monitoring_bfd_post_response import V2MonitoringBfdPostResponse +from graphiant_sdk.models.v2_device_device_id_topology_post_request import V2DeviceDeviceIdTopologyPostRequest +from graphiant_sdk.models.v2_device_device_id_topology_post_response import V2DeviceDeviceIdTopologyPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38605,14 +39043,15 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_bfd_post_request = graphiant_sdk.V2MonitoringBfdPostRequest() # V2MonitoringBfdPostRequest | + device_id = 1234567891011 # int | + v2_device_device_id_topology_post_request = graphiant_sdk.V2DeviceDeviceIdTopologyPostRequest() # V2DeviceDeviceIdTopologyPostRequest | try: - api_response = api_instance.v2_monitoring_bfd_post(authorization, v2_monitoring_bfd_post_request) - print("The response of DefaultApi->v2_monitoring_bfd_post:\n") + api_response = api_instance.v2_device_device_id_topology_post(authorization, device_id, v2_device_device_id_topology_post_request) + print("The response of DefaultApi->v2_device_device_id_topology_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_bfd_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_device_device_id_topology_post: %s\n" % e) ``` @@ -38623,11 +39062,12 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_bfd_post_request** | [**V2MonitoringBfdPostRequest**](V2MonitoringBfdPostRequest.md)| | + **device_id** | **int**| | + **v2_device_device_id_topology_post_request** | [**V2DeviceDeviceIdTopologyPostRequest**](V2DeviceDeviceIdTopologyPostRequest.md)| | ### Return type -[**V2MonitoringBfdPostResponse**](V2MonitoringBfdPostResponse.md) +[**V2DeviceDeviceIdTopologyPostResponse**](V2DeviceDeviceIdTopologyPostResponse.md) ### Authorization @@ -38646,85 +39086,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_bgp_post** -> V2MonitoringBgpPostResponse v2_monitoring_bgp_post(authorization, v2_monitoring_bgp_post_request) - -### Example - -* Api Key Authentication (jwtAuth): - -```python -import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_bgp_post_request import V2MonitoringBgpPostRequest -from graphiant_sdk.models.v2_monitoring_bgp_post_response import V2MonitoringBgpPostResponse -from graphiant_sdk.rest import ApiException -from pprint import pprint - -# Defining the host is optional and defaults to https://api.graphiant.com -# See configuration.py for a list of all supported configuration parameters. -configuration = graphiant_sdk.Configuration( - host = "https://api.graphiant.com" -) - -# The client must configure the authentication and authorization parameters -# in accordance with the API server security policy. -# Examples for each auth method are provided below, use the example that -# satisfies your auth use case. - -# Configure API key authorization: jwtAuth -configuration.api_key['jwtAuth'] = os.environ["API_KEY"] - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['jwtAuth'] = 'Bearer' - -# Enter a context with an instance of the API client -with graphiant_sdk.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = graphiant_sdk.DefaultApi(api_client) - authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_bgp_post_request = graphiant_sdk.V2MonitoringBgpPostRequest() # V2MonitoringBgpPostRequest | - - try: - api_response = api_instance.v2_monitoring_bgp_post(authorization, v2_monitoring_bgp_post_request) - print("The response of DefaultApi->v2_monitoring_bgp_post:\n") - pprint(api_response) - except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_bgp_post: %s\n" % e) -``` - - - -### Parameters - - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_bgp_post_request** | [**V2MonitoringBgpPostRequest**](V2MonitoringBgpPostRequest.md)| | - -### Return type - -[**V2MonitoringBgpPostResponse**](V2MonitoringBgpPostResponse.md) - -### Authorization - -[jwtAuth](../README.md#jwtAuth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | - | - -[[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) +# **v2_extranet_consumers_usage_top_post** +> V2ExtranetConsumersUsageTopPostResponse v2_extranet_consumers_usage_top_post(authorization, v2_extranet_consumers_usage_top_post_request) -# **v2_monitoring_circuits_bandwidth_post** -> V2MonitoringCircuitsBandwidthPostResponse v2_monitoring_circuits_bandwidth_post(authorization, v2_monitoring_circuits_bandwidth_post_request) +Get extranet service top consumer usage stats ### Example @@ -38732,8 +39097,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_circuits_bandwidth_post_request import V2MonitoringCircuitsBandwidthPostRequest -from graphiant_sdk.models.v2_monitoring_circuits_bandwidth_post_response import V2MonitoringCircuitsBandwidthPostResponse +from graphiant_sdk.models.v2_extranet_consumers_usage_top_post_request import V2ExtranetConsumersUsageTopPostRequest +from graphiant_sdk.models.v2_extranet_consumers_usage_top_post_response import V2ExtranetConsumersUsageTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38759,14 +39124,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_circuits_bandwidth_post_request = graphiant_sdk.V2MonitoringCircuitsBandwidthPostRequest() # V2MonitoringCircuitsBandwidthPostRequest | + v2_extranet_consumers_usage_top_post_request = graphiant_sdk.V2ExtranetConsumersUsageTopPostRequest() # V2ExtranetConsumersUsageTopPostRequest | try: - api_response = api_instance.v2_monitoring_circuits_bandwidth_post(authorization, v2_monitoring_circuits_bandwidth_post_request) - print("The response of DefaultApi->v2_monitoring_circuits_bandwidth_post:\n") + api_response = api_instance.v2_extranet_consumers_usage_top_post(authorization, v2_extranet_consumers_usage_top_post_request) + print("The response of DefaultApi->v2_extranet_consumers_usage_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_circuits_bandwidth_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranet_consumers_usage_top_post: %s\n" % e) ``` @@ -38777,11 +39142,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_circuits_bandwidth_post_request** | [**V2MonitoringCircuitsBandwidthPostRequest**](V2MonitoringCircuitsBandwidthPostRequest.md)| | + **v2_extranet_consumers_usage_top_post_request** | [**V2ExtranetConsumersUsageTopPostRequest**](V2ExtranetConsumersUsageTopPostRequest.md)| | ### Return type -[**V2MonitoringCircuitsBandwidthPostResponse**](V2MonitoringCircuitsBandwidthPostResponse.md) +[**V2ExtranetConsumersUsageTopPostResponse**](V2ExtranetConsumersUsageTopPostResponse.md) ### Authorization @@ -38800,8 +39165,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_circuits_summary_post** -> V2MonitoringCircuitsSummaryPostResponse v2_monitoring_circuits_summary_post(authorization, v2_monitoring_circuits_summary_post_request) +# **v2_extranet_lan_segments_usage_top_post** +> V2ExtranetLanSegmentsUsageTopPostResponse v2_extranet_lan_segments_usage_top_post(authorization, v2_extranet_lan_segments_usage_top_post_request) + +Get extranet service top lan segment usage stats ### Example @@ -38809,8 +39176,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_circuits_summary_post_request import V2MonitoringCircuitsSummaryPostRequest -from graphiant_sdk.models.v2_monitoring_circuits_summary_post_response import V2MonitoringCircuitsSummaryPostResponse +from graphiant_sdk.models.v2_extranet_lan_segments_usage_top_post_request import V2ExtranetLanSegmentsUsageTopPostRequest +from graphiant_sdk.models.v2_extranet_lan_segments_usage_top_post_response import V2ExtranetLanSegmentsUsageTopPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38836,14 +39203,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_circuits_summary_post_request = graphiant_sdk.V2MonitoringCircuitsSummaryPostRequest() # V2MonitoringCircuitsSummaryPostRequest | + v2_extranet_lan_segments_usage_top_post_request = graphiant_sdk.V2ExtranetLanSegmentsUsageTopPostRequest() # V2ExtranetLanSegmentsUsageTopPostRequest | try: - api_response = api_instance.v2_monitoring_circuits_summary_post(authorization, v2_monitoring_circuits_summary_post_request) - print("The response of DefaultApi->v2_monitoring_circuits_summary_post:\n") + api_response = api_instance.v2_extranet_lan_segments_usage_top_post(authorization, v2_extranet_lan_segments_usage_top_post_request) + print("The response of DefaultApi->v2_extranet_lan_segments_usage_top_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_circuits_summary_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranet_lan_segments_usage_top_post: %s\n" % e) ``` @@ -38854,11 +39221,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_circuits_summary_post_request** | [**V2MonitoringCircuitsSummaryPostRequest**](V2MonitoringCircuitsSummaryPostRequest.md)| | + **v2_extranet_lan_segments_usage_top_post_request** | [**V2ExtranetLanSegmentsUsageTopPostRequest**](V2ExtranetLanSegmentsUsageTopPostRequest.md)| | ### Return type -[**V2MonitoringCircuitsSummaryPostResponse**](V2MonitoringCircuitsSummaryPostResponse.md) +[**V2ExtranetLanSegmentsUsageTopPostResponse**](V2ExtranetLanSegmentsUsageTopPostResponse.md) ### Authorization @@ -38877,8 +39244,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_circuits_utilization_post** -> V2MonitoringCircuitsUtilizationPostResponse v2_monitoring_circuits_utilization_post(authorization, v2_monitoring_circuits_utilization_post_request) +# **v2_extranet_service_overtime_consumption_post** +> V2ExtranetServiceOvertimeConsumptionPostResponse v2_extranet_service_overtime_consumption_post(authorization, v2_extranet_service_overtime_consumption_post_request) + +Get extranet service cumulative consumption over timewindow ### Example @@ -38886,8 +39255,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_circuits_utilization_post_request import V2MonitoringCircuitsUtilizationPostRequest -from graphiant_sdk.models.v2_monitoring_circuits_utilization_post_response import V2MonitoringCircuitsUtilizationPostResponse +from graphiant_sdk.models.v2_extranet_service_overtime_consumption_post_request import V2ExtranetServiceOvertimeConsumptionPostRequest +from graphiant_sdk.models.v2_extranet_service_overtime_consumption_post_response import V2ExtranetServiceOvertimeConsumptionPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38913,14 +39282,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_circuits_utilization_post_request = graphiant_sdk.V2MonitoringCircuitsUtilizationPostRequest() # V2MonitoringCircuitsUtilizationPostRequest | + v2_extranet_service_overtime_consumption_post_request = graphiant_sdk.V2ExtranetServiceOvertimeConsumptionPostRequest() # V2ExtranetServiceOvertimeConsumptionPostRequest | try: - api_response = api_instance.v2_monitoring_circuits_utilization_post(authorization, v2_monitoring_circuits_utilization_post_request) - print("The response of DefaultApi->v2_monitoring_circuits_utilization_post:\n") + api_response = api_instance.v2_extranet_service_overtime_consumption_post(authorization, v2_extranet_service_overtime_consumption_post_request) + print("The response of DefaultApi->v2_extranet_service_overtime_consumption_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_circuits_utilization_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranet_service_overtime_consumption_post: %s\n" % e) ``` @@ -38931,11 +39300,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_circuits_utilization_post_request** | [**V2MonitoringCircuitsUtilizationPostRequest**](V2MonitoringCircuitsUtilizationPostRequest.md)| | + **v2_extranet_service_overtime_consumption_post_request** | [**V2ExtranetServiceOvertimeConsumptionPostRequest**](V2ExtranetServiceOvertimeConsumptionPostRequest.md)| | ### Return type -[**V2MonitoringCircuitsUtilizationPostResponse**](V2MonitoringCircuitsUtilizationPostResponse.md) +[**V2ExtranetServiceOvertimeConsumptionPostResponse**](V2ExtranetServiceOvertimeConsumptionPostResponse.md) ### Authorization @@ -38954,8 +39323,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_circuits_visualization_post** -> V2MonitoringCircuitsVisualizationPostResponse v2_monitoring_circuits_visualization_post(authorization, v2_monitoring_circuits_visualization_post_request) +# **v2_extranet_sites_consumption_overview_post** +> V2ExtranetSitesConsumptionOverviewPostResponse v2_extranet_sites_consumption_overview_post(authorization, v2_extranet_sites_consumption_overview_post_request) + +Get extranet service consumption overview over timewindow ### Example @@ -38963,8 +39334,8 @@ Name | Type | Description | Notes ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_request import V2MonitoringCircuitsVisualizationPostRequest -from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_response import V2MonitoringCircuitsVisualizationPostResponse +from graphiant_sdk.models.v2_extranet_sites_consumption_overview_post_request import V2ExtranetSitesConsumptionOverviewPostRequest +from graphiant_sdk.models.v2_extranet_sites_consumption_overview_post_response import V2ExtranetSitesConsumptionOverviewPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -38990,14 +39361,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_circuits_visualization_post_request = graphiant_sdk.V2MonitoringCircuitsVisualizationPostRequest() # V2MonitoringCircuitsVisualizationPostRequest | + v2_extranet_sites_consumption_overview_post_request = graphiant_sdk.V2ExtranetSitesConsumptionOverviewPostRequest() # V2ExtranetSitesConsumptionOverviewPostRequest | try: - api_response = api_instance.v2_monitoring_circuits_visualization_post(authorization, v2_monitoring_circuits_visualization_post_request) - print("The response of DefaultApi->v2_monitoring_circuits_visualization_post:\n") + api_response = api_instance.v2_extranet_sites_consumption_overview_post(authorization, v2_extranet_sites_consumption_overview_post_request) + print("The response of DefaultApi->v2_extranet_sites_consumption_overview_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_circuits_visualization_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranet_sites_consumption_overview_post: %s\n" % e) ``` @@ -39008,11 +39379,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_circuits_visualization_post_request** | [**V2MonitoringCircuitsVisualizationPostRequest**](V2MonitoringCircuitsVisualizationPostRequest.md)| | + **v2_extranet_sites_consumption_overview_post_request** | [**V2ExtranetSitesConsumptionOverviewPostRequest**](V2ExtranetSitesConsumptionOverviewPostRequest.md)| | ### Return type -[**V2MonitoringCircuitsVisualizationPostResponse**](V2MonitoringCircuitsVisualizationPostResponse.md) +[**V2ExtranetSitesConsumptionOverviewPostResponse**](V2ExtranetSitesConsumptionOverviewPostResponse.md) ### Authorization @@ -39031,10 +39402,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_extranet_edge_status_get** -> V2MonitoringExtranetEdgeStatusGetResponse v2_monitoring_extranet_edge_status_get(authorization, id, is_provider) +# **v2_extranet_sites_usage_post** +> V2ExtranetSitesUsagePostResponse v2_extranet_sites_usage_post(authorization, v2_extranet_sites_usage_post_request) -Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. +Get extranet service sites usage stats v2 ### Example @@ -39042,7 +39413,8 @@ Returns connectivity status for individual edges/gateways in extranet/ b2b appli ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_extranet_edge_status_get_response import V2MonitoringExtranetEdgeStatusGetResponse +from graphiant_sdk.models.v2_extranet_sites_usage_post_request import V2ExtranetSitesUsagePostRequest +from graphiant_sdk.models.v2_extranet_sites_usage_post_response import V2ExtranetSitesUsagePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -39068,15 +39440,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service - is_provider = true # bool | whether the entity is a provider or consumer + v2_extranet_sites_usage_post_request = graphiant_sdk.V2ExtranetSitesUsagePostRequest() # V2ExtranetSitesUsagePostRequest | try: - api_response = api_instance.v2_monitoring_extranet_edge_status_get(authorization, id, is_provider) - print("The response of DefaultApi->v2_monitoring_extranet_edge_status_get:\n") + api_response = api_instance.v2_extranet_sites_usage_post(authorization, v2_extranet_sites_usage_post_request) + print("The response of DefaultApi->v2_extranet_sites_usage_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_extranet_edge_status_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranet_sites_usage_post: %s\n" % e) ``` @@ -39087,12 +39458,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | - **is_provider** | **bool**| whether the entity is a provider or consumer | + **v2_extranet_sites_usage_post_request** | [**V2ExtranetSitesUsagePostRequest**](V2ExtranetSitesUsagePostRequest.md)| | ### Return type -[**V2MonitoringExtranetEdgeStatusGetResponse**](V2MonitoringExtranetEdgeStatusGetResponse.md) +[**V2ExtranetSitesUsagePostResponse**](V2ExtranetSitesUsagePostResponse.md) ### Authorization @@ -39100,7 +39470,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -39111,10 +39481,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_extranet_log_details_post** -> V2MonitoringExtranetLogDetailsPostResponse v2_monitoring_extranet_log_details_post(authorization, v2_monitoring_extranet_log_details_post_request) +# **v2_extranet_total_usage_post** +> V2ExtranetTotalUsagePostResponse v2_extranet_total_usage_post(authorization, v2_extranet_total_usage_post_request) -Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. +Get extranet service total usage stats ### Example @@ -39122,8 +39492,8 @@ Returns connectivity logs for service monitoring. Includes timestamps for when c ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_request import V2MonitoringExtranetLogDetailsPostRequest -from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_response import V2MonitoringExtranetLogDetailsPostResponse +from graphiant_sdk.models.v2_extranet_total_usage_post_request import V2ExtranetTotalUsagePostRequest +from graphiant_sdk.models.v2_extranet_total_usage_post_response import V2ExtranetTotalUsagePostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -39149,14 +39519,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - v2_monitoring_extranet_log_details_post_request = graphiant_sdk.V2MonitoringExtranetLogDetailsPostRequest() # V2MonitoringExtranetLogDetailsPostRequest | + v2_extranet_total_usage_post_request = graphiant_sdk.V2ExtranetTotalUsagePostRequest() # V2ExtranetTotalUsagePostRequest | try: - api_response = api_instance.v2_monitoring_extranet_log_details_post(authorization, v2_monitoring_extranet_log_details_post_request) - print("The response of DefaultApi->v2_monitoring_extranet_log_details_post:\n") + api_response = api_instance.v2_extranet_total_usage_post(authorization, v2_extranet_total_usage_post_request) + print("The response of DefaultApi->v2_extranet_total_usage_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_extranet_log_details_post: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranet_total_usage_post: %s\n" % e) ``` @@ -39167,11 +39537,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **v2_monitoring_extranet_log_details_post_request** | [**V2MonitoringExtranetLogDetailsPostRequest**](V2MonitoringExtranetLogDetailsPostRequest.md)| | + **v2_extranet_total_usage_post_request** | [**V2ExtranetTotalUsagePostRequest**](V2ExtranetTotalUsagePostRequest.md)| | ### Return type -[**V2MonitoringExtranetLogDetailsPostResponse**](V2MonitoringExtranetLogDetailsPostResponse.md) +[**V2ExtranetTotalUsagePostResponse**](V2ExtranetTotalUsagePostResponse.md) ### Authorization @@ -39190,10 +39560,10 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_extranet_service_status_details_get** -> V2MonitoringExtranetServiceStatusDetailsGetResponse v2_monitoring_extranet_service_status_details_get(authorization, id, is_provider) +# **v2_extranets_monitoring_consumers_post** +> V2ExtranetsMonitoringConsumersPostResponse v2_extranets_monitoring_consumers_post(authorization, v2_extranets_monitoring_consumers_post_request) -Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. +Get consumer list for b2b producer service ### Example @@ -39201,7 +39571,8 @@ Returns a list of Site-to-ServerIPAddress statuses for a particular producer of ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_extranet_service_status_details_get_response import V2MonitoringExtranetServiceStatusDetailsGetResponse +from graphiant_sdk.models.v2_extranets_monitoring_consumers_post_request import V2ExtranetsMonitoringConsumersPostRequest +from graphiant_sdk.models.v2_extranets_monitoring_consumers_post_response import V2ExtranetsMonitoringConsumersPostResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -39227,15 +39598,14 @@ with graphiant_sdk.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = graphiant_sdk.DefaultApi(api_client) authorization = 'authorization_example' # str | Bearer token. Format: Bearer - id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service - is_provider = true # bool | whether the entity is a provider or consumer + v2_extranets_monitoring_consumers_post_request = graphiant_sdk.V2ExtranetsMonitoringConsumersPostRequest() # V2ExtranetsMonitoringConsumersPostRequest | try: - api_response = api_instance.v2_monitoring_extranet_service_status_details_get(authorization, id, is_provider) - print("The response of DefaultApi->v2_monitoring_extranet_service_status_details_get:\n") + api_response = api_instance.v2_extranets_monitoring_consumers_post(authorization, v2_extranets_monitoring_consumers_post_request) + print("The response of DefaultApi->v2_extranets_monitoring_consumers_post:\n") pprint(api_response) except Exception as e: - print("Exception when calling DefaultApi->v2_monitoring_extranet_service_status_details_get: %s\n" % e) + print("Exception when calling DefaultApi->v2_extranets_monitoring_consumers_post: %s\n" % e) ``` @@ -39246,12 +39616,11 @@ with graphiant_sdk.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | - **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | - **is_provider** | **bool**| whether the entity is a provider or consumer | + **v2_extranets_monitoring_consumers_post_request** | [**V2ExtranetsMonitoringConsumersPostRequest**](V2ExtranetsMonitoringConsumersPostRequest.md)| | ### Return type -[**V2MonitoringExtranetServiceStatusDetailsGetResponse**](V2MonitoringExtranetServiceStatusDetailsGetResponse.md) +[**V2ExtranetsMonitoringConsumersPostResponse**](V2ExtranetsMonitoringConsumersPostResponse.md) ### Authorization @@ -39259,7 +39628,7 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **Content-Type**: application/json - **Accept**: application/json ### HTTP response details @@ -39270,10 +39639,8 @@ Name | Type | Description | Notes [[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) -# **v2_monitoring_extranet_service_status_get** -> V2MonitoringExtranetServiceStatusGetResponse v2_monitoring_extranet_service_status_get(authorization, id, is_provider) - -Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. +# **v2_integration_getall_enterprise_id_get** +> V2IntegrationGetallEnterpriseIdGetResponse v2_integration_getall_enterprise_id_get(authorization, enterprise_id) ### Example @@ -39281,7 +39648,1093 @@ Returns a list of Status objects indicating the availability/reachability of all ```python import graphiant_sdk -from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse +from graphiant_sdk.models.v2_integration_getall_enterprise_id_get_response import V2IntegrationGetallEnterpriseIdGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + enterprise_id = 1234567891011 # int | Enterprise id + + try: + api_response = api_instance.v2_integration_getall_enterprise_id_get(authorization, enterprise_id) + print("The response of DefaultApi->v2_integration_getall_enterprise_id_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_integration_getall_enterprise_id_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **enterprise_id** | **int**| Enterprise id | + +### Return type + +[**V2IntegrationGetallEnterpriseIdGetResponse**](V2IntegrationGetallEnterpriseIdGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_integration_integration_id_delete** +> object v2_integration_integration_id_delete(authorization, integration_id) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + integration_id = 1234567891011 # int | ID of the integration to be deleted + + try: + api_response = api_instance.v2_integration_integration_id_delete(authorization, integration_id) + print("The response of DefaultApi->v2_integration_integration_id_delete:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_integration_integration_id_delete: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **integration_id** | **int**| ID of the integration to be deleted | + +### Return type + +**object** + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_integration_integration_id_put** +> object v2_integration_integration_id_put(authorization, integration_id, v2_integration_integration_id_put_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_integration_integration_id_put_request import V2IntegrationIntegrationIdPutRequest +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + integration_id = 1234567891011 # int | integration id + v2_integration_integration_id_put_request = graphiant_sdk.V2IntegrationIntegrationIdPutRequest() # V2IntegrationIntegrationIdPutRequest | + + try: + api_response = api_instance.v2_integration_integration_id_put(authorization, integration_id, v2_integration_integration_id_put_request) + print("The response of DefaultApi->v2_integration_integration_id_put:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_integration_integration_id_put: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **integration_id** | **int**| integration id | + **v2_integration_integration_id_put_request** | [**V2IntegrationIntegrationIdPutRequest**](V2IntegrationIntegrationIdPutRequest.md)| | + +### Return type + +**object** + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_integration_post** +> V2IntegrationPostResponse v2_integration_post(authorization, v2_integration_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_integration_post_request import V2IntegrationPostRequest +from graphiant_sdk.models.v2_integration_post_response import V2IntegrationPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_integration_post_request = graphiant_sdk.V2IntegrationPostRequest() # V2IntegrationPostRequest | + + try: + api_response = api_instance.v2_integration_post(authorization, v2_integration_post_request) + print("The response of DefaultApi->v2_integration_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_integration_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_integration_post_request** | [**V2IntegrationPostRequest**](V2IntegrationPostRequest.md)| | + +### Return type + +[**V2IntegrationPostResponse**](V2IntegrationPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_integration_test_enterprise_id_integration_id_get** +> object v2_integration_test_enterprise_id_integration_id_get(authorization, enterprise_id, integration_id) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + enterprise_id = 1234567891011 # int | Enterprise id + integration_id = 1234567891011 # int | Integration id + + try: + api_response = api_instance.v2_integration_test_enterprise_id_integration_id_get(authorization, enterprise_id, integration_id) + print("The response of DefaultApi->v2_integration_test_enterprise_id_integration_id_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_integration_test_enterprise_id_integration_id_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **enterprise_id** | **int**| Enterprise id | + **integration_id** | **int**| Integration id | + +### Return type + +**object** + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_bfd_post** +> V2MonitoringBfdPostResponse v2_monitoring_bfd_post(authorization, v2_monitoring_bfd_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_bfd_post_request import V2MonitoringBfdPostRequest +from graphiant_sdk.models.v2_monitoring_bfd_post_response import V2MonitoringBfdPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_bfd_post_request = graphiant_sdk.V2MonitoringBfdPostRequest() # V2MonitoringBfdPostRequest | + + try: + api_response = api_instance.v2_monitoring_bfd_post(authorization, v2_monitoring_bfd_post_request) + print("The response of DefaultApi->v2_monitoring_bfd_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_bfd_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_bfd_post_request** | [**V2MonitoringBfdPostRequest**](V2MonitoringBfdPostRequest.md)| | + +### Return type + +[**V2MonitoringBfdPostResponse**](V2MonitoringBfdPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_bgp_post** +> V2MonitoringBgpPostResponse v2_monitoring_bgp_post(authorization, v2_monitoring_bgp_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_bgp_post_request import V2MonitoringBgpPostRequest +from graphiant_sdk.models.v2_monitoring_bgp_post_response import V2MonitoringBgpPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_bgp_post_request = graphiant_sdk.V2MonitoringBgpPostRequest() # V2MonitoringBgpPostRequest | + + try: + api_response = api_instance.v2_monitoring_bgp_post(authorization, v2_monitoring_bgp_post_request) + print("The response of DefaultApi->v2_monitoring_bgp_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_bgp_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_bgp_post_request** | [**V2MonitoringBgpPostRequest**](V2MonitoringBgpPostRequest.md)| | + +### Return type + +[**V2MonitoringBgpPostResponse**](V2MonitoringBgpPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_circuits_bandwidth_post** +> V2MonitoringCircuitsBandwidthPostResponse v2_monitoring_circuits_bandwidth_post(authorization, v2_monitoring_circuits_bandwidth_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_circuits_bandwidth_post_request import V2MonitoringCircuitsBandwidthPostRequest +from graphiant_sdk.models.v2_monitoring_circuits_bandwidth_post_response import V2MonitoringCircuitsBandwidthPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_circuits_bandwidth_post_request = graphiant_sdk.V2MonitoringCircuitsBandwidthPostRequest() # V2MonitoringCircuitsBandwidthPostRequest | + + try: + api_response = api_instance.v2_monitoring_circuits_bandwidth_post(authorization, v2_monitoring_circuits_bandwidth_post_request) + print("The response of DefaultApi->v2_monitoring_circuits_bandwidth_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_circuits_bandwidth_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_circuits_bandwidth_post_request** | [**V2MonitoringCircuitsBandwidthPostRequest**](V2MonitoringCircuitsBandwidthPostRequest.md)| | + +### Return type + +[**V2MonitoringCircuitsBandwidthPostResponse**](V2MonitoringCircuitsBandwidthPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_circuits_summary_post** +> V2MonitoringCircuitsSummaryPostResponse v2_monitoring_circuits_summary_post(authorization, v2_monitoring_circuits_summary_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_circuits_summary_post_request import V2MonitoringCircuitsSummaryPostRequest +from graphiant_sdk.models.v2_monitoring_circuits_summary_post_response import V2MonitoringCircuitsSummaryPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_circuits_summary_post_request = graphiant_sdk.V2MonitoringCircuitsSummaryPostRequest() # V2MonitoringCircuitsSummaryPostRequest | + + try: + api_response = api_instance.v2_monitoring_circuits_summary_post(authorization, v2_monitoring_circuits_summary_post_request) + print("The response of DefaultApi->v2_monitoring_circuits_summary_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_circuits_summary_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_circuits_summary_post_request** | [**V2MonitoringCircuitsSummaryPostRequest**](V2MonitoringCircuitsSummaryPostRequest.md)| | + +### Return type + +[**V2MonitoringCircuitsSummaryPostResponse**](V2MonitoringCircuitsSummaryPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_circuits_utilization_post** +> V2MonitoringCircuitsUtilizationPostResponse v2_monitoring_circuits_utilization_post(authorization, v2_monitoring_circuits_utilization_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_circuits_utilization_post_request import V2MonitoringCircuitsUtilizationPostRequest +from graphiant_sdk.models.v2_monitoring_circuits_utilization_post_response import V2MonitoringCircuitsUtilizationPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_circuits_utilization_post_request = graphiant_sdk.V2MonitoringCircuitsUtilizationPostRequest() # V2MonitoringCircuitsUtilizationPostRequest | + + try: + api_response = api_instance.v2_monitoring_circuits_utilization_post(authorization, v2_monitoring_circuits_utilization_post_request) + print("The response of DefaultApi->v2_monitoring_circuits_utilization_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_circuits_utilization_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_circuits_utilization_post_request** | [**V2MonitoringCircuitsUtilizationPostRequest**](V2MonitoringCircuitsUtilizationPostRequest.md)| | + +### Return type + +[**V2MonitoringCircuitsUtilizationPostResponse**](V2MonitoringCircuitsUtilizationPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_circuits_visualization_post** +> V2MonitoringCircuitsVisualizationPostResponse v2_monitoring_circuits_visualization_post(authorization, v2_monitoring_circuits_visualization_post_request) + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_request import V2MonitoringCircuitsVisualizationPostRequest +from graphiant_sdk.models.v2_monitoring_circuits_visualization_post_response import V2MonitoringCircuitsVisualizationPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_circuits_visualization_post_request = graphiant_sdk.V2MonitoringCircuitsVisualizationPostRequest() # V2MonitoringCircuitsVisualizationPostRequest | + + try: + api_response = api_instance.v2_monitoring_circuits_visualization_post(authorization, v2_monitoring_circuits_visualization_post_request) + print("The response of DefaultApi->v2_monitoring_circuits_visualization_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_circuits_visualization_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_circuits_visualization_post_request** | [**V2MonitoringCircuitsVisualizationPostRequest**](V2MonitoringCircuitsVisualizationPostRequest.md)| | + +### Return type + +[**V2MonitoringCircuitsVisualizationPostResponse**](V2MonitoringCircuitsVisualizationPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_extranet_edge_status_get** +> V2MonitoringExtranetEdgeStatusGetResponse v2_monitoring_extranet_edge_status_get(authorization, id, is_provider) + +Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_extranet_edge_status_get_response import V2MonitoringExtranetEdgeStatusGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer + + try: + api_response = api_instance.v2_monitoring_extranet_edge_status_get(authorization, id, is_provider) + print("The response of DefaultApi->v2_monitoring_extranet_edge_status_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_extranet_edge_status_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | + +### Return type + +[**V2MonitoringExtranetEdgeStatusGetResponse**](V2MonitoringExtranetEdgeStatusGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_extranet_log_details_post** +> V2MonitoringExtranetLogDetailsPostResponse v2_monitoring_extranet_log_details_post(authorization, v2_monitoring_extranet_log_details_post_request) + +Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_request import V2MonitoringExtranetLogDetailsPostRequest +from graphiant_sdk.models.v2_monitoring_extranet_log_details_post_response import V2MonitoringExtranetLogDetailsPostResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + v2_monitoring_extranet_log_details_post_request = graphiant_sdk.V2MonitoringExtranetLogDetailsPostRequest() # V2MonitoringExtranetLogDetailsPostRequest | + + try: + api_response = api_instance.v2_monitoring_extranet_log_details_post(authorization, v2_monitoring_extranet_log_details_post_request) + print("The response of DefaultApi->v2_monitoring_extranet_log_details_post:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_extranet_log_details_post: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **v2_monitoring_extranet_log_details_post_request** | [**V2MonitoringExtranetLogDetailsPostRequest**](V2MonitoringExtranetLogDetailsPostRequest.md)| | + +### Return type + +[**V2MonitoringExtranetLogDetailsPostResponse**](V2MonitoringExtranetLogDetailsPostResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_extranet_service_status_details_get** +> V2MonitoringExtranetServiceStatusDetailsGetResponse v2_monitoring_extranet_service_status_details_get(authorization, id, is_provider) + +Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_extranet_service_status_details_get_response import V2MonitoringExtranetServiceStatusDetailsGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + id = 1 # int | the id associated with an entity - consumer_id for consumer, and service_id for the producer/service + is_provider = true # bool | whether the entity is a provider or consumer + + try: + api_response = api_instance.v2_monitoring_extranet_service_status_details_get(authorization, id, is_provider) + print("The response of DefaultApi->v2_monitoring_extranet_service_status_details_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_extranet_service_status_details_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + **id** | **int**| the id associated with an entity - consumer_id for consumer, and service_id for the producer/service | + **is_provider** | **bool**| whether the entity is a provider or consumer | + +### Return type + +[**V2MonitoringExtranetServiceStatusDetailsGetResponse**](V2MonitoringExtranetServiceStatusDetailsGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + +# **v2_monitoring_extranet_service_status_get** +> V2MonitoringExtranetServiceStatusGetResponse v2_monitoring_extranet_service_status_get(authorization, id, is_provider) + +Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse from graphiant_sdk.rest import ApiException from pprint import pprint @@ -39514,6 +40967,82 @@ Name | Type | Description | Notes [[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) +# **v2_monitoring_fec_stats_get** +> V2MonitoringFecStatsGetResponse v2_monitoring_fec_stats_get(authorization) + +Returns the FEC stats for the given device + +### Example + +* Api Key Authentication (jwtAuth): + +```python +import graphiant_sdk +from graphiant_sdk.models.v2_monitoring_fec_stats_get_response import V2MonitoringFecStatsGetResponse +from graphiant_sdk.rest import ApiException +from pprint import pprint + +# Defining the host is optional and defaults to https://api.graphiant.com +# See configuration.py for a list of all supported configuration parameters. +configuration = graphiant_sdk.Configuration( + host = "https://api.graphiant.com" +) + +# The client must configure the authentication and authorization parameters +# in accordance with the API server security policy. +# Examples for each auth method are provided below, use the example that +# satisfies your auth use case. + +# Configure API key authorization: jwtAuth +configuration.api_key['jwtAuth'] = os.environ["API_KEY"] + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['jwtAuth'] = 'Bearer' + +# Enter a context with an instance of the API client +with graphiant_sdk.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = graphiant_sdk.DefaultApi(api_client) + authorization = 'authorization_example' # str | Bearer token. Format: Bearer + + try: + api_response = api_instance.v2_monitoring_fec_stats_get(authorization) + print("The response of DefaultApi->v2_monitoring_fec_stats_get:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling DefaultApi->v2_monitoring_fec_stats_get: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **authorization** | **str**| Bearer token. Format: Bearer <your_token_here> | + +### Return type + +[**V2MonitoringFecStatsGetResponse**](V2MonitoringFecStatsGetResponse.md) + +### Authorization + +[jwtAuth](../README.md#jwtAuth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | OK | - | + +[[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) + # **v2_monitoring_ike_error_history_post** > V2MonitoringIkeErrorHistoryPostResponse v2_monitoring_ike_error_history_post(authorization, v2_monitoring_ike_error_history_post_request) diff --git a/docs/IamEnterprise.md b/docs/IamEnterprise.md index 3e7e91c5..2d71a9e8 100644 --- a/docs/IamEnterprise.md +++ b/docs/IamEnterprise.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **accept_eula** | **bool** | | [optional] **account_type** | **str** | | [optional] **admin_email** | **str** | | [optional] +**backbone_apis_enabled** | **bool** | | [optional] **cloud_provider** | **str** | | [optional] **company_name** | **str** | | [optional] **counts** | [**IamCounts**](IamCounts.md) | | [optional] diff --git a/docs/ManaV2PublicVifGatewayWriteRequest.md b/docs/ManaV2PublicVifGatewayWriteRequest.md index 5912370d..f1246902 100644 --- a/docs/ManaV2PublicVifGatewayWriteRequest.md +++ b/docs/ManaV2PublicVifGatewayWriteRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **lan_segment_id** | **int** | Producer LAN segment (VRF) on gateway appliances (required) | **nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | **region_id** | **int** | Graphiant region for gateway appliances (required) | -**service_name** | **str** | Service display name (required) | +**service_name** | **str** | Producer service name (letters, digits, hyphens only) (required) | **storage_provider** | **str** | Storage provider; each gateway appliance must match region and provider (required) | ## Example diff --git a/docs/SdkAutomationCatalogBundle.md b/docs/SdkAutomationCatalogBundle.md new file mode 100644 index 00000000..022cf947 --- /dev/null +++ b/docs/SdkAutomationCatalogBundle.md @@ -0,0 +1,31 @@ +# SdkAutomationCatalogBundle + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Short description of the bundle | [optional] +**key** | **str** | Stable catalog key (e.g. system_bundle); used as CreatePlaybookConfigRequest.bundle_key | [optional] +**name** | **str** | Display name for the UI picklist | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_catalog_bundle import SdkAutomationCatalogBundle + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationCatalogBundle from a JSON string +sdk_automation_catalog_bundle_instance = SdkAutomationCatalogBundle.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationCatalogBundle.to_json()) + +# convert the object into a dict +sdk_automation_catalog_bundle_dict = sdk_automation_catalog_bundle_instance.to_dict() +# create an instance of SdkAutomationCatalogBundle from a dict +sdk_automation_catalog_bundle_from_dict = SdkAutomationCatalogBundle.from_dict(sdk_automation_catalog_bundle_dict) +``` +[[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/SdkAutomationCatalogModuleSlot.md b/docs/SdkAutomationCatalogModuleSlot.md new file mode 100644 index 00000000..2de2d8e8 --- /dev/null +++ b/docs/SdkAutomationCatalogModuleSlot.md @@ -0,0 +1,34 @@ +# SdkAutomationCatalogModuleSlot + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bundle_key** | **str** | Owning catalog playbook key (e.g. system_bundle) | [optional] +**description** | **str** | Short description of the module slot | [optional] +**file_distinguisher** | **str** | Top-level YAML key from playbook_catalog_module the UI uses to map an uploaded file to this module (e.g. device_system, interfaces, circuits) | [optional] +**is_required** | **bool** | When true, create/validate must include this module_key | [optional] +**module_key** | **str** | Stable catalog key from playbook_catalog_module (e.g. system_config_file); used as ModuleFile.module_key | [optional] +**name** | **str** | Display name for the module slot | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_catalog_module_slot import SdkAutomationCatalogModuleSlot + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationCatalogModuleSlot from a JSON string +sdk_automation_catalog_module_slot_instance = SdkAutomationCatalogModuleSlot.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationCatalogModuleSlot.to_json()) + +# convert the object into a dict +sdk_automation_catalog_module_slot_dict = sdk_automation_catalog_module_slot_instance.to_dict() +# create an instance of SdkAutomationCatalogModuleSlot from a dict +sdk_automation_catalog_module_slot_from_dict = SdkAutomationCatalogModuleSlot.from_dict(sdk_automation_catalog_module_slot_dict) +``` +[[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/SdkAutomationModuleFile.md b/docs/SdkAutomationModuleFile.md new file mode 100644 index 00000000..c1c7880b --- /dev/null +++ b/docs/SdkAutomationModuleFile.md @@ -0,0 +1,31 @@ +# SdkAutomationModuleFile + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**content** | **str** | YAML file contents | [optional] +**filename** | **str** | Original upload filename (informational; not used for routing) | [optional] +**module_key** | **str** | Catalog key from playbook_catalog_module (e.g. system_config_file) | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationModuleFile from a JSON string +sdk_automation_module_file_instance = SdkAutomationModuleFile.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationModuleFile.to_json()) + +# convert the object into a dict +sdk_automation_module_file_dict = sdk_automation_module_file_instance.to_dict() +# create an instance of SdkAutomationModuleFile from a dict +sdk_automation_module_file_from_dict = SdkAutomationModuleFile.from_dict(sdk_automation_module_file_dict) +``` +[[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/SdkAutomationPlaybookConfig.md b/docs/SdkAutomationPlaybookConfig.md new file mode 100644 index 00000000..dbd52e02 --- /dev/null +++ b/docs/SdkAutomationPlaybookConfig.md @@ -0,0 +1,35 @@ +# SdkAutomationPlaybookConfig + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bundle_key** | **str** | Catalog key from playbook_catalog_playbook (e.g. system_bundle) | [optional] +**config_id** | **str** | Config id | [optional] +**created_by_user_id** | **str** | IAM user id of the config creator; UI resolves the display name | [optional] +**description** | **str** | Description / deployment notes | [optional] +**files** | [**List[SdkAutomationModuleFile]**](SdkAutomationModuleFile.md) | | [optional] +**name** | **str** | Display name | [optional] +**status** | **str** | Config lifecycle status (draft / staged / paused) | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_playbook_config import SdkAutomationPlaybookConfig + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationPlaybookConfig from a JSON string +sdk_automation_playbook_config_instance = SdkAutomationPlaybookConfig.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationPlaybookConfig.to_json()) + +# convert the object into a dict +sdk_automation_playbook_config_dict = sdk_automation_playbook_config_instance.to_dict() +# create an instance of SdkAutomationPlaybookConfig from a dict +sdk_automation_playbook_config_from_dict = SdkAutomationPlaybookConfig.from_dict(sdk_automation_playbook_config_dict) +``` +[[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/SdkAutomationPlaybookConfigSummary.md b/docs/SdkAutomationPlaybookConfigSummary.md new file mode 100644 index 00000000..3a7ee429 --- /dev/null +++ b/docs/SdkAutomationPlaybookConfigSummary.md @@ -0,0 +1,38 @@ +# SdkAutomationPlaybookConfigSummary + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config_id** | **str** | Config id | [optional] +**created_by_user_id** | **str** | IAM user id of the config creator; UI resolves the display name | [optional] +**job_status** | **str** | Latest run status; unset when the config has no run yet | [optional] +**name** | **str** | Display name | [optional] +**run_id** | **str** | Latest job id for this config; empty if never run | [optional] +**run_number** | **int** | Per-config run counter; 0 if never run | [optional] +**started_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**started_by_user_id** | **str** | IAM user id of who launched the latest run | [optional] +**status** | **str** | Config lifecycle status | [optional] +**updated_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_playbook_config_summary import SdkAutomationPlaybookConfigSummary + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationPlaybookConfigSummary from a JSON string +sdk_automation_playbook_config_summary_instance = SdkAutomationPlaybookConfigSummary.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationPlaybookConfigSummary.to_json()) + +# convert the object into a dict +sdk_automation_playbook_config_summary_dict = sdk_automation_playbook_config_summary_instance.to_dict() +# create an instance of SdkAutomationPlaybookConfigSummary from a dict +sdk_automation_playbook_config_summary_from_dict = SdkAutomationPlaybookConfigSummary.from_dict(sdk_automation_playbook_config_summary_dict) +``` +[[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/SdkAutomationPlaybookJob.md b/docs/SdkAutomationPlaybookJob.md new file mode 100644 index 00000000..3e0a4033 --- /dev/null +++ b/docs/SdkAutomationPlaybookJob.md @@ -0,0 +1,48 @@ +# SdkAutomationPlaybookJob + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collection_version** | **str** | graphiant.naas collection version used for this run | [optional] +**config_description** | **str** | Config description / notes frozen at job creation (from config_snapshot); empty for older jobs | [optional] +**config_id** | **str** | Owning playbook config id | [optional] +**config_name** | **str** | Config display name frozen at job creation (from config_snapshot); empty for older jobs | [optional] +**deploy_ended_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**deploy_started_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**dry_run_ended_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**dry_run_started_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**failed_phase** | **str** | When status is FAILED, which phase failed; unset when not failed | [optional] +**job_id** | **str** | Unique id of this playbook job run | [optional] +**logs_available** | **bool** | True when ansible logs are available for this run | [optional] +**post_deploy_check_started_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**run_duration_ms** | **int** | Wall-clock duration in milliseconds from dry_run_started_at to run_ended_at; unset until run_ended_at is set | [optional] +**run_ended_at** | [**GoogleProtobufTimestamp**](GoogleProtobufTimestamp.md) | | [optional] +**run_number** | **int** | Per-config run counter (1-based for started runs) | [optional] +**runner_job_id** | **str** | External ansible runner job id, if the backend assigned one | [optional] +**sdk_version** | **str** | SDK version used for this run | [optional] +**started_by_user_id** | **str** | IAM UserInfo.user_id of who started this run; UI resolves the display name | [optional] +**status** | **str** | Gated pipeline state (dry-run / deploy / post-deploy-check) | [optional] +**verbose_logs** | **bool** | Whether ansible -vvv was requested for the latest phase of this run | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationPlaybookJob from a JSON string +sdk_automation_playbook_job_instance = SdkAutomationPlaybookJob.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationPlaybookJob.to_json()) + +# convert the object into a dict +sdk_automation_playbook_job_dict = sdk_automation_playbook_job_instance.to_dict() +# create an instance of SdkAutomationPlaybookJob from a dict +sdk_automation_playbook_job_from_dict = SdkAutomationPlaybookJob.from_dict(sdk_automation_playbook_job_dict) +``` +[[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/SdkAutomationTemplateFile.md b/docs/SdkAutomationTemplateFile.md new file mode 100644 index 00000000..39b9a05f --- /dev/null +++ b/docs/SdkAutomationTemplateFile.md @@ -0,0 +1,32 @@ +# SdkAutomationTemplateFile + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**content** | **str** | File contents, verbatim from the collection | [optional] +**filename** | **str** | Suggested download name (e.g. sample_interface_config.yaml) | [optional] +**module_key** | **str** | Catalog module key; empty for the bundle-level playbook not scoped to a slot | [optional] +**source_path** | **str** | Path within the collection for provenance (e.g. playbooks/interface_management.yml) | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_template_file import SdkAutomationTemplateFile + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationTemplateFile from a JSON string +sdk_automation_template_file_instance = SdkAutomationTemplateFile.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationTemplateFile.to_json()) + +# convert the object into a dict +sdk_automation_template_file_dict = sdk_automation_template_file_instance.to_dict() +# create an instance of SdkAutomationTemplateFile from a dict +sdk_automation_template_file_from_dict = SdkAutomationTemplateFile.from_dict(sdk_automation_template_file_dict) +``` +[[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/SdkAutomationValidationError.md b/docs/SdkAutomationValidationError.md new file mode 100644 index 00000000..babb4ff6 --- /dev/null +++ b/docs/SdkAutomationValidationError.md @@ -0,0 +1,31 @@ +# SdkAutomationValidationError + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **str** | Human-readable validation error detail | [optional] +**module_key** | **str** | Catalog module key when the error is scoped to a module; unset otherwise | [optional] +**type** | **str** | Error category (syntax or schema) | [optional] + +## Example + +```python +from graphiant_sdk.models.sdk_automation_validation_error import SdkAutomationValidationError + +# TODO update the JSON string below +json = "{}" +# create an instance of SdkAutomationValidationError from a JSON string +sdk_automation_validation_error_instance = SdkAutomationValidationError.from_json(json) +# print the JSON string representation of the object +print(SdkAutomationValidationError.to_json()) + +# convert the object into a dict +sdk_automation_validation_error_dict = sdk_automation_validation_error_instance.to_dict() +# create an instance of SdkAutomationValidationError from a dict +sdk_automation_validation_error_from_dict = SdkAutomationValidationError.from_dict(sdk_automation_validation_error_dict) +``` +[[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/StatsmonV2FecRxRepairLevel.md b/docs/StatsmonV2FecRxRepairLevel.md new file mode 100644 index 00000000..080de087 --- /dev/null +++ b/docs/StatsmonV2FecRxRepairLevel.md @@ -0,0 +1,29 @@ +# StatsmonV2FecRxRepairLevel + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**repair_level** | [**List[StatsmonV2RepairLevel]**](StatsmonV2RepairLevel.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.statsmon_v2_fec_rx_repair_level import StatsmonV2FecRxRepairLevel + +# TODO update the JSON string below +json = "{}" +# create an instance of StatsmonV2FecRxRepairLevel from a JSON string +statsmon_v2_fec_rx_repair_level_instance = StatsmonV2FecRxRepairLevel.from_json(json) +# print the JSON string representation of the object +print(StatsmonV2FecRxRepairLevel.to_json()) + +# convert the object into a dict +statsmon_v2_fec_rx_repair_level_dict = statsmon_v2_fec_rx_repair_level_instance.to_dict() +# create an instance of StatsmonV2FecRxRepairLevel from a dict +statsmon_v2_fec_rx_repair_level_from_dict = StatsmonV2FecRxRepairLevel.from_dict(statsmon_v2_fec_rx_repair_level_dict) +``` +[[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/StatsmonV2FecRxStats.md b/docs/StatsmonV2FecRxStats.md new file mode 100644 index 00000000..991f6a66 --- /dev/null +++ b/docs/StatsmonV2FecRxStats.md @@ -0,0 +1,32 @@ +# StatsmonV2FecRxStats + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**erasure_recovered_packets** | **int** | | [optional] +**erasure_unrepairable_packets** | **int** | | [optional] +**repair_level** | **float** | | [optional] +**repair_packets** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.statsmon_v2_fec_rx_stats import StatsmonV2FecRxStats + +# TODO update the JSON string below +json = "{}" +# create an instance of StatsmonV2FecRxStats from a JSON string +statsmon_v2_fec_rx_stats_instance = StatsmonV2FecRxStats.from_json(json) +# print the JSON string representation of the object +print(StatsmonV2FecRxStats.to_json()) + +# convert the object into a dict +statsmon_v2_fec_rx_stats_dict = statsmon_v2_fec_rx_stats_instance.to_dict() +# create an instance of StatsmonV2FecRxStats from a dict +statsmon_v2_fec_rx_stats_from_dict = StatsmonV2FecRxStats.from_dict(statsmon_v2_fec_rx_stats_dict) +``` +[[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/StatsmonV2FecTxRepairLevel.md b/docs/StatsmonV2FecTxRepairLevel.md new file mode 100644 index 00000000..fec93cf8 --- /dev/null +++ b/docs/StatsmonV2FecTxRepairLevel.md @@ -0,0 +1,29 @@ +# StatsmonV2FecTxRepairLevel + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**repair_level** | [**List[StatsmonV2RepairLevel]**](StatsmonV2RepairLevel.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.statsmon_v2_fec_tx_repair_level import StatsmonV2FecTxRepairLevel + +# TODO update the JSON string below +json = "{}" +# create an instance of StatsmonV2FecTxRepairLevel from a JSON string +statsmon_v2_fec_tx_repair_level_instance = StatsmonV2FecTxRepairLevel.from_json(json) +# print the JSON string representation of the object +print(StatsmonV2FecTxRepairLevel.to_json()) + +# convert the object into a dict +statsmon_v2_fec_tx_repair_level_dict = statsmon_v2_fec_tx_repair_level_instance.to_dict() +# create an instance of StatsmonV2FecTxRepairLevel from a dict +statsmon_v2_fec_tx_repair_level_from_dict = StatsmonV2FecTxRepairLevel.from_dict(statsmon_v2_fec_tx_repair_level_dict) +``` +[[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/StatsmonV2FecTxStats.md b/docs/StatsmonV2FecTxStats.md new file mode 100644 index 00000000..ed0034c3 --- /dev/null +++ b/docs/StatsmonV2FecTxStats.md @@ -0,0 +1,32 @@ +# StatsmonV2FecTxStats + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**protected_packets** | **int** | | [optional] +**repair_level** | **float** | | [optional] +**sent_repair_packets** | **int** | | [optional] +**unprotected_packets** | **int** | | [optional] + +## Example + +```python +from graphiant_sdk.models.statsmon_v2_fec_tx_stats import StatsmonV2FecTxStats + +# TODO update the JSON string below +json = "{}" +# create an instance of StatsmonV2FecTxStats from a JSON string +statsmon_v2_fec_tx_stats_instance = StatsmonV2FecTxStats.from_json(json) +# print the JSON string representation of the object +print(StatsmonV2FecTxStats.to_json()) + +# convert the object into a dict +statsmon_v2_fec_tx_stats_dict = statsmon_v2_fec_tx_stats_instance.to_dict() +# create an instance of StatsmonV2FecTxStats from a dict +statsmon_v2_fec_tx_stats_from_dict = StatsmonV2FecTxStats.from_dict(statsmon_v2_fec_tx_stats_dict) +``` +[[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/StatsmonV2RepairLevel.md b/docs/StatsmonV2RepairLevel.md new file mode 100644 index 00000000..57cfa940 --- /dev/null +++ b/docs/StatsmonV2RepairLevel.md @@ -0,0 +1,30 @@ +# StatsmonV2RepairLevel + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sample** | [**StatsmonV2StatsSample**](StatsmonV2StatsSample.md) | | [optional] +**score** | [**StatsmonV2RepairLevelScore**](StatsmonV2RepairLevelScore.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.statsmon_v2_repair_level import StatsmonV2RepairLevel + +# TODO update the JSON string below +json = "{}" +# create an instance of StatsmonV2RepairLevel from a JSON string +statsmon_v2_repair_level_instance = StatsmonV2RepairLevel.from_json(json) +# print the JSON string representation of the object +print(StatsmonV2RepairLevel.to_json()) + +# convert the object into a dict +statsmon_v2_repair_level_dict = statsmon_v2_repair_level_instance.to_dict() +# create an instance of StatsmonV2RepairLevel from a dict +statsmon_v2_repair_level_from_dict = StatsmonV2RepairLevel.from_dict(statsmon_v2_repair_level_dict) +``` +[[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/StatsmonV2RepairLevelScore.md b/docs/StatsmonV2RepairLevelScore.md new file mode 100644 index 00000000..02fe2f68 --- /dev/null +++ b/docs/StatsmonV2RepairLevelScore.md @@ -0,0 +1,31 @@ +# StatsmonV2RepairLevelScore + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**jitter** | **float** | | [optional] +**latency** | **float** | | [optional] +**loss** | **float** | | [optional] + +## Example + +```python +from graphiant_sdk.models.statsmon_v2_repair_level_score import StatsmonV2RepairLevelScore + +# TODO update the JSON string below +json = "{}" +# create an instance of StatsmonV2RepairLevelScore from a JSON string +statsmon_v2_repair_level_score_instance = StatsmonV2RepairLevelScore.from_json(json) +# print the JSON string representation of the object +print(StatsmonV2RepairLevelScore.to_json()) + +# convert the object into a dict +statsmon_v2_repair_level_score_dict = statsmon_v2_repair_level_score_instance.to_dict() +# create an instance of StatsmonV2RepairLevelScore from a dict +statsmon_v2_repair_level_score_from_dict = StatsmonV2RepairLevelScore.from_dict(statsmon_v2_repair_level_score_dict) +``` +[[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/V1EdgesSummaryPostRequest.md b/docs/V1EdgesSummaryPostRequest.md index 88481e3c..b9b58884 100644 --- a/docs/V1EdgesSummaryPostRequest.md +++ b/docs/V1EdgesSummaryPostRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **filter** | [**V1EdgesSummaryPostRequestFilter**](V1EdgesSummaryPostRequestFilter.md) | | [optional] +**show_excluded** | **bool** | Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. | [optional] ## Example diff --git a/docs/V1EnterprisesPatchRequest.md b/docs/V1EnterprisesPatchRequest.md index 90d2923f..85c2182c 100644 --- a/docs/V1EnterprisesPatchRequest.md +++ b/docs/V1EnterprisesPatchRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **admin_email** | **str** | | [optional] +**backbone_apis_enabled** | **bool** | | [optional] **cloud_provider** | **str** | | [optional] **company_name** | **str** | | [optional] **credit_limit** | **int** | | [optional] diff --git a/docs/V1ExtranetB2bProducerPostRequest.md b/docs/V1ExtranetB2bProducerPostRequest.md index 0e0b33d2..89d20dd8 100644 --- a/docs/V1ExtranetB2bProducerPostRequest.md +++ b/docs/V1ExtranetB2bProducerPostRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **policy** | [**ManaV2ExtranetServiceProducerPolicy**](ManaV2ExtranetServiceProducerPolicy.md) | | -**service_name** | **str** | (required) | +**service_name** | **str** | Producer service name (letters, digits, hyphens only) (required) | **service_type** | **str** | Branded extranet service type (peering_service, client_to_server, …) (required) | ## Example diff --git a/docs/V1ExtranetB2bProducerReviewPostRequest.md b/docs/V1ExtranetB2bProducerReviewPostRequest.md index 993bedf9..0a7ceba7 100644 --- a/docs/V1ExtranetB2bProducerReviewPostRequest.md +++ b/docs/V1ExtranetB2bProducerReviewPostRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **policy** | [**ManaV2ExtranetServiceProducerPolicy**](ManaV2ExtranetServiceProducerPolicy.md) | | -**service_name** | **str** | (required) | +**service_name** | **str** | Producer service name (letters, digits, hyphens only) (required) | **service_type** | **str** | Branded extranet service type (peering_service, client_to_server, …) (required) | ## Example diff --git a/docs/V1PvifPostRequest.md b/docs/V1PvifPostRequest.md index db7cc4b8..242d73dd 100644 --- a/docs/V1PvifPostRequest.md +++ b/docs/V1PvifPostRequest.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **lan_segment_id** | **int** | Producer LAN segment (VRF) on gateway appliances (required) | **nat_prefix_strategy** | [**ManaV2PublicVifGatewayNatPrefixStrategy**](ManaV2PublicVifGatewayNatPrefixStrategy.md) | | **region_id** | **int** | Graphiant region for gateway appliances (required) | -**service_name** | **str** | Service display name (required) | +**service_name** | **str** | Producer service name (letters, digits, hyphens only) (required) | **storage_provider** | **str** | Storage provider; each gateway appliance must match region and provider (required) | ## Example diff --git a/docs/V1SdkAutomationPlaybookBundlesGetResponse.md b/docs/V1SdkAutomationPlaybookBundlesGetResponse.md new file mode 100644 index 00000000..a19f8b2c --- /dev/null +++ b/docs/V1SdkAutomationPlaybookBundlesGetResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookBundlesGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bundles** | [**List[SdkAutomationCatalogBundle]**](SdkAutomationCatalogBundle.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_bundles_get_response import V1SdkAutomationPlaybookBundlesGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookBundlesGetResponse from a JSON string +v1_sdk_automation_playbook_bundles_get_response_instance = V1SdkAutomationPlaybookBundlesGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookBundlesGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_bundles_get_response_dict = v1_sdk_automation_playbook_bundles_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookBundlesGetResponse from a dict +v1_sdk_automation_playbook_bundles_get_response_from_dict = V1SdkAutomationPlaybookBundlesGetResponse.from_dict(v1_sdk_automation_playbook_bundles_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.md new file mode 100644 index 00000000..5aa5f863 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**job** | [**SdkAutomationPlaybookJob**](SdkAutomationPlaybookJob.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_get_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse from a JSON string +v1_sdk_automation_playbook_configs_config_id_dry_run_get_response_instance = V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_dry_run_get_response_dict = v1_sdk_automation_playbook_configs_config_id_dry_run_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse from a dict +v1_sdk_automation_playbook_configs_config_id_dry_run_get_response_from_dict = V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse.from_dict(v1_sdk_automation_playbook_configs_config_id_dry_run_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.md new file mode 100644 index 00000000..d876cc61 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**verbose_logs** | **bool** | When true, request ansible -vvv for this dry-run | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_request import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest from a JSON string +v1_sdk_automation_playbook_configs_config_id_dry_run_post_request_instance = V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_dry_run_post_request_dict = v1_sdk_automation_playbook_configs_config_id_dry_run_post_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest from a dict +v1_sdk_automation_playbook_configs_config_id_dry_run_post_request_from_dict = V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest.from_dict(v1_sdk_automation_playbook_configs_config_id_dry_run_post_request_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.md new file mode 100644 index 00000000..17c09c5d --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**job_id** | **str** | Created job id for the dry-run | [optional] +**status** | **str** | Initial job status after enqueue (typically QUEUED or DRY_RUNNING) | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse from a JSON string +v1_sdk_automation_playbook_configs_config_id_dry_run_post_response_instance = V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_dry_run_post_response_dict = v1_sdk_automation_playbook_configs_config_id_dry_run_post_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse from a dict +v1_sdk_automation_playbook_configs_config_id_dry_run_post_response_from_dict = V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse.from_dict(v1_sdk_automation_playbook_configs_config_id_dry_run_post_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdGetResponse.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdGetResponse.md new file mode 100644 index 00000000..30f04c27 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdGetResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookConfigsConfigIdGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config** | [**SdkAutomationPlaybookConfig**](SdkAutomationPlaybookConfig.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_get_response import V1SdkAutomationPlaybookConfigsConfigIdGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdGetResponse from a JSON string +v1_sdk_automation_playbook_configs_config_id_get_response_instance = V1SdkAutomationPlaybookConfigsConfigIdGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_get_response_dict = v1_sdk_automation_playbook_configs_config_id_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdGetResponse from a dict +v1_sdk_automation_playbook_configs_config_id_get_response_from_dict = V1SdkAutomationPlaybookConfigsConfigIdGetResponse.from_dict(v1_sdk_automation_playbook_configs_config_id_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdPutRequest.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdPutRequest.md new file mode 100644 index 00000000..8f94be6d --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdPutRequest.md @@ -0,0 +1,31 @@ +# V1SdkAutomationPlaybookConfigsConfigIdPutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Optional description / notes update | [optional] +**files** | [**List[SdkAutomationModuleFile]**](SdkAutomationModuleFile.md) | | [optional] +**name** | **str** | Optional display name update | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_request import V1SdkAutomationPlaybookConfigsConfigIdPutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutRequest from a JSON string +v1_sdk_automation_playbook_configs_config_id_put_request_instance = V1SdkAutomationPlaybookConfigsConfigIdPutRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdPutRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_put_request_dict = v1_sdk_automation_playbook_configs_config_id_put_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutRequest from a dict +v1_sdk_automation_playbook_configs_config_id_put_request_from_dict = V1SdkAutomationPlaybookConfigsConfigIdPutRequest.from_dict(v1_sdk_automation_playbook_configs_config_id_put_request_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdPutResponse.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdPutResponse.md new file mode 100644 index 00000000..0058b361 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdPutResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookConfigsConfigIdPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**errors** | [**List[SdkAutomationValidationError]**](SdkAutomationValidationError.md) | | [optional] +**is_valid** | **bool** | True when validation succeeded and the update was applied | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_response import V1SdkAutomationPlaybookConfigsConfigIdPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutResponse from a JSON string +v1_sdk_automation_playbook_configs_config_id_put_response_instance = V1SdkAutomationPlaybookConfigsConfigIdPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdPutResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_put_response_dict = v1_sdk_automation_playbook_configs_config_id_put_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutResponse from a dict +v1_sdk_automation_playbook_configs_config_id_put_response_from_dict = V1SdkAutomationPlaybookConfigsConfigIdPutResponse.from_dict(v1_sdk_automation_playbook_configs_config_id_put_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.md new file mode 100644 index 00000000..758e902b --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **str** | Deployment notes shown in the pending-executions UI | [optional] +**name** | **str** | Required display name for the staged config | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_request import V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest from a JSON string +v1_sdk_automation_playbook_configs_config_id_stage_put_request_instance = V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_stage_put_request_dict = v1_sdk_automation_playbook_configs_config_id_stage_put_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest from a dict +v1_sdk_automation_playbook_configs_config_id_stage_put_request_from_dict = V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest.from_dict(v1_sdk_automation_playbook_configs_config_id_stage_put_request_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.md b/docs/V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.md new file mode 100644 index 00000000..f57f4d98 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | Config status after staging (typically STAGED) | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_response import V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse from a JSON string +v1_sdk_automation_playbook_configs_config_id_stage_put_response_instance = V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_config_id_stage_put_response_dict = v1_sdk_automation_playbook_configs_config_id_stage_put_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse from a dict +v1_sdk_automation_playbook_configs_config_id_stage_put_response_from_dict = V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse.from_dict(v1_sdk_automation_playbook_configs_config_id_stage_put_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsGetResponse.md b/docs/V1SdkAutomationPlaybookConfigsGetResponse.md new file mode 100644 index 00000000..2bbbac70 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsGetResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookConfigsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**configs** | [**List[SdkAutomationPlaybookConfigSummary]**](SdkAutomationPlaybookConfigSummary.md) | | [optional] +**page_info** | [**CommonPageInfo**](CommonPageInfo.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_get_response import V1SdkAutomationPlaybookConfigsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsGetResponse from a JSON string +v1_sdk_automation_playbook_configs_get_response_instance = V1SdkAutomationPlaybookConfigsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_get_response_dict = v1_sdk_automation_playbook_configs_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsGetResponse from a dict +v1_sdk_automation_playbook_configs_get_response_from_dict = V1SdkAutomationPlaybookConfigsGetResponse.from_dict(v1_sdk_automation_playbook_configs_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsPostRequest.md b/docs/V1SdkAutomationPlaybookConfigsPostRequest.md new file mode 100644 index 00000000..f20103d4 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsPostRequest.md @@ -0,0 +1,31 @@ +# V1SdkAutomationPlaybookConfigsPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bundle_key** | **str** | Catalog key from playbook_catalog_playbook (e.g. system_bundle) | [optional] +**files** | [**List[SdkAutomationModuleFile]**](SdkAutomationModuleFile.md) | | [optional] +**validate_only** | **bool** | When true, validate without persisting (Validate Bundle); when false, create on success | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_request import V1SdkAutomationPlaybookConfigsPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsPostRequest from a JSON string +v1_sdk_automation_playbook_configs_post_request_instance = V1SdkAutomationPlaybookConfigsPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsPostRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_post_request_dict = v1_sdk_automation_playbook_configs_post_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsPostRequest from a dict +v1_sdk_automation_playbook_configs_post_request_from_dict = V1SdkAutomationPlaybookConfigsPostRequest.from_dict(v1_sdk_automation_playbook_configs_post_request_dict) +``` +[[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/V1SdkAutomationPlaybookConfigsPostResponse.md b/docs/V1SdkAutomationPlaybookConfigsPostResponse.md new file mode 100644 index 00000000..b14960fe --- /dev/null +++ b/docs/V1SdkAutomationPlaybookConfigsPostResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookConfigsPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**config_id** | **str** | Created config id when validation succeeds and validate_only is false; empty otherwise | [optional] +**errors** | [**List[SdkAutomationValidationError]**](SdkAutomationValidationError.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_response import V1SdkAutomationPlaybookConfigsPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookConfigsPostResponse from a JSON string +v1_sdk_automation_playbook_configs_post_response_instance = V1SdkAutomationPlaybookConfigsPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookConfigsPostResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_configs_post_response_dict = v1_sdk_automation_playbook_configs_post_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookConfigsPostResponse from a dict +v1_sdk_automation_playbook_configs_post_response_from_dict = V1SdkAutomationPlaybookConfigsPostResponse.from_dict(v1_sdk_automation_playbook_configs_post_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsGetResponse.md b/docs/V1SdkAutomationPlaybookJobsGetResponse.md new file mode 100644 index 00000000..fc239f8e --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsGetResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookJobsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**jobs** | [**List[SdkAutomationPlaybookJob]**](SdkAutomationPlaybookJob.md) | | [optional] +**page_info** | [**CommonPageInfo**](CommonPageInfo.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_get_response import V1SdkAutomationPlaybookJobsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsGetResponse from a JSON string +v1_sdk_automation_playbook_jobs_get_response_instance = V1SdkAutomationPlaybookJobsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_get_response_dict = v1_sdk_automation_playbook_jobs_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsGetResponse from a dict +v1_sdk_automation_playbook_jobs_get_response_from_dict = V1SdkAutomationPlaybookJobsGetResponse.from_dict(v1_sdk_automation_playbook_jobs_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.md b/docs/V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.md new file mode 100644 index 00000000..b266df58 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookJobsJobIdAbortPutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | Job status after abort (typically ABORTED) | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_abort_put_response import V1SdkAutomationPlaybookJobsJobIdAbortPutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdAbortPutResponse from a JSON string +v1_sdk_automation_playbook_jobs_job_id_abort_put_response_instance = V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_abort_put_response_dict = v1_sdk_automation_playbook_jobs_job_id_abort_put_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdAbortPutResponse from a dict +v1_sdk_automation_playbook_jobs_job_id_abort_put_response_from_dict = V1SdkAutomationPlaybookJobsJobIdAbortPutResponse.from_dict(v1_sdk_automation_playbook_jobs_job_id_abort_put_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.md b/docs/V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.md new file mode 100644 index 00000000..3409c80d --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookJobsJobIdApprovePutRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**verbose_logs** | **bool** | When true, request ansible -vvv for the deploy phase | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_request import V1SdkAutomationPlaybookJobsJobIdApprovePutRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutRequest from a JSON string +v1_sdk_automation_playbook_jobs_job_id_approve_put_request_instance = V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_approve_put_request_dict = v1_sdk_automation_playbook_jobs_job_id_approve_put_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutRequest from a dict +v1_sdk_automation_playbook_jobs_job_id_approve_put_request_from_dict = V1SdkAutomationPlaybookJobsJobIdApprovePutRequest.from_dict(v1_sdk_automation_playbook_jobs_job_id_approve_put_request_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.md b/docs/V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.md new file mode 100644 index 00000000..b2692442 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookJobsJobIdApprovePutResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **str** | Job status after approve was accepted | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_response import V1SdkAutomationPlaybookJobsJobIdApprovePutResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutResponse from a JSON string +v1_sdk_automation_playbook_jobs_job_id_approve_put_response_instance = V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_approve_put_response_dict = v1_sdk_automation_playbook_jobs_job_id_approve_put_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutResponse from a dict +v1_sdk_automation_playbook_jobs_job_id_approve_put_response_from_dict = V1SdkAutomationPlaybookJobsJobIdApprovePutResponse.from_dict(v1_sdk_automation_playbook_jobs_job_id_approve_put_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdGetResponse.md b/docs/V1SdkAutomationPlaybookJobsJobIdGetResponse.md new file mode 100644 index 00000000..b6d45369 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdGetResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookJobsJobIdGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**job** | [**SdkAutomationPlaybookJob**](SdkAutomationPlaybookJob.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_get_response import V1SdkAutomationPlaybookJobsJobIdGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdGetResponse from a JSON string +v1_sdk_automation_playbook_jobs_job_id_get_response_instance = V1SdkAutomationPlaybookJobsJobIdGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_get_response_dict = v1_sdk_automation_playbook_jobs_job_id_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdGetResponse from a dict +v1_sdk_automation_playbook_jobs_job_id_get_response_from_dict = V1SdkAutomationPlaybookJobsJobIdGetResponse.from_dict(v1_sdk_automation_playbook_jobs_job_id_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.md b/docs/V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.md new file mode 100644 index 00000000..2d9aea31 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookJobsJobIdLogsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lines** | **List[str]** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_logs_get_response import V1SdkAutomationPlaybookJobsJobIdLogsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdLogsGetResponse from a JSON string +v1_sdk_automation_playbook_jobs_job_id_logs_get_response_instance = V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_logs_get_response_dict = v1_sdk_automation_playbook_jobs_job_id_logs_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdLogsGetResponse from a dict +v1_sdk_automation_playbook_jobs_job_id_logs_get_response_from_dict = V1SdkAutomationPlaybookJobsJobIdLogsGetResponse.from_dict(v1_sdk_automation_playbook_jobs_job_id_logs_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdResumePostRequest.md b/docs/V1SdkAutomationPlaybookJobsJobIdResumePostRequest.md new file mode 100644 index 00000000..ad47b29e --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdResumePostRequest.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookJobsJobIdResumePostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**is_deploy** | **bool** | When true, resume straight into deploy; otherwise resume as a dry-run | [optional] +**verbose_logs** | **bool** | When true, request ansible -vvv for the resumed phase | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_request import V1SdkAutomationPlaybookJobsJobIdResumePostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostRequest from a JSON string +v1_sdk_automation_playbook_jobs_job_id_resume_post_request_instance = V1SdkAutomationPlaybookJobsJobIdResumePostRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdResumePostRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_resume_post_request_dict = v1_sdk_automation_playbook_jobs_job_id_resume_post_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostRequest from a dict +v1_sdk_automation_playbook_jobs_job_id_resume_post_request_from_dict = V1SdkAutomationPlaybookJobsJobIdResumePostRequest.from_dict(v1_sdk_automation_playbook_jobs_job_id_resume_post_request_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdResumePostResponse.md b/docs/V1SdkAutomationPlaybookJobsJobIdResumePostResponse.md new file mode 100644 index 00000000..944ce792 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdResumePostResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookJobsJobIdResumePostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**job_id** | **str** | Resumed job id | [optional] +**status** | **str** | Job status after resume was accepted | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_response import V1SdkAutomationPlaybookJobsJobIdResumePostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostResponse from a JSON string +v1_sdk_automation_playbook_jobs_job_id_resume_post_response_instance = V1SdkAutomationPlaybookJobsJobIdResumePostResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdResumePostResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_resume_post_response_dict = v1_sdk_automation_playbook_jobs_job_id_resume_post_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostResponse from a dict +v1_sdk_automation_playbook_jobs_job_id_resume_post_response_from_dict = V1SdkAutomationPlaybookJobsJobIdResumePostResponse.from_dict(v1_sdk_automation_playbook_jobs_job_id_resume_post_response_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdRunPostRequest.md b/docs/V1SdkAutomationPlaybookJobsJobIdRunPostRequest.md new file mode 100644 index 00000000..3e7ea3f9 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdRunPostRequest.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookJobsJobIdRunPostRequest + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**skip_dry_run** | **bool** | When true, skip dry-run and gate and deploy directly | [optional] +**verbose_logs** | **bool** | When true, request ansible -vvv for the new run | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_request import V1SdkAutomationPlaybookJobsJobIdRunPostRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostRequest from a JSON string +v1_sdk_automation_playbook_jobs_job_id_run_post_request_instance = V1SdkAutomationPlaybookJobsJobIdRunPostRequest.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdRunPostRequest.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_run_post_request_dict = v1_sdk_automation_playbook_jobs_job_id_run_post_request_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostRequest from a dict +v1_sdk_automation_playbook_jobs_job_id_run_post_request_from_dict = V1SdkAutomationPlaybookJobsJobIdRunPostRequest.from_dict(v1_sdk_automation_playbook_jobs_job_id_run_post_request_dict) +``` +[[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/V1SdkAutomationPlaybookJobsJobIdRunPostResponse.md b/docs/V1SdkAutomationPlaybookJobsJobIdRunPostResponse.md new file mode 100644 index 00000000..5c17a364 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookJobsJobIdRunPostResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookJobsJobIdRunPostResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**job_id** | **str** | Newly created job id for the re-run | [optional] +**status** | **str** | Initial status of the new job | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_response import V1SdkAutomationPlaybookJobsJobIdRunPostResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostResponse from a JSON string +v1_sdk_automation_playbook_jobs_job_id_run_post_response_instance = V1SdkAutomationPlaybookJobsJobIdRunPostResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookJobsJobIdRunPostResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_jobs_job_id_run_post_response_dict = v1_sdk_automation_playbook_jobs_job_id_run_post_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostResponse from a dict +v1_sdk_automation_playbook_jobs_job_id_run_post_response_from_dict = V1SdkAutomationPlaybookJobsJobIdRunPostResponse.from_dict(v1_sdk_automation_playbook_jobs_job_id_run_post_response_dict) +``` +[[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/V1SdkAutomationPlaybookModuleSlotsGetResponse.md b/docs/V1SdkAutomationPlaybookModuleSlotsGetResponse.md new file mode 100644 index 00000000..0299ecd2 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookModuleSlotsGetResponse.md @@ -0,0 +1,29 @@ +# V1SdkAutomationPlaybookModuleSlotsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**modules** | [**List[SdkAutomationCatalogModuleSlot]**](SdkAutomationCatalogModuleSlot.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_module_slots_get_response import V1SdkAutomationPlaybookModuleSlotsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookModuleSlotsGetResponse from a JSON string +v1_sdk_automation_playbook_module_slots_get_response_instance = V1SdkAutomationPlaybookModuleSlotsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookModuleSlotsGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_module_slots_get_response_dict = v1_sdk_automation_playbook_module_slots_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookModuleSlotsGetResponse from a dict +v1_sdk_automation_playbook_module_slots_get_response_from_dict = V1SdkAutomationPlaybookModuleSlotsGetResponse.from_dict(v1_sdk_automation_playbook_module_slots_get_response_dict) +``` +[[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/V1SdkAutomationPlaybookTemplatesGetResponse.md b/docs/V1SdkAutomationPlaybookTemplatesGetResponse.md new file mode 100644 index 00000000..efa19e62 --- /dev/null +++ b/docs/V1SdkAutomationPlaybookTemplatesGetResponse.md @@ -0,0 +1,30 @@ +# V1SdkAutomationPlaybookTemplatesGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**collection_version** | **str** | graphiant.naas collection version the files were read from | [optional] +**files** | [**List[SdkAutomationTemplateFile]**](SdkAutomationTemplateFile.md) | | [optional] + +## Example + +```python +from graphiant_sdk.models.v1_sdk_automation_playbook_templates_get_response import V1SdkAutomationPlaybookTemplatesGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V1SdkAutomationPlaybookTemplatesGetResponse from a JSON string +v1_sdk_automation_playbook_templates_get_response_instance = V1SdkAutomationPlaybookTemplatesGetResponse.from_json(json) +# print the JSON string representation of the object +print(V1SdkAutomationPlaybookTemplatesGetResponse.to_json()) + +# convert the object into a dict +v1_sdk_automation_playbook_templates_get_response_dict = v1_sdk_automation_playbook_templates_get_response_instance.to_dict() +# create an instance of V1SdkAutomationPlaybookTemplatesGetResponse from a dict +v1_sdk_automation_playbook_templates_get_response_from_dict = V1SdkAutomationPlaybookTemplatesGetResponse.from_dict(v1_sdk_automation_playbook_templates_get_response_dict) +``` +[[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/V2MonitoringFecStatsGetResponse.md b/docs/V2MonitoringFecStatsGetResponse.md new file mode 100644 index 00000000..50f652e9 --- /dev/null +++ b/docs/V2MonitoringFecStatsGetResponse.md @@ -0,0 +1,35 @@ +# V2MonitoringFecStatsGetResponse + + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**current_repair_level** | **float** | | [optional] +**effective_qoe** | **float** | | [optional] +**rx_repair_level_histogram** | [**StatsmonV2FecRxRepairLevel**](StatsmonV2FecRxRepairLevel.md) | | [optional] +**rx_stats** | [**StatsmonV2FecRxStats**](StatsmonV2FecRxStats.md) | | [optional] +**tx_repair_level_histogram** | [**StatsmonV2FecTxRepairLevel**](StatsmonV2FecTxRepairLevel.md) | | [optional] +**tx_stats** | [**StatsmonV2FecTxStats**](StatsmonV2FecTxStats.md) | | [optional] +**unrepairable_rate** | **float** | | [optional] + +## Example + +```python +from graphiant_sdk.models.v2_monitoring_fec_stats_get_response import V2MonitoringFecStatsGetResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of V2MonitoringFecStatsGetResponse from a JSON string +v2_monitoring_fec_stats_get_response_instance = V2MonitoringFecStatsGetResponse.from_json(json) +# print the JSON string representation of the object +print(V2MonitoringFecStatsGetResponse.to_json()) + +# convert the object into a dict +v2_monitoring_fec_stats_get_response_dict = v2_monitoring_fec_stats_get_response_instance.to_dict() +# create an instance of V2MonitoringFecStatsGetResponse from a dict +v2_monitoring_fec_stats_get_response_from_dict = V2MonitoringFecStatsGetResponse.from_dict(v2_monitoring_fec_stats_get_response_dict) +``` +[[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/graphiant_sdk/__init__.py b/graphiant_sdk/__init__.py index e14638ca..279872ad 100644 --- a/graphiant_sdk/__init__.py +++ b/graphiant_sdk/__init__.py @@ -14,7 +14,7 @@ """ # noqa: E501 -__version__ = "26.8.0" +__version__ = "26.9.0" # Define package exports __all__ = [ @@ -667,6 +667,14 @@ "RoutingVrrpEntry", "RoutingbgpCounter", "Routingprefix", + "SdkAutomationCatalogBundle", + "SdkAutomationCatalogModuleSlot", + "SdkAutomationModuleFile", + "SdkAutomationPlaybookConfig", + "SdkAutomationPlaybookConfigSummary", + "SdkAutomationPlaybookJob", + "SdkAutomationTemplateFile", + "SdkAutomationValidationError", "SearchEdgeSummary", "SearchSearchFilter", "SearchSearchResult", @@ -741,6 +749,10 @@ "StatsmonV2DeviceSegments", "StatsmonV2Edge", "StatsmonV2EdgeedgeCircuitInfo", + "StatsmonV2FecRxRepairLevel", + "StatsmonV2FecRxStats", + "StatsmonV2FecTxRepairLevel", + "StatsmonV2FecTxStats", "StatsmonV2InterfaceStatsSelector", "StatsmonV2IpSecStatsSelector", "StatsmonV2Node", @@ -750,6 +762,8 @@ "StatsmonV2PolicyStatsSelector", "StatsmonV2QueueInstantStatsSelector", "StatsmonV2QueueUtilization", + "StatsmonV2RepairLevel", + "StatsmonV2RepairLevelScore", "StatsmonV2StatsSample", "StatsmonV2SystemStatsSelector", "StatsmonV2TimeWindow", @@ -804,12 +818,9 @@ "V1AuthErrorPostResponse", "V1AuthGcsPostRequest", "V1AuthGetResponse", - "V1AuthLoginCallbackPost500Response", "V1AuthLoginPostRequest", "V1AuthLoginPostResponse", "V1AuthLoginPreGetResponse", - "V1AuthLoginSamlGet401Response", - "V1AuthLoginSamlGet500Response", "V1AuthLoginTempPostRequest", "V1AuthMfaPatchRequest", "V1AuthMfaPost500Response", @@ -819,11 +830,7 @@ "V1AuthPatchRequest", "V1AuthPutRequest", "V1AuthRefreshGet200Response", - "V1AuthRefreshGet403Response", - "V1AuthRefreshGet422Response", "V1AuthRefreshGetEntryPointResponse", - "V1AuthSessionGet403Response", - "V1AuthSessionGet422Response", "V1AuthUserGetResponse", "V1BackboneHealthDeviceDeviceIdPostRequest", "V1BackboneHealthDeviceDeviceIdPostResponse", @@ -1289,6 +1296,30 @@ "V1RegionsGetResponse", "V1RegionsRegionIdGatewaysGetResponse", "V1RegionsRegionIdGatewaysGetResponseGateway", + "V1SdkAutomationPlaybookBundlesGetResponse", + "V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse", + "V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest", + "V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse", + "V1SdkAutomationPlaybookConfigsConfigIdGetResponse", + "V1SdkAutomationPlaybookConfigsConfigIdPutRequest", + "V1SdkAutomationPlaybookConfigsConfigIdPutResponse", + "V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest", + "V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse", + "V1SdkAutomationPlaybookConfigsGetResponse", + "V1SdkAutomationPlaybookConfigsPostRequest", + "V1SdkAutomationPlaybookConfigsPostResponse", + "V1SdkAutomationPlaybookJobsGetResponse", + "V1SdkAutomationPlaybookJobsJobIdAbortPutResponse", + "V1SdkAutomationPlaybookJobsJobIdApprovePutRequest", + "V1SdkAutomationPlaybookJobsJobIdApprovePutResponse", + "V1SdkAutomationPlaybookJobsJobIdGetResponse", + "V1SdkAutomationPlaybookJobsJobIdLogsGetResponse", + "V1SdkAutomationPlaybookJobsJobIdResumePostRequest", + "V1SdkAutomationPlaybookJobsJobIdResumePostResponse", + "V1SdkAutomationPlaybookJobsJobIdRunPostRequest", + "V1SdkAutomationPlaybookJobsJobIdRunPostResponse", + "V1SdkAutomationPlaybookModuleSlotsGetResponse", + "V1SdkAutomationPlaybookTemplatesGetResponse", "V1SearchGetResponse", "V1SiteDetailsSitelistsPostRequest", "V1SiteDetailsSitelistsPostResponse", @@ -1480,6 +1511,7 @@ "V2MonitoringExtranetServiceStatusGetResponse", "V2MonitoringExtranetSiteStatusGetResponse", "V2MonitoringExtranetStatusDetailsGetResponse", + "V2MonitoringFecStatsGetResponse", "V2MonitoringIkeErrorHistoryPostRequest", "V2MonitoringIkeErrorHistoryPostResponse", "V2MonitoringIkeErrorHistoryPostResponseData", @@ -2185,6 +2217,14 @@ from graphiant_sdk.models.routing_vrrp_entry import RoutingVrrpEntry as RoutingVrrpEntry from graphiant_sdk.models.routingbgp_counter import RoutingbgpCounter as RoutingbgpCounter from graphiant_sdk.models.routingprefix import Routingprefix as Routingprefix +from graphiant_sdk.models.sdk_automation_catalog_bundle import SdkAutomationCatalogBundle as SdkAutomationCatalogBundle +from graphiant_sdk.models.sdk_automation_catalog_module_slot import SdkAutomationCatalogModuleSlot as SdkAutomationCatalogModuleSlot +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile as SdkAutomationModuleFile +from graphiant_sdk.models.sdk_automation_playbook_config import SdkAutomationPlaybookConfig as SdkAutomationPlaybookConfig +from graphiant_sdk.models.sdk_automation_playbook_config_summary import SdkAutomationPlaybookConfigSummary as SdkAutomationPlaybookConfigSummary +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob as SdkAutomationPlaybookJob +from graphiant_sdk.models.sdk_automation_template_file import SdkAutomationTemplateFile as SdkAutomationTemplateFile +from graphiant_sdk.models.sdk_automation_validation_error import SdkAutomationValidationError as SdkAutomationValidationError from graphiant_sdk.models.search_edge_summary import SearchEdgeSummary as SearchEdgeSummary from graphiant_sdk.models.search_search_filter import SearchSearchFilter as SearchSearchFilter from graphiant_sdk.models.search_search_result import SearchSearchResult as SearchSearchResult @@ -2259,6 +2299,10 @@ from graphiant_sdk.models.statsmon_v2_device_segments import StatsmonV2DeviceSegments as StatsmonV2DeviceSegments from graphiant_sdk.models.statsmon_v2_edge import StatsmonV2Edge as StatsmonV2Edge from graphiant_sdk.models.statsmon_v2_edgeedge_circuit_info import StatsmonV2EdgeedgeCircuitInfo as StatsmonV2EdgeedgeCircuitInfo +from graphiant_sdk.models.statsmon_v2_fec_rx_repair_level import StatsmonV2FecRxRepairLevel as StatsmonV2FecRxRepairLevel +from graphiant_sdk.models.statsmon_v2_fec_rx_stats import StatsmonV2FecRxStats as StatsmonV2FecRxStats +from graphiant_sdk.models.statsmon_v2_fec_tx_repair_level import StatsmonV2FecTxRepairLevel as StatsmonV2FecTxRepairLevel +from graphiant_sdk.models.statsmon_v2_fec_tx_stats import StatsmonV2FecTxStats as StatsmonV2FecTxStats from graphiant_sdk.models.statsmon_v2_interface_stats_selector import StatsmonV2InterfaceStatsSelector as StatsmonV2InterfaceStatsSelector from graphiant_sdk.models.statsmon_v2_ip_sec_stats_selector import StatsmonV2IpSecStatsSelector as StatsmonV2IpSecStatsSelector from graphiant_sdk.models.statsmon_v2_node import StatsmonV2Node as StatsmonV2Node @@ -2268,6 +2312,8 @@ from graphiant_sdk.models.statsmon_v2_policy_stats_selector import StatsmonV2PolicyStatsSelector as StatsmonV2PolicyStatsSelector from graphiant_sdk.models.statsmon_v2_queue_instant_stats_selector import StatsmonV2QueueInstantStatsSelector as StatsmonV2QueueInstantStatsSelector from graphiant_sdk.models.statsmon_v2_queue_utilization import StatsmonV2QueueUtilization as StatsmonV2QueueUtilization +from graphiant_sdk.models.statsmon_v2_repair_level import StatsmonV2RepairLevel as StatsmonV2RepairLevel +from graphiant_sdk.models.statsmon_v2_repair_level_score import StatsmonV2RepairLevelScore as StatsmonV2RepairLevelScore from graphiant_sdk.models.statsmon_v2_stats_sample import StatsmonV2StatsSample as StatsmonV2StatsSample from graphiant_sdk.models.statsmon_v2_system_stats_selector import StatsmonV2SystemStatsSelector as StatsmonV2SystemStatsSelector from graphiant_sdk.models.statsmon_v2_time_window import StatsmonV2TimeWindow as StatsmonV2TimeWindow @@ -2322,12 +2368,9 @@ from graphiant_sdk.models.v1_auth_error_post_response import V1AuthErrorPostResponse as V1AuthErrorPostResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest as V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse as V1AuthGetResponse -from graphiant_sdk.models.v1_auth_login_callback_post500_response import V1AuthLoginCallbackPost500Response as V1AuthLoginCallbackPost500Response from graphiant_sdk.models.v1_auth_login_post_request import V1AuthLoginPostRequest as V1AuthLoginPostRequest from graphiant_sdk.models.v1_auth_login_post_response import V1AuthLoginPostResponse as V1AuthLoginPostResponse from graphiant_sdk.models.v1_auth_login_pre_get_response import V1AuthLoginPreGetResponse as V1AuthLoginPreGetResponse -from graphiant_sdk.models.v1_auth_login_saml_get401_response import V1AuthLoginSamlGet401Response as V1AuthLoginSamlGet401Response -from graphiant_sdk.models.v1_auth_login_saml_get500_response import V1AuthLoginSamlGet500Response as V1AuthLoginSamlGet500Response from graphiant_sdk.models.v1_auth_login_temp_post_request import V1AuthLoginTempPostRequest as V1AuthLoginTempPostRequest from graphiant_sdk.models.v1_auth_mfa_patch_request import V1AuthMfaPatchRequest as V1AuthMfaPatchRequest from graphiant_sdk.models.v1_auth_mfa_post500_response import V1AuthMfaPost500Response as V1AuthMfaPost500Response @@ -2337,11 +2380,7 @@ from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest as V1AuthPatchRequest from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest as V1AuthPutRequest from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response as V1AuthRefreshGet200Response -from graphiant_sdk.models.v1_auth_refresh_get403_response import V1AuthRefreshGet403Response as V1AuthRefreshGet403Response -from graphiant_sdk.models.v1_auth_refresh_get422_response import V1AuthRefreshGet422Response as V1AuthRefreshGet422Response from graphiant_sdk.models.v1_auth_refresh_get_entry_point_response import V1AuthRefreshGetEntryPointResponse as V1AuthRefreshGetEntryPointResponse -from graphiant_sdk.models.v1_auth_session_get403_response import V1AuthSessionGet403Response as V1AuthSessionGet403Response -from graphiant_sdk.models.v1_auth_session_get422_response import V1AuthSessionGet422Response as V1AuthSessionGet422Response from graphiant_sdk.models.v1_auth_user_get_response import V1AuthUserGetResponse as V1AuthUserGetResponse from graphiant_sdk.models.v1_backbone_health_device_device_id_post_request import V1BackboneHealthDeviceDeviceIdPostRequest as V1BackboneHealthDeviceDeviceIdPostRequest from graphiant_sdk.models.v1_backbone_health_device_device_id_post_response import V1BackboneHealthDeviceDeviceIdPostResponse as V1BackboneHealthDeviceDeviceIdPostResponse @@ -2807,6 +2846,30 @@ from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse as V1RegionsGetResponse from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse as V1RegionsRegionIdGatewaysGetResponse from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway as V1RegionsRegionIdGatewaysGetResponseGateway +from graphiant_sdk.models.v1_sdk_automation_playbook_bundles_get_response import V1SdkAutomationPlaybookBundlesGetResponse as V1SdkAutomationPlaybookBundlesGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_get_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse as V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_request import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest as V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse as V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_get_response import V1SdkAutomationPlaybookConfigsConfigIdGetResponse as V1SdkAutomationPlaybookConfigsConfigIdGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_request import V1SdkAutomationPlaybookConfigsConfigIdPutRequest as V1SdkAutomationPlaybookConfigsConfigIdPutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_response import V1SdkAutomationPlaybookConfigsConfigIdPutResponse as V1SdkAutomationPlaybookConfigsConfigIdPutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_request import V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest as V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_response import V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse as V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_get_response import V1SdkAutomationPlaybookConfigsGetResponse as V1SdkAutomationPlaybookConfigsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_request import V1SdkAutomationPlaybookConfigsPostRequest as V1SdkAutomationPlaybookConfigsPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_response import V1SdkAutomationPlaybookConfigsPostResponse as V1SdkAutomationPlaybookConfigsPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_get_response import V1SdkAutomationPlaybookJobsGetResponse as V1SdkAutomationPlaybookJobsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_abort_put_response import V1SdkAutomationPlaybookJobsJobIdAbortPutResponse as V1SdkAutomationPlaybookJobsJobIdAbortPutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_request import V1SdkAutomationPlaybookJobsJobIdApprovePutRequest as V1SdkAutomationPlaybookJobsJobIdApprovePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_response import V1SdkAutomationPlaybookJobsJobIdApprovePutResponse as V1SdkAutomationPlaybookJobsJobIdApprovePutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_get_response import V1SdkAutomationPlaybookJobsJobIdGetResponse as V1SdkAutomationPlaybookJobsJobIdGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_logs_get_response import V1SdkAutomationPlaybookJobsJobIdLogsGetResponse as V1SdkAutomationPlaybookJobsJobIdLogsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_request import V1SdkAutomationPlaybookJobsJobIdResumePostRequest as V1SdkAutomationPlaybookJobsJobIdResumePostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_response import V1SdkAutomationPlaybookJobsJobIdResumePostResponse as V1SdkAutomationPlaybookJobsJobIdResumePostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_request import V1SdkAutomationPlaybookJobsJobIdRunPostRequest as V1SdkAutomationPlaybookJobsJobIdRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_response import V1SdkAutomationPlaybookJobsJobIdRunPostResponse as V1SdkAutomationPlaybookJobsJobIdRunPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_module_slots_get_response import V1SdkAutomationPlaybookModuleSlotsGetResponse as V1SdkAutomationPlaybookModuleSlotsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_templates_get_response import V1SdkAutomationPlaybookTemplatesGetResponse as V1SdkAutomationPlaybookTemplatesGetResponse from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse as V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest as V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse as V1SiteDetailsSitelistsPostResponse @@ -2998,6 +3061,7 @@ from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse as V2MonitoringExtranetServiceStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_response import V2MonitoringExtranetSiteStatusGetResponse as V2MonitoringExtranetSiteStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_response import V2MonitoringExtranetStatusDetailsGetResponse as V2MonitoringExtranetStatusDetailsGetResponse +from graphiant_sdk.models.v2_monitoring_fec_stats_get_response import V2MonitoringFecStatsGetResponse as V2MonitoringFecStatsGetResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_request import V2MonitoringIkeErrorHistoryPostRequest as V2MonitoringIkeErrorHistoryPostRequest from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response import V2MonitoringIkeErrorHistoryPostResponse as V2MonitoringIkeErrorHistoryPostResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response_data import V2MonitoringIkeErrorHistoryPostResponseData as V2MonitoringIkeErrorHistoryPostResponseData diff --git a/graphiant_sdk/api/default_api.py b/graphiant_sdk/api/default_api.py index 7f701b76..c4f5a114 100644 --- a/graphiant_sdk/api/default_api.py +++ b/graphiant_sdk/api/default_api.py @@ -468,6 +468,30 @@ from graphiant_sdk.models.v1_qos_circuit_profiles_get_response import V1QosCircuitProfilesGetResponse from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_bundles_get_response import V1SdkAutomationPlaybookBundlesGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_get_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_request import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_get_response import V1SdkAutomationPlaybookConfigsConfigIdGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_request import V1SdkAutomationPlaybookConfigsConfigIdPutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_response import V1SdkAutomationPlaybookConfigsConfigIdPutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_request import V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_response import V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_get_response import V1SdkAutomationPlaybookConfigsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_request import V1SdkAutomationPlaybookConfigsPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_response import V1SdkAutomationPlaybookConfigsPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_get_response import V1SdkAutomationPlaybookJobsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_abort_put_response import V1SdkAutomationPlaybookJobsJobIdAbortPutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_request import V1SdkAutomationPlaybookJobsJobIdApprovePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_response import V1SdkAutomationPlaybookJobsJobIdApprovePutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_get_response import V1SdkAutomationPlaybookJobsJobIdGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_logs_get_response import V1SdkAutomationPlaybookJobsJobIdLogsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_request import V1SdkAutomationPlaybookJobsJobIdResumePostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_response import V1SdkAutomationPlaybookJobsJobIdResumePostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_request import V1SdkAutomationPlaybookJobsJobIdRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_response import V1SdkAutomationPlaybookJobsJobIdRunPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_module_slots_get_response import V1SdkAutomationPlaybookModuleSlotsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_templates_get_response import V1SdkAutomationPlaybookTemplatesGetResponse from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse @@ -639,6 +663,7 @@ from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_response import V2MonitoringExtranetSiteStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_response import V2MonitoringExtranetStatusDetailsGetResponse +from graphiant_sdk.models.v2_monitoring_fec_stats_get_response import V2MonitoringFecStatsGetResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_request import V2MonitoringIkeErrorHistoryPostRequest from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response import V2MonitoringIkeErrorHistoryPostResponse from graphiant_sdk.models.v2_monitoring_interface_post_request import V2MonitoringInterfacePostRequest @@ -5818,7 +5843,7 @@ def v1_auth_login_callback_post( _response_types_map: Dict[str, Optional[str]] = { '302': None, '401': "V1AuthErrorPostResponse", - '500': "V1AuthLoginCallbackPost500Response", + '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( *_param, @@ -5890,7 +5915,7 @@ def v1_auth_login_callback_post_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '302': None, '401': "V1AuthErrorPostResponse", - '500': "V1AuthLoginCallbackPost500Response", + '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( *_param, @@ -5962,7 +5987,7 @@ def v1_auth_login_callback_post_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '302': None, '401': "V1AuthErrorPostResponse", - '500': "V1AuthLoginCallbackPost500Response", + '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( *_param, @@ -6666,8 +6691,8 @@ def v1_auth_login_saml_get( _response_types_map: Dict[str, Optional[str]] = { '200': None, - '401': "V1AuthLoginSamlGet401Response", - '500': "V1AuthLoginSamlGet500Response", + '401': "V1AuthMfaPost500Response", + '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( *_param, @@ -6738,8 +6763,8 @@ def v1_auth_login_saml_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': None, - '401': "V1AuthLoginSamlGet401Response", - '500': "V1AuthLoginSamlGet500Response", + '401': "V1AuthMfaPost500Response", + '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( *_param, @@ -6810,8 +6835,8 @@ def v1_auth_login_saml_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': None, - '401': "V1AuthLoginSamlGet401Response", - '500': "V1AuthLoginSamlGet500Response", + '401': "V1AuthMfaPost500Response", + '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( *_param, @@ -9143,8 +9168,8 @@ def v1_auth_refresh_get( _response_types_map: Dict[str, Optional[str]] = { '200': "V1AuthRefreshGet200Response", - '403': "V1AuthRefreshGet403Response", - '422': "V1AuthRefreshGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9216,8 +9241,8 @@ def v1_auth_refresh_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "V1AuthRefreshGet200Response", - '403': "V1AuthRefreshGet403Response", - '422': "V1AuthRefreshGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9289,8 +9314,8 @@ def v1_auth_refresh_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "V1AuthRefreshGet200Response", - '403': "V1AuthRefreshGet403Response", - '422': "V1AuthRefreshGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9427,8 +9452,8 @@ def v1_auth_session_get( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthSessionGet403Response", - '422': "V1AuthSessionGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9500,8 +9525,8 @@ def v1_auth_session_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthSessionGet403Response", - '422': "V1AuthSessionGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9573,8 +9598,8 @@ def v1_auth_session_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthSessionGet403Response", - '422': "V1AuthSessionGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9707,8 +9732,8 @@ def v1_auth_session_root_get( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthSessionGet403Response", - '422': "V1AuthSessionGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9776,8 +9801,8 @@ def v1_auth_session_root_get_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthSessionGet403Response", - '422': "V1AuthSessionGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -9845,8 +9870,8 @@ def v1_auth_session_root_get_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "object", - '403': "V1AuthSessionGet403Response", - '422': "V1AuthSessionGet422Response", + '403': "V1AuthMfaPost500Response", + '422': "V1AuthMfaPost500Response", '500': "V1AuthMfaPost500Response", } response_data = self.api_client.call_api( @@ -40690,6 +40715,7 @@ def _v1_devices_session_status_post_serialize( def v1_devices_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + show_excluded: Annotated[Optional[StrictBool], Field(description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -40709,6 +40735,8 @@ def v1_devices_summary_get( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param show_excluded: Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. + :type show_excluded: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -40733,6 +40761,7 @@ def v1_devices_summary_get( _param = self._v1_devices_summary_get_serialize( authorization=authorization, + show_excluded=show_excluded, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -40757,6 +40786,7 @@ def v1_devices_summary_get( def v1_devices_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + show_excluded: Annotated[Optional[StrictBool], Field(description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -40776,6 +40806,8 @@ def v1_devices_summary_get_with_http_info( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param show_excluded: Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. + :type show_excluded: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -40800,6 +40832,7 @@ def v1_devices_summary_get_with_http_info( _param = self._v1_devices_summary_get_serialize( authorization=authorization, + show_excluded=show_excluded, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -40824,6 +40857,7 @@ def v1_devices_summary_get_with_http_info( def v1_devices_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + show_excluded: Annotated[Optional[StrictBool], Field(description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -40843,6 +40877,8 @@ def v1_devices_summary_get_without_preload_content( :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param show_excluded: Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. + :type show_excluded: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -40867,6 +40903,7 @@ def v1_devices_summary_get_without_preload_content( _param = self._v1_devices_summary_get_serialize( authorization=authorization, + show_excluded=show_excluded, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -40886,6 +40923,7 @@ def v1_devices_summary_get_without_preload_content( def _v1_devices_summary_get_serialize( self, authorization, + show_excluded, _request_auth, _content_type, _headers, @@ -40908,6 +40946,10 @@ def _v1_devices_summary_get_serialize( # process the path parameters # process the query parameters + if show_excluded is not None: + + _query_params.append(('showExcluded', show_excluded)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -48102,6 +48144,7 @@ def v1_edges_summary_get( authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], enterprise_id: Optional[StrictInt] = None, is_requested: Optional[StrictBool] = None, + show_excluded: Annotated[Optional[StrictBool], Field(description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.")] = None, upgrade_summary: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -48125,6 +48168,8 @@ def v1_edges_summary_get( :type enterprise_id: int :param is_requested: :type is_requested: bool + :param show_excluded: Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. + :type show_excluded: bool :param upgrade_summary: :type upgrade_summary: bool :param _request_timeout: timeout setting for this request. If one @@ -48153,6 +48198,7 @@ def v1_edges_summary_get( authorization=authorization, enterprise_id=enterprise_id, is_requested=is_requested, + show_excluded=show_excluded, upgrade_summary=upgrade_summary, _request_auth=_request_auth, _content_type=_content_type, @@ -48180,6 +48226,7 @@ def v1_edges_summary_get_with_http_info( authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], enterprise_id: Optional[StrictInt] = None, is_requested: Optional[StrictBool] = None, + show_excluded: Annotated[Optional[StrictBool], Field(description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.")] = None, upgrade_summary: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -48203,6 +48250,8 @@ def v1_edges_summary_get_with_http_info( :type enterprise_id: int :param is_requested: :type is_requested: bool + :param show_excluded: Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. + :type show_excluded: bool :param upgrade_summary: :type upgrade_summary: bool :param _request_timeout: timeout setting for this request. If one @@ -48231,6 +48280,7 @@ def v1_edges_summary_get_with_http_info( authorization=authorization, enterprise_id=enterprise_id, is_requested=is_requested, + show_excluded=show_excluded, upgrade_summary=upgrade_summary, _request_auth=_request_auth, _content_type=_content_type, @@ -48258,6 +48308,7 @@ def v1_edges_summary_get_without_preload_content( authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], enterprise_id: Optional[StrictInt] = None, is_requested: Optional[StrictBool] = None, + show_excluded: Annotated[Optional[StrictBool], Field(description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.")] = None, upgrade_summary: Optional[StrictBool] = None, _request_timeout: Union[ None, @@ -48281,6 +48332,8 @@ def v1_edges_summary_get_without_preload_content( :type enterprise_id: int :param is_requested: :type is_requested: bool + :param show_excluded: Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false. + :type show_excluded: bool :param upgrade_summary: :type upgrade_summary: bool :param _request_timeout: timeout setting for this request. If one @@ -48309,6 +48362,7 @@ def v1_edges_summary_get_without_preload_content( authorization=authorization, enterprise_id=enterprise_id, is_requested=is_requested, + show_excluded=show_excluded, upgrade_summary=upgrade_summary, _request_auth=_request_auth, _content_type=_content_type, @@ -48331,6 +48385,7 @@ def _v1_edges_summary_get_serialize( authorization, enterprise_id, is_requested, + show_excluded, upgrade_summary, _request_auth, _content_type, @@ -48362,6 +48417,10 @@ def _v1_edges_summary_get_serialize( _query_params.append(('isRequested', is_requested)) + if show_excluded is not None: + + _query_params.append(('showExcluded', show_excluded)) + if upgrade_summary is not None: _query_params.append(('upgradeSummary', upgrade_summary)) @@ -106244,11 +106303,9 @@ def _v1_regions_region_id_gateways_get_serialize( @validate_call - def v1_search_get( + def v1_sdk_automation_playbook_bundles_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106261,16 +106318,13 @@ def v1_search_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SearchGetResponse: - """v1_search_get + ) -> V1SdkAutomationPlaybookBundlesGetResponse: + """v1_sdk_automation_playbook_bundles_get + List catalog bundles for the UI picklist :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param max_results: - :type max_results: int - :param search: - :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106293,10 +106347,273 @@ def v1_search_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_search_get_serialize( + _param = self._v1_sdk_automation_playbook_bundles_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1SdkAutomationPlaybookBundlesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_sdk_automation_playbook_bundles_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1SdkAutomationPlaybookBundlesGetResponse]: + """v1_sdk_automation_playbook_bundles_get + + List catalog bundles for the UI picklist + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_sdk_automation_playbook_bundles_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1SdkAutomationPlaybookBundlesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_sdk_automation_playbook_bundles_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_sdk_automation_playbook_bundles_get + + List catalog bundles for the UI picklist + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_sdk_automation_playbook_bundles_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1SdkAutomationPlaybookBundlesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_sdk_automation_playbook_bundles_get_serialize( + self, + authorization, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/sdk-automation/playbook/bundles', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_sdk_automation_playbook_configs_config_id_delete( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to delete")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_sdk_automation_playbook_configs_config_id_delete + + Delete a playbook config + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param config_id: Config id to delete (required) + :type config_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_sdk_automation_playbook_configs_config_id_delete_serialize( authorization=authorization, - max_results=max_results, - search=search, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106304,7 +106621,7 @@ def v1_search_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SearchGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -106318,11 +106635,10 @@ def v1_search_get( @validate_call - def v1_search_get_with_http_info( + def v1_sdk_automation_playbook_configs_config_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - search: Optional[StrictStr] = None, + config_id: Annotated[StrictStr, Field(description="Config id to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106335,16 +106651,15 @@ def v1_search_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SearchGetResponse]: - """v1_search_get + ) -> ApiResponse[None]: + """v1_sdk_automation_playbook_configs_config_id_delete + Delete a playbook config :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param max_results: - :type max_results: int - :param search: - :type search: str + :param config_id: Config id to delete (required) + :type config_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106367,10 +106682,9 @@ def v1_search_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_search_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_delete_serialize( authorization=authorization, - max_results=max_results, - search=search, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106378,7 +106692,7 @@ def v1_search_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SearchGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -106392,11 +106706,10 @@ def v1_search_get_with_http_info( @validate_call - def v1_search_get_without_preload_content( + def v1_sdk_automation_playbook_configs_config_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, - search: Optional[StrictStr] = None, + config_id: Annotated[StrictStr, Field(description="Config id to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106410,15 +106723,14 @@ def v1_search_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_search_get + """v1_sdk_automation_playbook_configs_config_id_delete + Delete a playbook config :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param max_results: - :type max_results: int - :param search: - :type search: str + :param config_id: Config id to delete (required) + :type config_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106441,10 +106753,9 @@ def v1_search_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_search_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_delete_serialize( authorization=authorization, - max_results=max_results, - search=search, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106452,7 +106763,7 @@ def v1_search_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SearchGetResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -106461,11 +106772,10 @@ def v1_search_get_without_preload_content( return response_data.response - def _v1_search_get_serialize( + def _v1_sdk_automation_playbook_configs_config_id_delete_serialize( self, authorization, - max_results, - search, + config_id, _request_auth, _content_type, _headers, @@ -106487,15 +106797,9 @@ def _v1_search_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if config_id is not None: + _path_params['configId'] = config_id # process the query parameters - if max_results is not None: - - _query_params.append(('maxResults', max_results)) - - if search is not None: - - _query_params.append(('search', search)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -106503,13 +106807,6 @@ def _v1_search_get_serialize( # process the body parameter - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # authentication setting @@ -106518,8 +106815,8 @@ def _v1_search_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/search', + method='DELETE', + resource_path='/v1/sdk-automation/playbook/configs/{configId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -106536,10 +106833,10 @@ def _v1_search_get_serialize( @validate_call - def v1_site_details_sitelists_post( + def v1_sdk_automation_playbook_configs_config_id_dry_run_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, + config_id: Annotated[StrictStr, Field(description="Config id whose latest dry-run job status is requested")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106552,15 +106849,15 @@ def v1_site_details_sitelists_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SiteDetailsSitelistsPostResponse: - """v1_site_details_sitelists_post + ) -> V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse: + """v1_sdk_automation_playbook_configs_config_id_dry_run_get - Get a list of site list references for a site + Get the latest dry-run / pipeline job status for a config :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_site_details_sitelists_post_request: (required) - :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest + :param config_id: Config id whose latest dry-run job status is requested (required) + :type config_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106583,9 +106880,9 @@ def v1_site_details_sitelists_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_details_sitelists_post_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_dry_run_get_serialize( authorization=authorization, - v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106593,7 +106890,7 @@ def v1_site_details_sitelists_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteDetailsSitelistsPostResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106607,10 +106904,10 @@ def v1_site_details_sitelists_post( @validate_call - def v1_site_details_sitelists_post_with_http_info( + def v1_sdk_automation_playbook_configs_config_id_dry_run_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, + config_id: Annotated[StrictStr, Field(description="Config id whose latest dry-run job status is requested")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106623,15 +106920,15 @@ def v1_site_details_sitelists_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SiteDetailsSitelistsPostResponse]: - """v1_site_details_sitelists_post + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse]: + """v1_sdk_automation_playbook_configs_config_id_dry_run_get - Get a list of site list references for a site + Get the latest dry-run / pipeline job status for a config :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_site_details_sitelists_post_request: (required) - :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest + :param config_id: Config id whose latest dry-run job status is requested (required) + :type config_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106654,9 +106951,9 @@ def v1_site_details_sitelists_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_details_sitelists_post_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_dry_run_get_serialize( authorization=authorization, - v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106664,7 +106961,7 @@ def v1_site_details_sitelists_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteDetailsSitelistsPostResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106678,10 +106975,10 @@ def v1_site_details_sitelists_post_with_http_info( @validate_call - def v1_site_details_sitelists_post_without_preload_content( + def v1_sdk_automation_playbook_configs_config_id_dry_run_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, + config_id: Annotated[StrictStr, Field(description="Config id whose latest dry-run job status is requested")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106695,14 +106992,14 @@ def v1_site_details_sitelists_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_site_details_sitelists_post + """v1_sdk_automation_playbook_configs_config_id_dry_run_get - Get a list of site list references for a site + Get the latest dry-run / pipeline job status for a config :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_site_details_sitelists_post_request: (required) - :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest + :param config_id: Config id whose latest dry-run job status is requested (required) + :type config_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106725,9 +107022,9 @@ def v1_site_details_sitelists_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_details_sitelists_post_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_dry_run_get_serialize( authorization=authorization, - v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106735,7 +107032,7 @@ def v1_site_details_sitelists_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteDetailsSitelistsPostResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse", } response_data = self.api_client.call_api( *_param, @@ -106744,10 +107041,10 @@ def v1_site_details_sitelists_post_without_preload_content( return response_data.response - def _v1_site_details_sitelists_post_serialize( + def _v1_sdk_automation_playbook_configs_config_id_dry_run_get_serialize( self, authorization, - v1_site_details_sitelists_post_request, + config_id, _request_auth, _content_type, _headers, @@ -106769,14 +107066,14 @@ def _v1_site_details_sitelists_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if config_id is not None: + _path_params['configId'] = config_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_site_details_sitelists_post_request is not None: - _body_params = v1_site_details_sitelists_post_request # set the HTTP header `Accept` @@ -106787,19 +107084,6 @@ def _v1_site_details_sitelists_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -106807,8 +107091,8 @@ def _v1_site_details_sitelists_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/site/details/sitelists', + method='GET', + resource_path='/v1/sdk-automation/playbook/configs/{configId}/dry-run', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -106825,10 +107109,11 @@ def _v1_site_details_sitelists_post_serialize( @validate_call - def v1_site_id_details_interfaces_get( + def v1_sdk_automation_playbook_configs_config_id_dry_run_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + config_id: Annotated[StrictStr, Field(description="Staged config id to dry-run")], + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106841,15 +107126,17 @@ def v1_site_id_details_interfaces_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SiteIdDetailsInterfacesGetResponse: - """v1_site_id_details_interfaces_get + ) -> V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse: + """v1_sdk_automation_playbook_configs_config_id_dry_run_post - Get a list of a site's interfaces, loopback listed first + Mandatory dry-run; creates a job, runs ansible --check :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param config_id: Staged config id to dry-run (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106872,9 +107159,10 @@ def v1_site_id_details_interfaces_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_id_details_interfaces_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_dry_run_post_serialize( authorization=authorization, - id=id, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request=v1_sdk_automation_playbook_configs_config_id_dry_run_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106882,7 +107170,7 @@ def v1_site_id_details_interfaces_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteIdDetailsInterfacesGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse", } response_data = self.api_client.call_api( *_param, @@ -106896,10 +107184,11 @@ def v1_site_id_details_interfaces_get( @validate_call - def v1_site_id_details_interfaces_get_with_http_info( + def v1_sdk_automation_playbook_configs_config_id_dry_run_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + config_id: Annotated[StrictStr, Field(description="Staged config id to dry-run")], + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106912,15 +107201,17 @@ def v1_site_id_details_interfaces_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SiteIdDetailsInterfacesGetResponse]: - """v1_site_id_details_interfaces_get + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse]: + """v1_sdk_automation_playbook_configs_config_id_dry_run_post - Get a list of a site's interfaces, loopback listed first + Mandatory dry-run; creates a job, runs ansible --check :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param config_id: Staged config id to dry-run (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -106943,9 +107234,10 @@ def v1_site_id_details_interfaces_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_id_details_interfaces_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_dry_run_post_serialize( authorization=authorization, - id=id, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request=v1_sdk_automation_playbook_configs_config_id_dry_run_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -106953,7 +107245,7 @@ def v1_site_id_details_interfaces_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteIdDetailsInterfacesGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse", } response_data = self.api_client.call_api( *_param, @@ -106967,10 +107259,11 @@ def v1_site_id_details_interfaces_get_with_http_info( @validate_call - def v1_site_id_details_interfaces_get_without_preload_content( + def v1_sdk_automation_playbook_configs_config_id_dry_run_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictInt, + config_id: Annotated[StrictStr, Field(description="Staged config id to dry-run")], + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -106984,14 +107277,167 @@ def v1_site_id_details_interfaces_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_site_id_details_interfaces_get + """v1_sdk_automation_playbook_configs_config_id_dry_run_post - Get a list of a site's interfaces, loopback listed first + Mandatory dry-run; creates a job, runs ansible --check :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: int + :param config_id: Staged config id to dry-run (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_dry_run_post_request: V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_sdk_automation_playbook_configs_config_id_dry_run_post_serialize( + authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request=v1_sdk_automation_playbook_configs_config_id_dry_run_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_sdk_automation_playbook_configs_config_id_dry_run_post_serialize( + self, + authorization, + config_id, + v1_sdk_automation_playbook_configs_config_id_dry_run_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if config_id is not None: + _path_params['configId'] = config_id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_sdk_automation_playbook_configs_config_id_dry_run_post_request is not None: + _body_params = v1_sdk_automation_playbook_configs_config_id_dry_run_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/sdk-automation/playbook/configs/{configId}/dry-run', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_sdk_automation_playbook_configs_config_id_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to fetch")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1SdkAutomationPlaybookConfigsConfigIdGetResponse: + """v1_sdk_automation_playbook_configs_config_id_get + + Get a playbook config including its module YAML files + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param config_id: Config id to fetch (required) + :type config_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107014,9 +107460,9 @@ def v1_site_id_details_interfaces_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_site_id_details_interfaces_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_get_serialize( authorization=authorization, - id=id, + config_id=config_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107024,7 +107470,149 @@ def v1_site_id_details_interfaces_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SiteIdDetailsInterfacesGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_sdk_automation_playbook_configs_config_id_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to fetch")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsConfigIdGetResponse]: + """v1_sdk_automation_playbook_configs_config_id_get + + Get a playbook config including its module YAML files + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param config_id: Config id to fetch (required) + :type config_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_sdk_automation_playbook_configs_config_id_get_serialize( + authorization=authorization, + config_id=config_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1SdkAutomationPlaybookConfigsConfigIdGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_sdk_automation_playbook_configs_config_id_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to fetch")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_sdk_automation_playbook_configs_config_id_get + + Get a playbook config including its module YAML files + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param config_id: Config id to fetch (required) + :type config_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_sdk_automation_playbook_configs_config_id_get_serialize( + authorization=authorization, + config_id=config_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1SdkAutomationPlaybookConfigsConfigIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107033,10 +107621,10 @@ def v1_site_id_details_interfaces_get_without_preload_content( return response_data.response - def _v1_site_id_details_interfaces_get_serialize( + def _v1_sdk_automation_playbook_configs_config_id_get_serialize( self, authorization, - id, + config_id, _request_auth, _content_type, _headers, @@ -107058,8 +107646,8 @@ def _v1_site_id_details_interfaces_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if config_id is not None: + _path_params['configId'] = config_id # process the query parameters # process the header parameters if authorization is not None: @@ -107084,7 +107672,7 @@ def _v1_site_id_details_interfaces_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/site/{id}/details/interfaces', + resource_path='/v1/sdk-automation/playbook/configs/{configId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107101,9 +107689,11 @@ def _v1_site_id_details_interfaces_get_serialize( @validate_call - def v1_sites_details_get( + def v1_sdk_automation_playbook_configs_config_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id from the URL path (:configId)")], + v1_sdk_automation_playbook_configs_config_id_put_request: V1SdkAutomationPlaybookConfigsConfigIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107116,13 +107706,17 @@ def v1_sites_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesDetailsGetResponse: - """v1_sites_details_get + ) -> V1SdkAutomationPlaybookConfigsConfigIdPutResponse: + """v1_sdk_automation_playbook_configs_config_id_put - Get a list of sites with aggregated values and site wide status + Validate & update config YAML :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param config_id: Config id from the URL path (:configId) (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_put_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_put_request: V1SdkAutomationPlaybookConfigsConfigIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107145,8 +107739,10 @@ def v1_sites_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_details_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_put_serialize( authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_put_request=v1_sdk_automation_playbook_configs_config_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107154,7 +107750,7 @@ def v1_sites_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesDetailsGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -107168,9 +107764,11 @@ def v1_sites_details_get( @validate_call - def v1_sites_details_get_with_http_info( + def v1_sdk_automation_playbook_configs_config_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id from the URL path (:configId)")], + v1_sdk_automation_playbook_configs_config_id_put_request: V1SdkAutomationPlaybookConfigsConfigIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107183,13 +107781,17 @@ def v1_sites_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesDetailsGetResponse]: - """v1_sites_details_get + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsConfigIdPutResponse]: + """v1_sdk_automation_playbook_configs_config_id_put - Get a list of sites with aggregated values and site wide status + Validate & update config YAML :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param config_id: Config id from the URL path (:configId) (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_put_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_put_request: V1SdkAutomationPlaybookConfigsConfigIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107212,8 +107814,10 @@ def v1_sites_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_details_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_put_serialize( authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_put_request=v1_sdk_automation_playbook_configs_config_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107221,7 +107825,7 @@ def v1_sites_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesDetailsGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -107235,9 +107839,11 @@ def v1_sites_details_get_with_http_info( @validate_call - def v1_sites_details_get_without_preload_content( + def v1_sdk_automation_playbook_configs_config_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id from the URL path (:configId)")], + v1_sdk_automation_playbook_configs_config_id_put_request: V1SdkAutomationPlaybookConfigsConfigIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107251,12 +107857,16 @@ def v1_sites_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_details_get + """v1_sdk_automation_playbook_configs_config_id_put - Get a list of sites with aggregated values and site wide status + Validate & update config YAML :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param config_id: Config id from the URL path (:configId) (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_put_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_put_request: V1SdkAutomationPlaybookConfigsConfigIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107279,8 +107889,10 @@ def v1_sites_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_details_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_put_serialize( authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_put_request=v1_sdk_automation_playbook_configs_config_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107288,7 +107900,7 @@ def v1_sites_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesDetailsGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdPutResponse", } response_data = self.api_client.call_api( *_param, @@ -107297,9 +107909,11 @@ def v1_sites_details_get_without_preload_content( return response_data.response - def _v1_sites_details_get_serialize( + def _v1_sdk_automation_playbook_configs_config_id_put_serialize( self, authorization, + config_id, + v1_sdk_automation_playbook_configs_config_id_put_request, _request_auth, _content_type, _headers, @@ -107321,12 +107935,16 @@ def _v1_sites_details_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if config_id is not None: + _path_params['configId'] = config_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_sdk_automation_playbook_configs_config_id_put_request is not None: + _body_params = v1_sdk_automation_playbook_configs_config_id_put_request # set the HTTP header `Accept` @@ -107337,6 +107955,19 @@ def _v1_sites_details_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -107344,8 +107975,8 @@ def _v1_sites_details_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/sites/details', + method='PUT', + resource_path='/v1/sdk-automation/playbook/configs/{configId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107362,9 +107993,11 @@ def _v1_sites_details_get_serialize( @validate_call - def v1_sites_get( + def v1_sdk_automation_playbook_configs_config_id_stage_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to stage")], + v1_sdk_automation_playbook_configs_config_id_stage_put_request: V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107377,13 +108010,17 @@ def v1_sites_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesGetResponse: - """v1_sites_get + ) -> V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse: + """v1_sdk_automation_playbook_configs_config_id_stage_put - Get sites for the current enterprise + Save name + notes and mark config as staged (must already be validated) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param config_id: Config id to stage (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_stage_put_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_stage_put_request: V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107406,8 +108043,10 @@ def v1_sites_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_stage_put_serialize( authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_stage_put_request=v1_sdk_automation_playbook_configs_config_id_stage_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107415,7 +108054,7 @@ def v1_sites_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse", } response_data = self.api_client.call_api( *_param, @@ -107429,9 +108068,11 @@ def v1_sites_get( @validate_call - def v1_sites_get_with_http_info( + def v1_sdk_automation_playbook_configs_config_id_stage_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to stage")], + v1_sdk_automation_playbook_configs_config_id_stage_put_request: V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107444,13 +108085,17 @@ def v1_sites_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesGetResponse]: - """v1_sites_get + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse]: + """v1_sdk_automation_playbook_configs_config_id_stage_put - Get sites for the current enterprise + Save name + notes and mark config as staged (must already be validated) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param config_id: Config id to stage (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_stage_put_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_stage_put_request: V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107473,8 +108118,10 @@ def v1_sites_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_stage_put_serialize( authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_stage_put_request=v1_sdk_automation_playbook_configs_config_id_stage_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107482,7 +108129,7 @@ def v1_sites_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse", } response_data = self.api_client.call_api( *_param, @@ -107496,9 +108143,11 @@ def v1_sites_get_with_http_info( @validate_call - def v1_sites_get_without_preload_content( + def v1_sdk_automation_playbook_configs_config_id_stage_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + config_id: Annotated[StrictStr, Field(description="Config id to stage")], + v1_sdk_automation_playbook_configs_config_id_stage_put_request: V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107512,12 +108161,16 @@ def v1_sites_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_get + """v1_sdk_automation_playbook_configs_config_id_stage_put - Get sites for the current enterprise + Save name + notes and mark config as staged (must already be validated) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param config_id: Config id to stage (required) + :type config_id: str + :param v1_sdk_automation_playbook_configs_config_id_stage_put_request: (required) + :type v1_sdk_automation_playbook_configs_config_id_stage_put_request: V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107540,8 +108193,10 @@ def v1_sites_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_config_id_stage_put_serialize( authorization=authorization, + config_id=config_id, + v1_sdk_automation_playbook_configs_config_id_stage_put_request=v1_sdk_automation_playbook_configs_config_id_stage_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107549,7 +108204,7 @@ def v1_sites_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesGetResponse", + '200': "V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse", } response_data = self.api_client.call_api( *_param, @@ -107558,9 +108213,11 @@ def v1_sites_get_without_preload_content( return response_data.response - def _v1_sites_get_serialize( + def _v1_sdk_automation_playbook_configs_config_id_stage_put_serialize( self, authorization, + config_id, + v1_sdk_automation_playbook_configs_config_id_stage_put_request, _request_auth, _content_type, _headers, @@ -107582,12 +108239,16 @@ def _v1_sites_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if config_id is not None: + _path_params['configId'] = config_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_sdk_automation_playbook_configs_config_id_stage_put_request is not None: + _body_params = v1_sdk_automation_playbook_configs_config_id_stage_put_request # set the HTTP header `Accept` @@ -107598,6 +108259,19 @@ def _v1_sites_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -107605,8 +108279,8 @@ def _v1_sites_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/sites', + method='PUT', + resource_path='/v1/sdk-automation/playbook/configs/{configId}/stage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107623,12 +108297,13 @@ def _v1_sites_get_serialize( @validate_call - def v1_sites_map_details_get( + def v1_sdk_automation_playbook_configs_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - lan_segment_ids: Optional[List[StrictInt]] = None, - site_ids: Optional[List[StrictInt]] = None, - site_list_ids: Optional[List[StrictInt]] = None, + name_contains: Annotated[Optional[StrictStr], Field(description="Optional filter: case-insensitive substring match on config display name; empty returns all")] = None, + after: Optional[StrictStr] = None, + first: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + status: Annotated[Optional[List[StrictStr]], Field(description="Optional status filter (e.g. STAGED, PAUSED); empty returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107641,19 +108316,21 @@ def v1_sites_map_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesMapDetailsGetResponse: - """v1_sites_map_details_get + ) -> V1SdkAutomationPlaybookConfigsGetResponse: + """v1_sdk_automation_playbook_configs_get - Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site + Pending Executions table :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param lan_segment_ids: - :type lan_segment_ids: List[int] - :param site_ids: - :type site_ids: List[int] - :param site_list_ids: - :type site_list_ids: List[int] + :param name_contains: Optional filter: case-insensitive substring match on config display name; empty returns all + :type name_contains: str + :param after: + :type after: str + :param first: + :type first: int + :param status: Optional status filter (e.g. STAGED, PAUSED); empty returns all + :type status: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107676,11 +108353,12 @@ def v1_sites_map_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_map_details_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_get_serialize( authorization=authorization, - lan_segment_ids=lan_segment_ids, - site_ids=site_ids, - site_list_ids=site_list_ids, + name_contains=name_contains, + after=after, + first=first, + status=status, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107688,7 +108366,7 @@ def v1_sites_map_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesMapDetailsGetResponse", + '200': "V1SdkAutomationPlaybookConfigsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107702,12 +108380,13 @@ def v1_sites_map_details_get( @validate_call - def v1_sites_map_details_get_with_http_info( + def v1_sdk_automation_playbook_configs_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - lan_segment_ids: Optional[List[StrictInt]] = None, - site_ids: Optional[List[StrictInt]] = None, - site_list_ids: Optional[List[StrictInt]] = None, + name_contains: Annotated[Optional[StrictStr], Field(description="Optional filter: case-insensitive substring match on config display name; empty returns all")] = None, + after: Optional[StrictStr] = None, + first: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + status: Annotated[Optional[List[StrictStr]], Field(description="Optional status filter (e.g. STAGED, PAUSED); empty returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107720,19 +108399,21 @@ def v1_sites_map_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesMapDetailsGetResponse]: - """v1_sites_map_details_get + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsGetResponse]: + """v1_sdk_automation_playbook_configs_get - Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site + Pending Executions table :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param lan_segment_ids: - :type lan_segment_ids: List[int] - :param site_ids: - :type site_ids: List[int] - :param site_list_ids: - :type site_list_ids: List[int] + :param name_contains: Optional filter: case-insensitive substring match on config display name; empty returns all + :type name_contains: str + :param after: + :type after: str + :param first: + :type first: int + :param status: Optional status filter (e.g. STAGED, PAUSED); empty returns all + :type status: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107755,11 +108436,12 @@ def v1_sites_map_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_map_details_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_get_serialize( authorization=authorization, - lan_segment_ids=lan_segment_ids, - site_ids=site_ids, - site_list_ids=site_list_ids, + name_contains=name_contains, + after=after, + first=first, + status=status, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107767,7 +108449,7 @@ def v1_sites_map_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesMapDetailsGetResponse", + '200': "V1SdkAutomationPlaybookConfigsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107781,12 +108463,13 @@ def v1_sites_map_details_get_with_http_info( @validate_call - def v1_sites_map_details_get_without_preload_content( + def v1_sdk_automation_playbook_configs_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - lan_segment_ids: Optional[List[StrictInt]] = None, - site_ids: Optional[List[StrictInt]] = None, - site_list_ids: Optional[List[StrictInt]] = None, + name_contains: Annotated[Optional[StrictStr], Field(description="Optional filter: case-insensitive substring match on config display name; empty returns all")] = None, + after: Optional[StrictStr] = None, + first: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + status: Annotated[Optional[List[StrictStr]], Field(description="Optional status filter (e.g. STAGED, PAUSED); empty returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107800,18 +108483,20 @@ def v1_sites_map_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_map_details_get + """v1_sdk_automation_playbook_configs_get - Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site + Pending Executions table :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param lan_segment_ids: - :type lan_segment_ids: List[int] - :param site_ids: - :type site_ids: List[int] - :param site_list_ids: - :type site_list_ids: List[int] + :param name_contains: Optional filter: case-insensitive substring match on config display name; empty returns all + :type name_contains: str + :param after: + :type after: str + :param first: + :type first: int + :param status: Optional status filter (e.g. STAGED, PAUSED); empty returns all + :type status: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107834,11 +108519,12 @@ def v1_sites_map_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_map_details_get_serialize( + _param = self._v1_sdk_automation_playbook_configs_get_serialize( authorization=authorization, - lan_segment_ids=lan_segment_ids, - site_ids=site_ids, - site_list_ids=site_list_ids, + name_contains=name_contains, + after=after, + first=first, + status=status, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107846,7 +108532,7 @@ def v1_sites_map_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesMapDetailsGetResponse", + '200': "V1SdkAutomationPlaybookConfigsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -107855,12 +108541,13 @@ def v1_sites_map_details_get_without_preload_content( return response_data.response - def _v1_sites_map_details_get_serialize( + def _v1_sdk_automation_playbook_configs_get_serialize( self, authorization, - lan_segment_ids, - site_ids, - site_list_ids, + name_contains, + after, + first, + status, _request_auth, _content_type, _headers, @@ -107870,9 +108557,7 @@ def _v1_sites_map_details_get_serialize( _host = None _collection_formats: Dict[str, str] = { - 'lanSegmentIds': 'multi', - 'siteIds': 'multi', - 'siteListIds': 'multi', + 'status': 'multi', } _path_params: Dict[str, str] = {} @@ -107886,17 +108571,21 @@ def _v1_sites_map_details_get_serialize( # process the path parameters # process the query parameters - if lan_segment_ids is not None: + if name_contains is not None: - _query_params.append(('lanSegmentIds', lan_segment_ids)) + _query_params.append(('nameContains', name_contains)) - if site_ids is not None: + if after is not None: - _query_params.append(('siteIds', site_ids)) + _query_params.append(('after', after)) - if site_list_ids is not None: + if first is not None: - _query_params.append(('siteListIds', site_list_ids)) + _query_params.append(('first', first)) + + if status is not None: + + _query_params.append(('status', status)) # process the header parameters if authorization is not None: @@ -107921,7 +108610,7 @@ def _v1_sites_map_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/sites/map/details', + resource_path='/v1/sdk-automation/playbook/configs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -107938,10 +108627,10 @@ def _v1_sites_map_details_get_serialize( @validate_call - def v1_sites_post( + def v1_sdk_automation_playbook_configs_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_sites_post_request: V1SitesPostRequest, + v1_sdk_automation_playbook_configs_post_request: V1SdkAutomationPlaybookConfigsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -107954,15 +108643,15 @@ def v1_sites_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesPostResponse: - """v1_sites_post + ) -> V1SdkAutomationPlaybookConfigsPostResponse: + """v1_sdk_automation_playbook_configs_post - Create an enterprise site + Validate & create a config (validate_only=true skips persist for Validate Bundle) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_sites_post_request: (required) - :type v1_sites_post_request: V1SitesPostRequest + :param v1_sdk_automation_playbook_configs_post_request: (required) + :type v1_sdk_automation_playbook_configs_post_request: V1SdkAutomationPlaybookConfigsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -107985,9 +108674,9 @@ def v1_sites_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_post_serialize( + _param = self._v1_sdk_automation_playbook_configs_post_serialize( authorization=authorization, - v1_sites_post_request=v1_sites_post_request, + v1_sdk_automation_playbook_configs_post_request=v1_sdk_automation_playbook_configs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -107995,7 +108684,7 @@ def v1_sites_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesPostResponse", + '200': "V1SdkAutomationPlaybookConfigsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -108009,10 +108698,10 @@ def v1_sites_post( @validate_call - def v1_sites_post_with_http_info( + def v1_sdk_automation_playbook_configs_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_sites_post_request: V1SitesPostRequest, + v1_sdk_automation_playbook_configs_post_request: V1SdkAutomationPlaybookConfigsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108025,15 +108714,15 @@ def v1_sites_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesPostResponse]: - """v1_sites_post + ) -> ApiResponse[V1SdkAutomationPlaybookConfigsPostResponse]: + """v1_sdk_automation_playbook_configs_post - Create an enterprise site + Validate & create a config (validate_only=true skips persist for Validate Bundle) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_sites_post_request: (required) - :type v1_sites_post_request: V1SitesPostRequest + :param v1_sdk_automation_playbook_configs_post_request: (required) + :type v1_sdk_automation_playbook_configs_post_request: V1SdkAutomationPlaybookConfigsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108056,9 +108745,9 @@ def v1_sites_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_post_serialize( + _param = self._v1_sdk_automation_playbook_configs_post_serialize( authorization=authorization, - v1_sites_post_request=v1_sites_post_request, + v1_sdk_automation_playbook_configs_post_request=v1_sdk_automation_playbook_configs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108066,7 +108755,7 @@ def v1_sites_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesPostResponse", + '200': "V1SdkAutomationPlaybookConfigsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -108080,10 +108769,10 @@ def v1_sites_post_with_http_info( @validate_call - def v1_sites_post_without_preload_content( + def v1_sdk_automation_playbook_configs_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_sites_post_request: V1SitesPostRequest, + v1_sdk_automation_playbook_configs_post_request: V1SdkAutomationPlaybookConfigsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108097,14 +108786,14 @@ def v1_sites_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_post + """v1_sdk_automation_playbook_configs_post - Create an enterprise site + Validate & create a config (validate_only=true skips persist for Validate Bundle) :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_sites_post_request: (required) - :type v1_sites_post_request: V1SitesPostRequest + :param v1_sdk_automation_playbook_configs_post_request: (required) + :type v1_sdk_automation_playbook_configs_post_request: V1SdkAutomationPlaybookConfigsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108127,9 +108816,9 @@ def v1_sites_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_post_serialize( + _param = self._v1_sdk_automation_playbook_configs_post_serialize( authorization=authorization, - v1_sites_post_request=v1_sites_post_request, + v1_sdk_automation_playbook_configs_post_request=v1_sdk_automation_playbook_configs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108137,7 +108826,7 @@ def v1_sites_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesPostResponse", + '200': "V1SdkAutomationPlaybookConfigsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -108146,10 +108835,10 @@ def v1_sites_post_without_preload_content( return response_data.response - def _v1_sites_post_serialize( + def _v1_sdk_automation_playbook_configs_post_serialize( self, authorization, - v1_sites_post_request, + v1_sdk_automation_playbook_configs_post_request, _request_auth, _content_type, _headers, @@ -108177,8 +108866,8 @@ def _v1_sites_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_sites_post_request is not None: - _body_params = v1_sites_post_request + if v1_sdk_automation_playbook_configs_post_request is not None: + _body_params = v1_sdk_automation_playbook_configs_post_request # set the HTTP header `Accept` @@ -108210,7 +108899,7 @@ def _v1_sites_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/sites', + resource_path='/v1/sdk-automation/playbook/configs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108227,10 +108916,10 @@ def _v1_sites_post_serialize( @validate_call - def v1_sites_site_id_circuits_get( + def v1_sdk_automation_playbook_jobs_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + name_contains: Annotated[Optional[StrictStr], Field(description="Optional filter: case-insensitive substring match on the owning config's display name; empty returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108243,15 +108932,15 @@ def v1_sites_site_id_circuits_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesSiteIdCircuitsGetResponse: - """v1_sites_site_id_circuits_get + ) -> V1SdkAutomationPlaybookJobsGetResponse: + """v1_sdk_automation_playbook_jobs_get - Get Circuits for the site + List playbook job history :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param name_contains: Optional filter: case-insensitive substring match on the owning config's display name; empty returns all + :type name_contains: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108274,9 +108963,9 @@ def v1_sites_site_id_circuits_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_circuits_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_get_serialize( authorization=authorization, - site_id=site_id, + name_contains=name_contains, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108284,7 +108973,7 @@ def v1_sites_site_id_circuits_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdCircuitsGetResponse", + '200': "V1SdkAutomationPlaybookJobsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108298,10 +108987,10 @@ def v1_sites_site_id_circuits_get( @validate_call - def v1_sites_site_id_circuits_get_with_http_info( + def v1_sdk_automation_playbook_jobs_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + name_contains: Annotated[Optional[StrictStr], Field(description="Optional filter: case-insensitive substring match on the owning config's display name; empty returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108314,15 +109003,15 @@ def v1_sites_site_id_circuits_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesSiteIdCircuitsGetResponse]: - """v1_sites_site_id_circuits_get + ) -> ApiResponse[V1SdkAutomationPlaybookJobsGetResponse]: + """v1_sdk_automation_playbook_jobs_get - Get Circuits for the site + List playbook job history :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param name_contains: Optional filter: case-insensitive substring match on the owning config's display name; empty returns all + :type name_contains: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108345,9 +109034,9 @@ def v1_sites_site_id_circuits_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_circuits_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_get_serialize( authorization=authorization, - site_id=site_id, + name_contains=name_contains, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108355,7 +109044,7 @@ def v1_sites_site_id_circuits_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdCircuitsGetResponse", + '200': "V1SdkAutomationPlaybookJobsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108369,10 +109058,10 @@ def v1_sites_site_id_circuits_get_with_http_info( @validate_call - def v1_sites_site_id_circuits_get_without_preload_content( + def v1_sdk_automation_playbook_jobs_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + name_contains: Annotated[Optional[StrictStr], Field(description="Optional filter: case-insensitive substring match on the owning config's display name; empty returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108386,14 +109075,14 @@ def v1_sites_site_id_circuits_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_circuits_get + """v1_sdk_automation_playbook_jobs_get - Get Circuits for the site + List playbook job history :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param name_contains: Optional filter: case-insensitive substring match on the owning config's display name; empty returns all + :type name_contains: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108416,9 +109105,9 @@ def v1_sites_site_id_circuits_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_circuits_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_get_serialize( authorization=authorization, - site_id=site_id, + name_contains=name_contains, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108426,7 +109115,7 @@ def v1_sites_site_id_circuits_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdCircuitsGetResponse", + '200': "V1SdkAutomationPlaybookJobsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -108435,10 +109124,10 @@ def v1_sites_site_id_circuits_get_without_preload_content( return response_data.response - def _v1_sites_site_id_circuits_get_serialize( + def _v1_sdk_automation_playbook_jobs_get_serialize( self, authorization, - site_id, + name_contains, _request_auth, _content_type, _headers, @@ -108460,9 +109149,11 @@ def _v1_sites_site_id_circuits_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id # process the query parameters + if name_contains is not None: + + _query_params.append(('nameContains', name_contains)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -108486,7 +109177,7 @@ def _v1_sites_site_id_circuits_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/sites/{siteId}/circuits', + resource_path='/v1/sdk-automation/playbook/jobs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108503,10 +109194,11 @@ def _v1_sites_site_id_circuits_get_serialize( @validate_call - def v1_sites_site_id_delete( + def v1_sdk_automation_playbook_jobs_job_id_abort_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + job_id: Annotated[StrictStr, Field(description="In-progress job id to abort")], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108519,15 +109211,17 @@ def v1_sites_site_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_sites_site_id_delete + ) -> V1SdkAutomationPlaybookJobsJobIdAbortPutResponse: + """v1_sdk_automation_playbook_jobs_job_id_abort_put - Delete a site + Abort an in-progress playbook job :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param job_id: In-progress job id to abort (required) + :type job_id: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108550,9 +109244,10 @@ def v1_sites_site_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_delete_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_abort_put_serialize( authorization=authorization, - site_id=site_id, + job_id=job_id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108560,7 +109255,7 @@ def v1_sites_site_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SdkAutomationPlaybookJobsJobIdAbortPutResponse", } response_data = self.api_client.call_api( *_param, @@ -108574,10 +109269,11 @@ def v1_sites_site_id_delete( @validate_call - def v1_sites_site_id_delete_with_http_info( + def v1_sdk_automation_playbook_jobs_job_id_abort_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + job_id: Annotated[StrictStr, Field(description="In-progress job id to abort")], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108590,15 +109286,17 @@ def v1_sites_site_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_sites_site_id_delete + ) -> ApiResponse[V1SdkAutomationPlaybookJobsJobIdAbortPutResponse]: + """v1_sdk_automation_playbook_jobs_job_id_abort_put - Delete a site + Abort an in-progress playbook job :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param job_id: In-progress job id to abort (required) + :type job_id: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108621,9 +109319,10 @@ def v1_sites_site_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_delete_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_abort_put_serialize( authorization=authorization, - site_id=site_id, + job_id=job_id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108631,7 +109330,7 @@ def v1_sites_site_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SdkAutomationPlaybookJobsJobIdAbortPutResponse", } response_data = self.api_client.call_api( *_param, @@ -108645,10 +109344,11 @@ def v1_sites_site_id_delete_with_http_info( @validate_call - def v1_sites_site_id_delete_without_preload_content( + def v1_sdk_automation_playbook_jobs_job_id_abort_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, + job_id: Annotated[StrictStr, Field(description="In-progress job id to abort")], + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108662,14 +109362,16 @@ def v1_sites_site_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_delete + """v1_sdk_automation_playbook_jobs_job_id_abort_put - Delete a site + Abort an in-progress playbook job :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param job_id: In-progress job id to abort (required) + :type job_id: str + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108692,9 +109394,10 @@ def v1_sites_site_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_delete_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_abort_put_serialize( authorization=authorization, - site_id=site_id, + job_id=job_id, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108702,7 +109405,7 @@ def v1_sites_site_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SdkAutomationPlaybookJobsJobIdAbortPutResponse", } response_data = self.api_client.call_api( *_param, @@ -108711,10 +109414,11 @@ def v1_sites_site_id_delete_without_preload_content( return response_data.response - def _v1_sites_site_id_delete_serialize( + def _v1_sdk_automation_playbook_jobs_job_id_abort_put_serialize( self, authorization, - site_id, + job_id, + body, _request_auth, _content_type, _headers, @@ -108736,17 +109440,39 @@ def _v1_sites_site_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if body is not None: + _body_params = body + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -108754,8 +109480,8 @@ def _v1_sites_site_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/sites/{siteId}', + method='PUT', + resource_path='/v1/sdk-automation/playbook/jobs/{jobId}/abort', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -108772,10 +109498,11 @@ def _v1_sites_site_id_delete_serialize( @validate_call - def v1_sites_site_id_devices_get( + def v1_sdk_automation_playbook_jobs_job_id_approve_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Annotated[int, Field(strict=True, ge=0)], + job_id: Annotated[StrictStr, Field(description="Job id in DRY_RUN_COMPLETE to approve for deploy")], + v1_sdk_automation_playbook_jobs_job_id_approve_put_request: V1SdkAutomationPlaybookJobsJobIdApprovePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108788,15 +109515,17 @@ def v1_sites_site_id_devices_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesSiteIdDevicesGetResponse: - """v1_sites_site_id_devices_get + ) -> V1SdkAutomationPlaybookJobsJobIdApprovePutResponse: + """v1_sdk_automation_playbook_jobs_job_id_approve_put - Get Devices for the site + Gate: execute play (deploy) after dry-run passes :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param job_id: Job id in DRY_RUN_COMPLETE to approve for deploy (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_approve_put_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_approve_put_request: V1SdkAutomationPlaybookJobsJobIdApprovePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108819,9 +109548,10 @@ def v1_sites_site_id_devices_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_devices_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_approve_put_serialize( authorization=authorization, - site_id=site_id, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_approve_put_request=v1_sdk_automation_playbook_jobs_job_id_approve_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108829,7 +109559,7 @@ def v1_sites_site_id_devices_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdDevicesGetResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdApprovePutResponse", } response_data = self.api_client.call_api( *_param, @@ -108843,10 +109573,11 @@ def v1_sites_site_id_devices_get( @validate_call - def v1_sites_site_id_devices_get_with_http_info( + def v1_sdk_automation_playbook_jobs_job_id_approve_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Annotated[int, Field(strict=True, ge=0)], + job_id: Annotated[StrictStr, Field(description="Job id in DRY_RUN_COMPLETE to approve for deploy")], + v1_sdk_automation_playbook_jobs_job_id_approve_put_request: V1SdkAutomationPlaybookJobsJobIdApprovePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108859,15 +109590,17 @@ def v1_sites_site_id_devices_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesSiteIdDevicesGetResponse]: - """v1_sites_site_id_devices_get + ) -> ApiResponse[V1SdkAutomationPlaybookJobsJobIdApprovePutResponse]: + """v1_sdk_automation_playbook_jobs_job_id_approve_put - Get Devices for the site + Gate: execute play (deploy) after dry-run passes :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param job_id: Job id in DRY_RUN_COMPLETE to approve for deploy (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_approve_put_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_approve_put_request: V1SdkAutomationPlaybookJobsJobIdApprovePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108890,9 +109623,10 @@ def v1_sites_site_id_devices_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_devices_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_approve_put_serialize( authorization=authorization, - site_id=site_id, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_approve_put_request=v1_sdk_automation_playbook_jobs_job_id_approve_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108900,7 +109634,7 @@ def v1_sites_site_id_devices_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdDevicesGetResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdApprovePutResponse", } response_data = self.api_client.call_api( *_param, @@ -108914,10 +109648,11 @@ def v1_sites_site_id_devices_get_with_http_info( @validate_call - def v1_sites_site_id_devices_get_without_preload_content( + def v1_sdk_automation_playbook_jobs_job_id_approve_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: Annotated[int, Field(strict=True, ge=0)], + job_id: Annotated[StrictStr, Field(description="Job id in DRY_RUN_COMPLETE to approve for deploy")], + v1_sdk_automation_playbook_jobs_job_id_approve_put_request: V1SdkAutomationPlaybookJobsJobIdApprovePutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -108931,14 +109666,16 @@ def v1_sites_site_id_devices_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_devices_get + """v1_sdk_automation_playbook_jobs_job_id_approve_put - Get Devices for the site + Gate: execute play (deploy) after dry-run passes :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int + :param job_id: Job id in DRY_RUN_COMPLETE to approve for deploy (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_approve_put_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_approve_put_request: V1SdkAutomationPlaybookJobsJobIdApprovePutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -108961,9 +109698,10 @@ def v1_sites_site_id_devices_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_devices_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_approve_put_serialize( authorization=authorization, - site_id=site_id, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_approve_put_request=v1_sdk_automation_playbook_jobs_job_id_approve_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -108971,7 +109709,7 @@ def v1_sites_site_id_devices_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdDevicesGetResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdApprovePutResponse", } response_data = self.api_client.call_api( *_param, @@ -108980,10 +109718,11 @@ def v1_sites_site_id_devices_get_without_preload_content( return response_data.response - def _v1_sites_site_id_devices_get_serialize( + def _v1_sdk_automation_playbook_jobs_job_id_approve_put_serialize( self, authorization, - site_id, + job_id, + v1_sdk_automation_playbook_jobs_job_id_approve_put_request, _request_auth, _content_type, _headers, @@ -109005,14 +109744,16 @@ def _v1_sites_site_id_devices_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_sdk_automation_playbook_jobs_job_id_approve_put_request is not None: + _body_params = v1_sdk_automation_playbook_jobs_job_id_approve_put_request # set the HTTP header `Accept` @@ -109023,6 +109764,19 @@ def _v1_sites_site_id_devices_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -109030,8 +109784,8 @@ def _v1_sites_site_id_devices_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/sites/{siteId}/devices', + method='PUT', + resource_path='/v1/sdk-automation/playbook/jobs/{jobId}/approve', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109048,11 +109802,10 @@ def _v1_sites_site_id_devices_get_serialize( @validate_call - def v1_sites_site_id_post( + def v1_sdk_automation_playbook_jobs_job_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, + job_id: Annotated[StrictStr, Field(description="Job id to fetch")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109065,17 +109818,15 @@ def v1_sites_site_id_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SitesSiteIdPostResponse: - """v1_sites_site_id_post + ) -> V1SdkAutomationPlaybookJobsJobIdGetResponse: + """v1_sdk_automation_playbook_jobs_job_id_get - Update a site + Get a playbook job by id :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int - :param v1_sites_site_id_post_request: (required) - :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest + :param job_id: Job id to fetch (required) + :type job_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109098,10 +109849,9 @@ def v1_sites_site_id_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_post_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_get_serialize( authorization=authorization, - site_id=site_id, - v1_sites_site_id_post_request=v1_sites_site_id_post_request, + job_id=job_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109109,7 +109859,7 @@ def v1_sites_site_id_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdPostResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109123,11 +109873,10 @@ def v1_sites_site_id_post( @validate_call - def v1_sites_site_id_post_with_http_info( + def v1_sdk_automation_playbook_jobs_job_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, + job_id: Annotated[StrictStr, Field(description="Job id to fetch")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109140,17 +109889,15 @@ def v1_sites_site_id_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SitesSiteIdPostResponse]: - """v1_sites_site_id_post + ) -> ApiResponse[V1SdkAutomationPlaybookJobsJobIdGetResponse]: + """v1_sdk_automation_playbook_jobs_job_id_get - Update a site + Get a playbook job by id :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int - :param v1_sites_site_id_post_request: (required) - :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest + :param job_id: Job id to fetch (required) + :type job_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109173,10 +109920,9 @@ def v1_sites_site_id_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_post_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_get_serialize( authorization=authorization, - site_id=site_id, - v1_sites_site_id_post_request=v1_sites_site_id_post_request, + job_id=job_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109184,7 +109930,7 @@ def v1_sites_site_id_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdPostResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109198,11 +109944,10 @@ def v1_sites_site_id_post_with_http_info( @validate_call - def v1_sites_site_id_post_without_preload_content( + def v1_sdk_automation_playbook_jobs_job_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, + job_id: Annotated[StrictStr, Field(description="Job id to fetch")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109216,16 +109961,14 @@ def v1_sites_site_id_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_sites_site_id_post + """v1_sdk_automation_playbook_jobs_job_id_get - Update a site + Get a playbook job by id :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int - :param v1_sites_site_id_post_request: (required) - :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest + :param job_id: Job id to fetch (required) + :type job_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109248,10 +109991,9 @@ def v1_sites_site_id_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_sites_site_id_post_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_get_serialize( authorization=authorization, - site_id=site_id, - v1_sites_site_id_post_request=v1_sites_site_id_post_request, + job_id=job_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109259,7 +110001,7 @@ def v1_sites_site_id_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SitesSiteIdPostResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109268,11 +110010,10 @@ def v1_sites_site_id_post_without_preload_content( return response_data.response - def _v1_sites_site_id_post_serialize( + def _v1_sdk_automation_playbook_jobs_job_id_get_serialize( self, authorization, - site_id, - v1_sites_site_id_post_request, + job_id, _request_auth, _content_type, _headers, @@ -109294,16 +110035,14 @@ def _v1_sites_site_id_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_sites_site_id_post_request is not None: - _body_params = v1_sites_site_id_post_request # set the HTTP header `Accept` @@ -109314,19 +110053,6 @@ def _v1_sites_site_id_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -109334,8 +110060,8 @@ def _v1_sites_site_id_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/sites/{siteId}', + method='GET', + resource_path='/v1/sdk-automation/playbook/jobs/{jobId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109352,9 +110078,11 @@ def _v1_sites_site_id_post_serialize( @validate_call - def v1_software_auto_upgrade_default_get( + def v1_sdk_automation_playbook_jobs_job_id_logs_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + job_id: Annotated[StrictStr, Field(description="Job id whose logs are requested")], + phase: Annotated[Optional[StrictStr], Field(description="Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109367,12 +110095,17 @@ def v1_software_auto_upgrade_default_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareAutoUpgradeDefaultGetResponse: - """v1_software_auto_upgrade_default_get + ) -> V1SdkAutomationPlaybookJobsJobIdLogsGetResponse: + """v1_sdk_automation_playbook_jobs_job_id_logs_get + Get masked ansible logs for a job, optionally filtered by phase :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param job_id: Job id whose logs are requested (required) + :type job_id: str + :param phase: Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all + :type phase: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109395,8 +110128,10 @@ def v1_software_auto_upgrade_default_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_logs_get_serialize( authorization=authorization, + job_id=job_id, + phase=phase, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109404,7 +110139,7 @@ def v1_software_auto_upgrade_default_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareAutoUpgradeDefaultGetResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdLogsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109418,9 +110153,11 @@ def v1_software_auto_upgrade_default_get( @validate_call - def v1_software_auto_upgrade_default_get_with_http_info( + def v1_sdk_automation_playbook_jobs_job_id_logs_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + job_id: Annotated[StrictStr, Field(description="Job id whose logs are requested")], + phase: Annotated[Optional[StrictStr], Field(description="Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109433,12 +110170,17 @@ def v1_software_auto_upgrade_default_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareAutoUpgradeDefaultGetResponse]: - """v1_software_auto_upgrade_default_get + ) -> ApiResponse[V1SdkAutomationPlaybookJobsJobIdLogsGetResponse]: + """v1_sdk_automation_playbook_jobs_job_id_logs_get + Get masked ansible logs for a job, optionally filtered by phase :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param job_id: Job id whose logs are requested (required) + :type job_id: str + :param phase: Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all + :type phase: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109461,8 +110203,10 @@ def v1_software_auto_upgrade_default_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_logs_get_serialize( authorization=authorization, + job_id=job_id, + phase=phase, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109470,7 +110214,7 @@ def v1_software_auto_upgrade_default_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareAutoUpgradeDefaultGetResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdLogsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109484,9 +110228,11 @@ def v1_software_auto_upgrade_default_get_with_http_info( @validate_call - def v1_software_auto_upgrade_default_get_without_preload_content( + def v1_sdk_automation_playbook_jobs_job_id_logs_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + job_id: Annotated[StrictStr, Field(description="Job id whose logs are requested")], + phase: Annotated[Optional[StrictStr], Field(description="Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109500,11 +110246,16 @@ def v1_software_auto_upgrade_default_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_auto_upgrade_default_get + """v1_sdk_automation_playbook_jobs_job_id_logs_get + Get masked ansible logs for a job, optionally filtered by phase :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param job_id: Job id whose logs are requested (required) + :type job_id: str + :param phase: Optional phase filter (dry_run / deploy / post_deploy_check); unset returns all + :type phase: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109527,8 +110278,10 @@ def v1_software_auto_upgrade_default_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_get_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_logs_get_serialize( authorization=authorization, + job_id=job_id, + phase=phase, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109536,7 +110289,7 @@ def v1_software_auto_upgrade_default_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareAutoUpgradeDefaultGetResponse", + '200': "V1SdkAutomationPlaybookJobsJobIdLogsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -109545,9 +110298,11 @@ def v1_software_auto_upgrade_default_get_without_preload_content( return response_data.response - def _v1_software_auto_upgrade_default_get_serialize( + def _v1_sdk_automation_playbook_jobs_job_id_logs_get_serialize( self, authorization, + job_id, + phase, _request_auth, _content_type, _headers, @@ -109569,7 +110324,13 @@ def _v1_software_auto_upgrade_default_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters + if phase is not None: + + _query_params.append(('phase', phase)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -109593,7 +110354,7 @@ def _v1_software_auto_upgrade_default_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/auto-upgrade/default', + resource_path='/v1/sdk-automation/playbook/jobs/{jobId}/logs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109610,10 +110371,11 @@ def _v1_software_auto_upgrade_default_get_serialize( @validate_call - def v1_software_auto_upgrade_default_put( + def v1_sdk_automation_playbook_jobs_job_id_resume_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, + job_id: Annotated[StrictStr, Field(description="Job id parked in AWAITING_REAUTH to resume")], + v1_sdk_automation_playbook_jobs_job_id_resume_post_request: V1SdkAutomationPlaybookJobsJobIdResumePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109626,14 +110388,17 @@ def v1_software_auto_upgrade_default_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_software_auto_upgrade_default_put + ) -> V1SdkAutomationPlaybookJobsJobIdResumePostResponse: + """v1_sdk_automation_playbook_jobs_job_id_resume_post + Resume a run parked in awaiting_reauth with the caller's re-authed token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_auto_upgrade_default_put_request: (required) - :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest + :param job_id: Job id parked in AWAITING_REAUTH to resume (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_resume_post_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_resume_post_request: V1SdkAutomationPlaybookJobsJobIdResumePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109656,9 +110421,10 @@ def v1_software_auto_upgrade_default_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_put_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_resume_post_serialize( authorization=authorization, - v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_resume_post_request=v1_sdk_automation_playbook_jobs_job_id_resume_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109666,7 +110432,7 @@ def v1_software_auto_upgrade_default_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SdkAutomationPlaybookJobsJobIdResumePostResponse", } response_data = self.api_client.call_api( *_param, @@ -109680,10 +110446,11 @@ def v1_software_auto_upgrade_default_put( @validate_call - def v1_software_auto_upgrade_default_put_with_http_info( + def v1_sdk_automation_playbook_jobs_job_id_resume_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, + job_id: Annotated[StrictStr, Field(description="Job id parked in AWAITING_REAUTH to resume")], + v1_sdk_automation_playbook_jobs_job_id_resume_post_request: V1SdkAutomationPlaybookJobsJobIdResumePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109696,14 +110463,17 @@ def v1_software_auto_upgrade_default_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_software_auto_upgrade_default_put + ) -> ApiResponse[V1SdkAutomationPlaybookJobsJobIdResumePostResponse]: + """v1_sdk_automation_playbook_jobs_job_id_resume_post + Resume a run parked in awaiting_reauth with the caller's re-authed token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_auto_upgrade_default_put_request: (required) - :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest + :param job_id: Job id parked in AWAITING_REAUTH to resume (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_resume_post_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_resume_post_request: V1SdkAutomationPlaybookJobsJobIdResumePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109726,9 +110496,10 @@ def v1_software_auto_upgrade_default_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_put_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_resume_post_serialize( authorization=authorization, - v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_resume_post_request=v1_sdk_automation_playbook_jobs_job_id_resume_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109736,7 +110507,7 @@ def v1_software_auto_upgrade_default_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SdkAutomationPlaybookJobsJobIdResumePostResponse", } response_data = self.api_client.call_api( *_param, @@ -109750,10 +110521,11 @@ def v1_software_auto_upgrade_default_put_with_http_info( @validate_call - def v1_software_auto_upgrade_default_put_without_preload_content( + def v1_sdk_automation_playbook_jobs_job_id_resume_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, + job_id: Annotated[StrictStr, Field(description="Job id parked in AWAITING_REAUTH to resume")], + v1_sdk_automation_playbook_jobs_job_id_resume_post_request: V1SdkAutomationPlaybookJobsJobIdResumePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109767,13 +110539,16 @@ def v1_software_auto_upgrade_default_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_auto_upgrade_default_put + """v1_sdk_automation_playbook_jobs_job_id_resume_post + Resume a run parked in awaiting_reauth with the caller's re-authed token :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_auto_upgrade_default_put_request: (required) - :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest + :param job_id: Job id parked in AWAITING_REAUTH to resume (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_resume_post_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_resume_post_request: V1SdkAutomationPlaybookJobsJobIdResumePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109796,9 +110571,10 @@ def v1_software_auto_upgrade_default_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_auto_upgrade_default_put_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_resume_post_serialize( authorization=authorization, - v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_resume_post_request=v1_sdk_automation_playbook_jobs_job_id_resume_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109806,7 +110582,7 @@ def v1_software_auto_upgrade_default_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1SdkAutomationPlaybookJobsJobIdResumePostResponse", } response_data = self.api_client.call_api( *_param, @@ -109815,10 +110591,11 @@ def v1_software_auto_upgrade_default_put_without_preload_content( return response_data.response - def _v1_software_auto_upgrade_default_put_serialize( + def _v1_sdk_automation_playbook_jobs_job_id_resume_post_serialize( self, authorization, - v1_software_auto_upgrade_default_put_request, + job_id, + v1_sdk_automation_playbook_jobs_job_id_resume_post_request, _request_auth, _content_type, _headers, @@ -109840,16 +110617,25 @@ def _v1_software_auto_upgrade_default_put_serialize( _body_params: Optional[bytes] = None # process the path parameters + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_auto_upgrade_default_put_request is not None: - _body_params = v1_software_auto_upgrade_default_put_request + if v1_sdk_automation_playbook_jobs_job_id_resume_post_request is not None: + _body_params = v1_sdk_automation_playbook_jobs_job_id_resume_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -109871,8 +110657,8 @@ def _v1_software_auto_upgrade_default_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/software/auto-upgrade/default', + method='POST', + resource_path='/v1/sdk-automation/playbook/jobs/{jobId}/resume', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -109889,10 +110675,11 @@ def _v1_software_auto_upgrade_default_put_serialize( @validate_call - def v1_software_gcsrelease_upload_notes_post( + def v1_sdk_automation_playbook_jobs_job_id_run_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, + job_id: Annotated[StrictStr, Field(description="Prior job id whose config is re-run")], + v1_sdk_automation_playbook_jobs_job_id_run_post_request: V1SdkAutomationPlaybookJobsJobIdRunPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109905,14 +110692,17 @@ def v1_software_gcsrelease_upload_notes_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_gcsrelease_upload_notes_post + ) -> V1SdkAutomationPlaybookJobsJobIdRunPostResponse: + """v1_sdk_automation_playbook_jobs_job_id_run_post + Re-run; starts from dry-run unless skip_dry_run=true :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_gcsrelease_upload_notes_post_request: (required) - :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest + :param job_id: Prior job id whose config is re-run (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_run_post_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_run_post_request: V1SdkAutomationPlaybookJobsJobIdRunPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -109935,9 +110725,10 @@ def v1_software_gcsrelease_upload_notes_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_gcsrelease_upload_notes_post_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_run_post_serialize( authorization=authorization, - v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_run_post_request=v1_sdk_automation_playbook_jobs_job_id_run_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -109945,7 +110736,7 @@ def v1_software_gcsrelease_upload_notes_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SdkAutomationPlaybookJobsJobIdRunPostResponse", } response_data = self.api_client.call_api( *_param, @@ -109959,10 +110750,11 @@ def v1_software_gcsrelease_upload_notes_post( @validate_call - def v1_software_gcsrelease_upload_notes_post_with_http_info( + def v1_sdk_automation_playbook_jobs_job_id_run_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, + job_id: Annotated[StrictStr, Field(description="Prior job id whose config is re-run")], + v1_sdk_automation_playbook_jobs_job_id_run_post_request: V1SdkAutomationPlaybookJobsJobIdRunPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -109975,14 +110767,17 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_gcsrelease_upload_notes_post + ) -> ApiResponse[V1SdkAutomationPlaybookJobsJobIdRunPostResponse]: + """v1_sdk_automation_playbook_jobs_job_id_run_post + Re-run; starts from dry-run unless skip_dry_run=true :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_gcsrelease_upload_notes_post_request: (required) - :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest + :param job_id: Prior job id whose config is re-run (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_run_post_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_run_post_request: V1SdkAutomationPlaybookJobsJobIdRunPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110005,9 +110800,10 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_gcsrelease_upload_notes_post_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_run_post_serialize( authorization=authorization, - v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_run_post_request=v1_sdk_automation_playbook_jobs_job_id_run_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110015,7 +110811,7 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SdkAutomationPlaybookJobsJobIdRunPostResponse", } response_data = self.api_client.call_api( *_param, @@ -110029,10 +110825,11 @@ def v1_software_gcsrelease_upload_notes_post_with_http_info( @validate_call - def v1_software_gcsrelease_upload_notes_post_without_preload_content( + def v1_sdk_automation_playbook_jobs_job_id_run_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, + job_id: Annotated[StrictStr, Field(description="Prior job id whose config is re-run")], + v1_sdk_automation_playbook_jobs_job_id_run_post_request: V1SdkAutomationPlaybookJobsJobIdRunPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110046,13 +110843,16 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_gcsrelease_upload_notes_post + """v1_sdk_automation_playbook_jobs_job_id_run_post + Re-run; starts from dry-run unless skip_dry_run=true :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_gcsrelease_upload_notes_post_request: (required) - :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest + :param job_id: Prior job id whose config is re-run (required) + :type job_id: str + :param v1_sdk_automation_playbook_jobs_job_id_run_post_request: (required) + :type v1_sdk_automation_playbook_jobs_job_id_run_post_request: V1SdkAutomationPlaybookJobsJobIdRunPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110075,9 +110875,10 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_gcsrelease_upload_notes_post_serialize( + _param = self._v1_sdk_automation_playbook_jobs_job_id_run_post_serialize( authorization=authorization, - v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, + job_id=job_id, + v1_sdk_automation_playbook_jobs_job_id_run_post_request=v1_sdk_automation_playbook_jobs_job_id_run_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110085,7 +110886,7 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SdkAutomationPlaybookJobsJobIdRunPostResponse", } response_data = self.api_client.call_api( *_param, @@ -110094,10 +110895,11 @@ def v1_software_gcsrelease_upload_notes_post_without_preload_content( return response_data.response - def _v1_software_gcsrelease_upload_notes_post_serialize( + def _v1_sdk_automation_playbook_jobs_job_id_run_post_serialize( self, authorization, - v1_software_gcsrelease_upload_notes_post_request, + job_id, + v1_sdk_automation_playbook_jobs_job_id_run_post_request, _request_auth, _content_type, _headers, @@ -110119,14 +110921,16 @@ def _v1_software_gcsrelease_upload_notes_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if job_id is not None: + _path_params['jobId'] = job_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_gcsrelease_upload_notes_post_request is not None: - _body_params = v1_software_gcsrelease_upload_notes_post_request + if v1_sdk_automation_playbook_jobs_job_id_run_post_request is not None: + _body_params = v1_sdk_automation_playbook_jobs_job_id_run_post_request # set the HTTP header `Accept` @@ -110158,7 +110962,7 @@ def _v1_software_gcsrelease_upload_notes_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/software/gcsrelease/upload/notes', + resource_path='/v1/sdk-automation/playbook/jobs/{jobId}/run', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110175,11 +110979,10 @@ def _v1_software_gcsrelease_upload_notes_post_serialize( @validate_call - def v1_software_releases_download_get( + def v1_sdk_automation_playbook_module_slots_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], - version: Annotated[StrictStr, Field(description="GNOS Image version")], + bundle_key: Annotated[Optional[StrictStr], Field(description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110192,16 +110995,15 @@ def v1_software_releases_download_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareReleasesDownloadGetResponse: - """v1_software_releases_download_get + ) -> V1SdkAutomationPlaybookModuleSlotsGetResponse: + """v1_sdk_automation_playbook_module_slots_get + List module slots for a catalog bundle :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param image_ext: GNOS Image type (qcow2 or ova) (required) - :type image_ext: str - :param version: GNOS Image version (required) - :type version: str + :param bundle_key: Catalog key from playbook_catalog_playbook (e.g. system_bundle) + :type bundle_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110224,10 +111026,9 @@ def v1_software_releases_download_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_download_get_serialize( + _param = self._v1_sdk_automation_playbook_module_slots_get_serialize( authorization=authorization, - image_ext=image_ext, - version=version, + bundle_key=bundle_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110235,7 +111036,7 @@ def v1_software_releases_download_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesDownloadGetResponse", + '200': "V1SdkAutomationPlaybookModuleSlotsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110249,11 +111050,10 @@ def v1_software_releases_download_get( @validate_call - def v1_software_releases_download_get_with_http_info( + def v1_sdk_automation_playbook_module_slots_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], - version: Annotated[StrictStr, Field(description="GNOS Image version")], + bundle_key: Annotated[Optional[StrictStr], Field(description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110266,16 +111066,15 @@ def v1_software_releases_download_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareReleasesDownloadGetResponse]: - """v1_software_releases_download_get + ) -> ApiResponse[V1SdkAutomationPlaybookModuleSlotsGetResponse]: + """v1_sdk_automation_playbook_module_slots_get + List module slots for a catalog bundle :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param image_ext: GNOS Image type (qcow2 or ova) (required) - :type image_ext: str - :param version: GNOS Image version (required) - :type version: str + :param bundle_key: Catalog key from playbook_catalog_playbook (e.g. system_bundle) + :type bundle_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110298,10 +111097,9 @@ def v1_software_releases_download_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_download_get_serialize( + _param = self._v1_sdk_automation_playbook_module_slots_get_serialize( authorization=authorization, - image_ext=image_ext, - version=version, + bundle_key=bundle_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110309,7 +111107,7 @@ def v1_software_releases_download_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesDownloadGetResponse", + '200': "V1SdkAutomationPlaybookModuleSlotsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110323,11 +111121,10 @@ def v1_software_releases_download_get_with_http_info( @validate_call - def v1_software_releases_download_get_without_preload_content( + def v1_sdk_automation_playbook_module_slots_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], - version: Annotated[StrictStr, Field(description="GNOS Image version")], + bundle_key: Annotated[Optional[StrictStr], Field(description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110341,15 +111138,14 @@ def v1_software_releases_download_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_releases_download_get + """v1_sdk_automation_playbook_module_slots_get + List module slots for a catalog bundle :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param image_ext: GNOS Image type (qcow2 or ova) (required) - :type image_ext: str - :param version: GNOS Image version (required) - :type version: str + :param bundle_key: Catalog key from playbook_catalog_playbook (e.g. system_bundle) + :type bundle_key: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110372,10 +111168,9 @@ def v1_software_releases_download_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_download_get_serialize( + _param = self._v1_sdk_automation_playbook_module_slots_get_serialize( authorization=authorization, - image_ext=image_ext, - version=version, + bundle_key=bundle_key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110383,7 +111178,7 @@ def v1_software_releases_download_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesDownloadGetResponse", + '200': "V1SdkAutomationPlaybookModuleSlotsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110392,11 +111187,10 @@ def v1_software_releases_download_get_without_preload_content( return response_data.response - def _v1_software_releases_download_get_serialize( + def _v1_sdk_automation_playbook_module_slots_get_serialize( self, authorization, - image_ext, - version, + bundle_key, _request_auth, _content_type, _headers, @@ -110419,13 +111213,9 @@ def _v1_software_releases_download_get_serialize( # process the path parameters # process the query parameters - if image_ext is not None: - - _query_params.append(('imageExt', image_ext)) + if bundle_key is not None: - if version is not None: - - _query_params.append(('version', version)) + _query_params.append(('bundleKey', bundle_key)) # process the header parameters if authorization is not None: @@ -110450,7 +111240,7 @@ def _v1_software_releases_download_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/releases/download', + resource_path='/v1/sdk-automation/playbook/module-slots', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110467,9 +111257,11 @@ def _v1_software_releases_download_get_serialize( @validate_call - def v1_software_releases_summary_get( + def v1_sdk_automation_playbook_templates_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + bundle_key: Annotated[Optional[StrictStr], Field(description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)")] = None, + module_keys: Annotated[Optional[List[StrictStr]], Field(description="Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample)")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110482,12 +111274,17 @@ def v1_software_releases_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareReleasesSummaryGetResponse: - """v1_software_releases_summary_get + ) -> V1SdkAutomationPlaybookTemplatesGetResponse: + """v1_sdk_automation_playbook_templates_get + Download starter playbook & sample config templates for a bundle :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param bundle_key: Catalog key from playbook_catalog_playbook (e.g. system_bundle) + :type bundle_key: str + :param module_keys: Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample) + :type module_keys: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110510,8 +111307,10 @@ def v1_software_releases_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_summary_get_serialize( + _param = self._v1_sdk_automation_playbook_templates_get_serialize( authorization=authorization, + bundle_key=bundle_key, + module_keys=module_keys, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110519,7 +111318,7 @@ def v1_software_releases_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesSummaryGetResponse", + '200': "V1SdkAutomationPlaybookTemplatesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110533,9 +111332,11 @@ def v1_software_releases_summary_get( @validate_call - def v1_software_releases_summary_get_with_http_info( + def v1_sdk_automation_playbook_templates_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + bundle_key: Annotated[Optional[StrictStr], Field(description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)")] = None, + module_keys: Annotated[Optional[List[StrictStr]], Field(description="Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample)")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110548,12 +111349,17 @@ def v1_software_releases_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareReleasesSummaryGetResponse]: - """v1_software_releases_summary_get + ) -> ApiResponse[V1SdkAutomationPlaybookTemplatesGetResponse]: + """v1_sdk_automation_playbook_templates_get + Download starter playbook & sample config templates for a bundle :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param bundle_key: Catalog key from playbook_catalog_playbook (e.g. system_bundle) + :type bundle_key: str + :param module_keys: Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample) + :type module_keys: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110576,8 +111382,10 @@ def v1_software_releases_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_summary_get_serialize( + _param = self._v1_sdk_automation_playbook_templates_get_serialize( authorization=authorization, + bundle_key=bundle_key, + module_keys=module_keys, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110585,7 +111393,7 @@ def v1_software_releases_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesSummaryGetResponse", + '200': "V1SdkAutomationPlaybookTemplatesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110599,9 +111407,11 @@ def v1_software_releases_summary_get_with_http_info( @validate_call - def v1_software_releases_summary_get_without_preload_content( + def v1_sdk_automation_playbook_templates_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + bundle_key: Annotated[Optional[StrictStr], Field(description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)")] = None, + module_keys: Annotated[Optional[List[StrictStr]], Field(description="Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample)")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110615,11 +111425,16 @@ def v1_software_releases_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_releases_summary_get + """v1_sdk_automation_playbook_templates_get + Download starter playbook & sample config templates for a bundle :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param bundle_key: Catalog key from playbook_catalog_playbook (e.g. system_bundle) + :type bundle_key: str + :param module_keys: Optional catalog module keys to narrow the response; empty returns the whole bundle (playbook + every module sample) + :type module_keys: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110642,8 +111457,10 @@ def v1_software_releases_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_releases_summary_get_serialize( + _param = self._v1_sdk_automation_playbook_templates_get_serialize( authorization=authorization, + bundle_key=bundle_key, + module_keys=module_keys, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110651,7 +111468,7 @@ def v1_software_releases_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareReleasesSummaryGetResponse", + '200': "V1SdkAutomationPlaybookTemplatesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110660,9 +111477,11 @@ def v1_software_releases_summary_get_without_preload_content( return response_data.response - def _v1_software_releases_summary_get_serialize( + def _v1_sdk_automation_playbook_templates_get_serialize( self, authorization, + bundle_key, + module_keys, _request_auth, _content_type, _headers, @@ -110672,6 +111491,7 @@ def _v1_software_releases_summary_get_serialize( _host = None _collection_formats: Dict[str, str] = { + 'moduleKeys': 'multi', } _path_params: Dict[str, str] = {} @@ -110685,6 +111505,14 @@ def _v1_software_releases_summary_get_serialize( # process the path parameters # process the query parameters + if bundle_key is not None: + + _query_params.append(('bundleKey', bundle_key)) + + if module_keys is not None: + + _query_params.append(('moduleKeys', module_keys)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -110708,7 +111536,7 @@ def _v1_software_releases_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/releases/summary', + resource_path='/v1/sdk-automation/playbook/templates', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110725,9 +111553,11 @@ def _v1_software_releases_summary_get_serialize( @validate_call - def v1_software_rollouts_get( + def v1_search_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110740,13 +111570,16 @@ def v1_software_rollouts_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRolloutsGetResponse: - """v1_software_rollouts_get + ) -> V1SearchGetResponse: + """v1_search_get - Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param max_results: + :type max_results: int + :param search: + :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110769,8 +111602,10 @@ def v1_software_rollouts_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_get_serialize( + _param = self._v1_search_get_serialize( authorization=authorization, + max_results=max_results, + search=search, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110778,7 +111613,7 @@ def v1_software_rollouts_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsGetResponse", + '200': "V1SearchGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110792,9 +111627,11 @@ def v1_software_rollouts_get( @validate_call - def v1_software_rollouts_get_with_http_info( + def v1_search_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110807,13 +111644,16 @@ def v1_software_rollouts_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRolloutsGetResponse]: - """v1_software_rollouts_get + ) -> ApiResponse[V1SearchGetResponse]: + """v1_search_get - Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param max_results: + :type max_results: int + :param search: + :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110836,8 +111676,10 @@ def v1_software_rollouts_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_get_serialize( + _param = self._v1_search_get_serialize( authorization=authorization, + max_results=max_results, + search=search, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110845,7 +111687,7 @@ def v1_software_rollouts_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsGetResponse", + '200': "V1SearchGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110859,9 +111701,11 @@ def v1_software_rollouts_get_with_http_info( @validate_call - def v1_software_rollouts_get_without_preload_content( + def v1_search_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + max_results: Optional[Annotated[int, Field(strict=True, ge=0)]] = None, + search: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -110875,12 +111719,15 @@ def v1_software_rollouts_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_get + """v1_search_get - Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param max_results: + :type max_results: int + :param search: + :type search: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -110903,8 +111750,10 @@ def v1_software_rollouts_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_get_serialize( + _param = self._v1_search_get_serialize( authorization=authorization, + max_results=max_results, + search=search, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -110912,7 +111761,7 @@ def v1_software_rollouts_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsGetResponse", + '200': "V1SearchGetResponse", } response_data = self.api_client.call_api( *_param, @@ -110921,9 +111770,11 @@ def v1_software_rollouts_get_without_preload_content( return response_data.response - def _v1_software_rollouts_get_serialize( + def _v1_search_get_serialize( self, authorization, + max_results, + search, _request_auth, _content_type, _headers, @@ -110946,6 +111797,14 @@ def _v1_software_rollouts_get_serialize( # process the path parameters # process the query parameters + if max_results is not None: + + _query_params.append(('maxResults', max_results)) + + if search is not None: + + _query_params.append(('search', search)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -110969,7 +111828,7 @@ def _v1_software_rollouts_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/rollouts', + resource_path='/v1/search', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -110986,10 +111845,10 @@ def _v1_software_rollouts_get_serialize( @validate_call - def v1_software_rollouts_id_delete( + def v1_site_details_sitelists_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], + v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111002,15 +111861,15 @@ def v1_software_rollouts_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_rollouts_id_delete + ) -> V1SiteDetailsSitelistsPostResponse: + """v1_site_details_sitelists_post - Delete given upgrade rollout + Get a list of site list references for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to delete. (required) - :type id: int + :param v1_site_details_sitelists_post_request: (required) + :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111033,9 +111892,9 @@ def v1_software_rollouts_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_delete_serialize( + _param = self._v1_site_details_sitelists_post_serialize( authorization=authorization, - id=id, + v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111043,7 +111902,7 @@ def v1_software_rollouts_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SiteDetailsSitelistsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -111057,10 +111916,10 @@ def v1_software_rollouts_id_delete( @validate_call - def v1_software_rollouts_id_delete_with_http_info( + def v1_site_details_sitelists_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], + v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111073,15 +111932,15 @@ def v1_software_rollouts_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_rollouts_id_delete + ) -> ApiResponse[V1SiteDetailsSitelistsPostResponse]: + """v1_site_details_sitelists_post - Delete given upgrade rollout + Get a list of site list references for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to delete. (required) - :type id: int + :param v1_site_details_sitelists_post_request: (required) + :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111104,9 +111963,9 @@ def v1_software_rollouts_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_delete_serialize( + _param = self._v1_site_details_sitelists_post_serialize( authorization=authorization, - id=id, + v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111114,7 +111973,7 @@ def v1_software_rollouts_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SiteDetailsSitelistsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -111128,10 +111987,10 @@ def v1_software_rollouts_id_delete_with_http_info( @validate_call - def v1_software_rollouts_id_delete_without_preload_content( + def v1_site_details_sitelists_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], + v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111145,14 +112004,14 @@ def v1_software_rollouts_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_id_delete + """v1_site_details_sitelists_post - Delete given upgrade rollout + Get a list of site list references for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to delete. (required) - :type id: int + :param v1_site_details_sitelists_post_request: (required) + :type v1_site_details_sitelists_post_request: V1SiteDetailsSitelistsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111175,9 +112034,9 @@ def v1_software_rollouts_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_delete_serialize( + _param = self._v1_site_details_sitelists_post_serialize( authorization=authorization, - id=id, + v1_site_details_sitelists_post_request=v1_site_details_sitelists_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111185,7 +112044,7 @@ def v1_software_rollouts_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SiteDetailsSitelistsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -111194,10 +112053,10 @@ def v1_software_rollouts_id_delete_without_preload_content( return response_data.response - def _v1_software_rollouts_id_delete_serialize( + def _v1_site_details_sitelists_post_serialize( self, authorization, - id, + v1_site_details_sitelists_post_request, _request_auth, _content_type, _headers, @@ -111219,14 +112078,14 @@ def _v1_software_rollouts_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_site_details_sitelists_post_request is not None: + _body_params = v1_site_details_sitelists_post_request # set the HTTP header `Accept` @@ -111237,6 +112096,19 @@ def _v1_software_rollouts_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -111244,8 +112116,8 @@ def _v1_software_rollouts_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/software/rollouts/{id}', + method='POST', + resource_path='/v1/site/details/sitelists', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111262,10 +112134,10 @@ def _v1_software_rollouts_id_delete_serialize( @validate_call - def v1_software_rollouts_id_get( + def v1_site_id_details_interfaces_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111278,14 +112150,14 @@ def v1_software_rollouts_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRolloutsIdGetResponse: - """v1_software_rollouts_id_get + ) -> V1SiteIdDetailsInterfacesGetResponse: + """v1_site_id_details_interfaces_get - Returns details about given upgrade rollout + Get a list of a site's interfaces, loopback listed first :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to fetch. (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -111309,7 +112181,7 @@ def v1_software_rollouts_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_get_serialize( + _param = self._v1_site_id_details_interfaces_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -111319,7 +112191,7 @@ def v1_software_rollouts_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsIdGetResponse", + '200': "V1SiteIdDetailsInterfacesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111333,10 +112205,10 @@ def v1_software_rollouts_id_get( @validate_call - def v1_software_rollouts_id_get_with_http_info( + def v1_site_id_details_interfaces_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111349,14 +112221,14 @@ def v1_software_rollouts_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRolloutsIdGetResponse]: - """v1_software_rollouts_id_get + ) -> ApiResponse[V1SiteIdDetailsInterfacesGetResponse]: + """v1_site_id_details_interfaces_get - Returns details about given upgrade rollout + Get a list of a site's interfaces, loopback listed first :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to fetch. (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -111380,7 +112252,7 @@ def v1_software_rollouts_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_get_serialize( + _param = self._v1_site_id_details_interfaces_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -111390,7 +112262,7 @@ def v1_software_rollouts_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsIdGetResponse", + '200': "V1SiteIdDetailsInterfacesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111404,10 +112276,10 @@ def v1_software_rollouts_id_get_with_http_info( @validate_call - def v1_software_rollouts_id_get_without_preload_content( + def v1_site_id_details_interfaces_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], + id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111421,13 +112293,13 @@ def v1_software_rollouts_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_id_get + """v1_site_id_details_interfaces_get - Returns details about given upgrade rollout + Get a list of a site's interfaces, loopback listed first :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: Rollout identifier to fetch. (required) + :param id: (required) :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -111451,7 +112323,7 @@ def v1_software_rollouts_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_id_get_serialize( + _param = self._v1_site_id_details_interfaces_get_serialize( authorization=authorization, id=id, _request_auth=_request_auth, @@ -111461,7 +112333,7 @@ def v1_software_rollouts_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsIdGetResponse", + '200': "V1SiteIdDetailsInterfacesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111470,7 +112342,7 @@ def v1_software_rollouts_id_get_without_preload_content( return response_data.response - def _v1_software_rollouts_id_get_serialize( + def _v1_site_id_details_interfaces_get_serialize( self, authorization, id, @@ -111521,7 +112393,7 @@ def _v1_software_rollouts_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/rollouts/{id}', + resource_path='/v1/site/{id}/details/interfaces', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111538,10 +112410,9 @@ def _v1_software_rollouts_id_get_serialize( @validate_call - def v1_software_rollouts_post( + def v1_sites_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111554,15 +112425,13 @@ def v1_software_rollouts_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRolloutsPostResponse: - """v1_software_rollouts_post + ) -> V1SitesDetailsGetResponse: + """v1_sites_details_get - Create upgrade rollout and returns rollout identifier + Get a list of sites with aggregated values and site wide status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_post_request: (required) - :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111585,9 +112454,8 @@ def v1_software_rollouts_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_post_serialize( + _param = self._v1_sites_details_get_serialize( authorization=authorization, - v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111595,7 +112463,7 @@ def v1_software_rollouts_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsPostResponse", + '200': "V1SitesDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111609,10 +112477,9 @@ def v1_software_rollouts_post( @validate_call - def v1_software_rollouts_post_with_http_info( + def v1_sites_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111625,15 +112492,13 @@ def v1_software_rollouts_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRolloutsPostResponse]: - """v1_software_rollouts_post + ) -> ApiResponse[V1SitesDetailsGetResponse]: + """v1_sites_details_get - Create upgrade rollout and returns rollout identifier + Get a list of sites with aggregated values and site wide status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_post_request: (required) - :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111656,9 +112521,8 @@ def v1_software_rollouts_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_post_serialize( + _param = self._v1_sites_details_get_serialize( authorization=authorization, - v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111666,7 +112530,7 @@ def v1_software_rollouts_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsPostResponse", + '200': "V1SitesDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111680,10 +112544,9 @@ def v1_software_rollouts_post_with_http_info( @validate_call - def v1_software_rollouts_post_without_preload_content( + def v1_sites_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111697,14 +112560,12 @@ def v1_software_rollouts_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_post + """v1_sites_details_get - Create upgrade rollout and returns rollout identifier + Get a list of sites with aggregated values and site wide status :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_post_request: (required) - :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111727,9 +112588,8 @@ def v1_software_rollouts_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_post_serialize( + _param = self._v1_sites_details_get_serialize( authorization=authorization, - v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111737,7 +112597,7 @@ def v1_software_rollouts_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRolloutsPostResponse", + '200': "V1SitesDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111746,10 +112606,9 @@ def v1_software_rollouts_post_without_preload_content( return response_data.response - def _v1_software_rollouts_post_serialize( + def _v1_sites_details_get_serialize( self, authorization, - v1_software_rollouts_post_request, _request_auth, _content_type, _headers, @@ -111777,8 +112636,6 @@ def _v1_software_rollouts_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_rollouts_post_request is not None: - _body_params = v1_software_rollouts_post_request # set the HTTP header `Accept` @@ -111789,19 +112646,6 @@ def _v1_software_rollouts_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -111809,8 +112653,8 @@ def _v1_software_rollouts_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/software/rollouts', + method='GET', + resource_path='/v1/sites/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -111827,10 +112671,9 @@ def _v1_software_rollouts_post_serialize( @validate_call - def v1_software_rollouts_put( + def v1_sites_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111843,15 +112686,13 @@ def v1_software_rollouts_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_rollouts_put + ) -> V1SitesGetResponse: + """v1_sites_get - Modify update rollout + Get sites for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_put_request: (required) - :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111874,9 +112715,8 @@ def v1_software_rollouts_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_put_serialize( + _param = self._v1_sites_get_serialize( authorization=authorization, - v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111884,7 +112724,7 @@ def v1_software_rollouts_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111898,10 +112738,9 @@ def v1_software_rollouts_put( @validate_call - def v1_software_rollouts_put_with_http_info( + def v1_sites_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111914,15 +112753,13 @@ def v1_software_rollouts_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_rollouts_put + ) -> ApiResponse[V1SitesGetResponse]: + """v1_sites_get - Modify update rollout + Get sites for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_put_request: (required) - :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -111945,9 +112782,8 @@ def v1_software_rollouts_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_put_serialize( + _param = self._v1_sites_get_serialize( authorization=authorization, - v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -111955,7 +112791,7 @@ def v1_software_rollouts_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -111969,10 +112805,9 @@ def v1_software_rollouts_put_with_http_info( @validate_call - def v1_software_rollouts_put_without_preload_content( + def v1_sites_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -111986,14 +112821,12 @@ def v1_software_rollouts_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_put + """v1_sites_get - Modify update rollout + Get sites for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_put_request: (required) - :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112016,9 +112849,8 @@ def v1_software_rollouts_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_put_serialize( + _param = self._v1_sites_get_serialize( authorization=authorization, - v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112026,7 +112858,7 @@ def v1_software_rollouts_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SitesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112035,10 +112867,9 @@ def v1_software_rollouts_put_without_preload_content( return response_data.response - def _v1_software_rollouts_put_serialize( + def _v1_sites_get_serialize( self, authorization, - v1_software_rollouts_put_request, _request_auth, _content_type, _headers, @@ -112066,8 +112897,6 @@ def _v1_software_rollouts_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_rollouts_put_request is not None: - _body_params = v1_software_rollouts_put_request # set the HTTP header `Accept` @@ -112078,19 +112907,6 @@ def _v1_software_rollouts_put_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -112098,8 +112914,8 @@ def _v1_software_rollouts_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/software/rollouts', + method='GET', + resource_path='/v1/sites', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112116,10 +112932,12 @@ def _v1_software_rollouts_put_serialize( @validate_call - def v1_software_rollouts_schedule_post( + def v1_sites_map_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, + lan_segment_ids: Optional[List[StrictInt]] = None, + site_ids: Optional[List[StrictInt]] = None, + site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112132,15 +112950,19 @@ def v1_software_rollouts_schedule_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_software_rollouts_schedule_post + ) -> V1SitesMapDetailsGetResponse: + """v1_sites_map_details_get - Schedule rollout to upgrade now, later or user-triggered + Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_schedule_post_request: (required) - :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest + :param lan_segment_ids: + :type lan_segment_ids: List[int] + :param site_ids: + :type site_ids: List[int] + :param site_list_ids: + :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112163,9 +112985,11 @@ def v1_software_rollouts_schedule_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_schedule_post_serialize( + _param = self._v1_sites_map_details_get_serialize( authorization=authorization, - v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, + lan_segment_ids=lan_segment_ids, + site_ids=site_ids, + site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112173,7 +112997,7 @@ def v1_software_rollouts_schedule_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SitesMapDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112187,10 +113011,12 @@ def v1_software_rollouts_schedule_post( @validate_call - def v1_software_rollouts_schedule_post_with_http_info( + def v1_sites_map_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, + lan_segment_ids: Optional[List[StrictInt]] = None, + site_ids: Optional[List[StrictInt]] = None, + site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112203,15 +113029,19 @@ def v1_software_rollouts_schedule_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_software_rollouts_schedule_post + ) -> ApiResponse[V1SitesMapDetailsGetResponse]: + """v1_sites_map_details_get - Schedule rollout to upgrade now, later or user-triggered + Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_schedule_post_request: (required) - :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest + :param lan_segment_ids: + :type lan_segment_ids: List[int] + :param site_ids: + :type site_ids: List[int] + :param site_list_ids: + :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112234,9 +113064,11 @@ def v1_software_rollouts_schedule_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_schedule_post_serialize( + _param = self._v1_sites_map_details_get_serialize( authorization=authorization, - v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, + lan_segment_ids=lan_segment_ids, + site_ids=site_ids, + site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112244,7 +113076,7 @@ def v1_software_rollouts_schedule_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SitesMapDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112258,10 +113090,12 @@ def v1_software_rollouts_schedule_post_with_http_info( @validate_call - def v1_software_rollouts_schedule_post_without_preload_content( + def v1_sites_map_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, + lan_segment_ids: Optional[List[StrictInt]] = None, + site_ids: Optional[List[StrictInt]] = None, + site_list_ids: Optional[List[StrictInt]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112275,14 +113109,18 @@ def v1_software_rollouts_schedule_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_rollouts_schedule_post + """v1_sites_map_details_get - Schedule rollout to upgrade now, later or user-triggered + Per LAN segment (VRF), sites touched by that segment and device lists with/without the segment on each site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_software_rollouts_schedule_post_request: (required) - :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest + :param lan_segment_ids: + :type lan_segment_ids: List[int] + :param site_ids: + :type site_ids: List[int] + :param site_list_ids: + :type site_list_ids: List[int] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112305,9 +113143,11 @@ def v1_software_rollouts_schedule_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_rollouts_schedule_post_serialize( + _param = self._v1_sites_map_details_get_serialize( authorization=authorization, - v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, + lan_segment_ids=lan_segment_ids, + site_ids=site_ids, + site_list_ids=site_list_ids, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112315,7 +113155,7 @@ def v1_software_rollouts_schedule_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V1SitesMapDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112324,10 +113164,12 @@ def v1_software_rollouts_schedule_post_without_preload_content( return response_data.response - def _v1_software_rollouts_schedule_post_serialize( + def _v1_sites_map_details_get_serialize( self, authorization, - v1_software_rollouts_schedule_post_request, + lan_segment_ids, + site_ids, + site_list_ids, _request_auth, _content_type, _headers, @@ -112337,6 +113179,9 @@ def _v1_software_rollouts_schedule_post_serialize( _host = None _collection_formats: Dict[str, str] = { + 'lanSegmentIds': 'multi', + 'siteIds': 'multi', + 'siteListIds': 'multi', } _path_params: Dict[str, str] = {} @@ -112350,13 +113195,23 @@ def _v1_software_rollouts_schedule_post_serialize( # process the path parameters # process the query parameters + if lan_segment_ids is not None: + + _query_params.append(('lanSegmentIds', lan_segment_ids)) + + if site_ids is not None: + + _query_params.append(('siteIds', site_ids)) + + if site_list_ids is not None: + + _query_params.append(('siteListIds', site_list_ids)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_software_rollouts_schedule_post_request is not None: - _body_params = v1_software_rollouts_schedule_post_request # set the HTTP header `Accept` @@ -112367,19 +113222,6 @@ def _v1_software_rollouts_schedule_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -112387,8 +113229,8 @@ def _v1_software_rollouts_schedule_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/software/rollouts/schedule', + method='GET', + resource_path='/v1/sites/map/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112405,10 +113247,10 @@ def _v1_software_rollouts_schedule_post_serialize( @validate_call - def v1_software_running_details_get( + def v1_sites_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - running_version: Optional[StrictStr] = None, + v1_sites_post_request: V1SitesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112421,14 +113263,15 @@ def v1_software_running_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRunningDetailsGetResponse: - """v1_software_running_details_get + ) -> V1SitesPostResponse: + """v1_sites_post + Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param running_version: - :type running_version: str + :param v1_sites_post_request: (required) + :type v1_sites_post_request: V1SitesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112451,9 +113294,9 @@ def v1_software_running_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_details_get_serialize( + _param = self._v1_sites_post_serialize( authorization=authorization, - running_version=running_version, + v1_sites_post_request=v1_sites_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112461,7 +113304,7 @@ def v1_software_running_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningDetailsGetResponse", + '200': "V1SitesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112475,10 +113318,10 @@ def v1_software_running_details_get( @validate_call - def v1_software_running_details_get_with_http_info( + def v1_sites_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - running_version: Optional[StrictStr] = None, + v1_sites_post_request: V1SitesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112491,14 +113334,15 @@ def v1_software_running_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRunningDetailsGetResponse]: - """v1_software_running_details_get + ) -> ApiResponse[V1SitesPostResponse]: + """v1_sites_post + Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param running_version: - :type running_version: str + :param v1_sites_post_request: (required) + :type v1_sites_post_request: V1SitesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112521,9 +113365,9 @@ def v1_software_running_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_details_get_serialize( + _param = self._v1_sites_post_serialize( authorization=authorization, - running_version=running_version, + v1_sites_post_request=v1_sites_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112531,7 +113375,7 @@ def v1_software_running_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningDetailsGetResponse", + '200': "V1SitesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112545,10 +113389,10 @@ def v1_software_running_details_get_with_http_info( @validate_call - def v1_software_running_details_get_without_preload_content( + def v1_sites_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - running_version: Optional[StrictStr] = None, + v1_sites_post_request: V1SitesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112562,13 +113406,14 @@ def v1_software_running_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_running_details_get + """v1_sites_post + Create an enterprise site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param running_version: - :type running_version: str + :param v1_sites_post_request: (required) + :type v1_sites_post_request: V1SitesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112591,9 +113436,9 @@ def v1_software_running_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_details_get_serialize( + _param = self._v1_sites_post_serialize( authorization=authorization, - running_version=running_version, + v1_sites_post_request=v1_sites_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112601,7 +113446,7 @@ def v1_software_running_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningDetailsGetResponse", + '200': "V1SitesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -112610,10 +113455,10 @@ def v1_software_running_details_get_without_preload_content( return response_data.response - def _v1_software_running_details_get_serialize( + def _v1_sites_post_serialize( self, authorization, - running_version, + v1_sites_post_request, _request_auth, _content_type, _headers, @@ -112636,15 +113481,13 @@ def _v1_software_running_details_get_serialize( # process the path parameters # process the query parameters - if running_version is not None: - - _query_params.append(('runningVersion', running_version)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_sites_post_request is not None: + _body_params = v1_sites_post_request # set the HTTP header `Accept` @@ -112655,6 +113498,19 @@ def _v1_software_running_details_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -112662,8 +113518,8 @@ def _v1_software_running_details_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/software/running/details', + method='POST', + resource_path='/v1/sites', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112680,9 +113536,10 @@ def _v1_software_running_details_get_serialize( @validate_call - def v1_software_running_summary_get( + def v1_sites_site_id_circuits_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112695,12 +113552,15 @@ def v1_software_running_summary_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1SoftwareRunningSummaryGetResponse: - """v1_software_running_summary_get + ) -> V1SitesSiteIdCircuitsGetResponse: + """v1_sites_site_id_circuits_get + Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112723,8 +113583,9 @@ def v1_software_running_summary_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_summary_get_serialize( + _param = self._v1_sites_site_id_circuits_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112732,7 +113593,7 @@ def v1_software_running_summary_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningSummaryGetResponse", + '200': "V1SitesSiteIdCircuitsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112746,9 +113607,10 @@ def v1_software_running_summary_get( @validate_call - def v1_software_running_summary_get_with_http_info( + def v1_sites_site_id_circuits_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112761,12 +113623,15 @@ def v1_software_running_summary_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1SoftwareRunningSummaryGetResponse]: - """v1_software_running_summary_get + ) -> ApiResponse[V1SitesSiteIdCircuitsGetResponse]: + """v1_sites_site_id_circuits_get + Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112789,8 +113654,9 @@ def v1_software_running_summary_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_summary_get_serialize( + _param = self._v1_sites_site_id_circuits_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112798,7 +113664,7 @@ def v1_software_running_summary_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningSummaryGetResponse", + '200': "V1SitesSiteIdCircuitsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112812,9 +113678,10 @@ def v1_software_running_summary_get_with_http_info( @validate_call - def v1_software_running_summary_get_without_preload_content( + def v1_sites_site_id_circuits_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112828,11 +113695,14 @@ def v1_software_running_summary_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_software_running_summary_get + """v1_sites_site_id_circuits_get + Get Circuits for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112855,8 +113725,9 @@ def v1_software_running_summary_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_software_running_summary_get_serialize( + _param = self._v1_sites_site_id_circuits_get_serialize( authorization=authorization, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112864,7 +113735,7 @@ def v1_software_running_summary_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1SoftwareRunningSummaryGetResponse", + '200': "V1SitesSiteIdCircuitsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -112873,9 +113744,10 @@ def v1_software_running_summary_get_without_preload_content( return response_data.response - def _v1_software_running_summary_get_serialize( + def _v1_sites_site_id_circuits_get_serialize( self, authorization, + site_id, _request_auth, _content_type, _headers, @@ -112897,6 +113769,8 @@ def _v1_software_running_summary_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: @@ -112921,7 +113795,7 @@ def _v1_software_running_summary_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/software/running/summary', + resource_path='/v1/sites/{siteId}/circuits', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -112938,11 +113812,10 @@ def _v1_software_running_summary_get_serialize( @validate_call - def v1_talkers_device_device_id_top_post( + def v1_sites_site_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -112955,17 +113828,15 @@ def v1_talkers_device_device_id_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TalkersDeviceDeviceIdTopPostResponse: - """v1_talkers_device_device_id_top_post + ) -> None: + """v1_sites_site_id_delete - Get top talkers for a device + Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_talkers_device_device_id_top_post_request: (required) - :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -112988,10 +113859,9 @@ def v1_talkers_device_device_id_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_device_device_id_top_post_serialize( + _param = self._v1_sites_site_id_delete_serialize( authorization=authorization, - device_id=device_id, - v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -112999,7 +113869,7 @@ def v1_talkers_device_device_id_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersDeviceDeviceIdTopPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -113013,11 +113883,10 @@ def v1_talkers_device_device_id_top_post( @validate_call - def v1_talkers_device_device_id_top_post_with_http_info( + def v1_sites_site_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113030,17 +113899,15 @@ def v1_talkers_device_device_id_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TalkersDeviceDeviceIdTopPostResponse]: - """v1_talkers_device_device_id_top_post + ) -> ApiResponse[None]: + """v1_sites_site_id_delete - Get top talkers for a device + Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_talkers_device_device_id_top_post_request: (required) - :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113063,10 +113930,9 @@ def v1_talkers_device_device_id_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_device_device_id_top_post_serialize( + _param = self._v1_sites_site_id_delete_serialize( authorization=authorization, - device_id=device_id, - v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113074,7 +113940,7 @@ def v1_talkers_device_device_id_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersDeviceDeviceIdTopPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -113088,11 +113954,10 @@ def v1_talkers_device_device_id_top_post_with_http_info( @validate_call - def v1_talkers_device_device_id_top_post_without_preload_content( + def v1_sites_site_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113106,16 +113971,14 @@ def v1_talkers_device_device_id_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_talkers_device_device_id_top_post + """v1_sites_site_id_delete - Get top talkers for a device + Delete a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_talkers_device_device_id_top_post_request: (required) - :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113138,10 +114001,9 @@ def v1_talkers_device_device_id_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_device_device_id_top_post_serialize( + _param = self._v1_sites_site_id_delete_serialize( authorization=authorization, - device_id=device_id, - v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113149,7 +114011,7 @@ def v1_talkers_device_device_id_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersDeviceDeviceIdTopPostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -113158,11 +114020,10 @@ def v1_talkers_device_device_id_top_post_without_preload_content( return response_data.response - def _v1_talkers_device_device_id_top_post_serialize( + def _v1_sites_site_id_delete_serialize( self, authorization, - device_id, - v1_talkers_device_device_id_top_post_request, + site_id, _request_auth, _content_type, _headers, @@ -113184,39 +114045,17 @@ def _v1_talkers_device_device_id_top_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_talkers_device_device_id_top_post_request is not None: - _body_params = v1_talkers_device_device_id_top_post_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -113224,8 +114063,8 @@ def _v1_talkers_device_device_id_top_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/talkers/device/{deviceId}/top', + method='DELETE', + resource_path='/v1/sites/{siteId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113242,11 +114081,10 @@ def _v1_talkers_device_device_id_top_post_serialize( @validate_call - def v1_talkers_site_site_id_top_post( + def v1_sites_site_id_devices_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, + site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113259,17 +114097,15 @@ def v1_talkers_site_site_id_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TalkersSiteSiteIdTopPostResponse: - """v1_talkers_site_site_id_top_post + ) -> V1SitesSiteIdDevicesGetResponse: + """v1_sites_site_id_devices_get - Get top talkers for a site + Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param site_id: (required) :type site_id: int - :param v1_talkers_site_site_id_top_post_request: (required) - :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113292,10 +114128,9 @@ def v1_talkers_site_site_id_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_site_site_id_top_post_serialize( + _param = self._v1_sites_site_id_devices_get_serialize( authorization=authorization, site_id=site_id, - v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113303,7 +114138,7 @@ def v1_talkers_site_site_id_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersSiteSiteIdTopPostResponse", + '200': "V1SitesSiteIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -113317,11 +114152,10 @@ def v1_talkers_site_site_id_top_post( @validate_call - def v1_talkers_site_site_id_top_post_with_http_info( + def v1_sites_site_id_devices_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, + site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113334,17 +114168,15 @@ def v1_talkers_site_site_id_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TalkersSiteSiteIdTopPostResponse]: - """v1_talkers_site_site_id_top_post + ) -> ApiResponse[V1SitesSiteIdDevicesGetResponse]: + """v1_sites_site_id_devices_get - Get top talkers for a site + Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param site_id: (required) :type site_id: int - :param v1_talkers_site_site_id_top_post_request: (required) - :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113367,10 +114199,9 @@ def v1_talkers_site_site_id_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_site_site_id_top_post_serialize( + _param = self._v1_sites_site_id_devices_get_serialize( authorization=authorization, site_id=site_id, - v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113378,7 +114209,7 @@ def v1_talkers_site_site_id_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersSiteSiteIdTopPostResponse", + '200': "V1SitesSiteIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -113392,11 +114223,10 @@ def v1_talkers_site_site_id_top_post_with_http_info( @validate_call - def v1_talkers_site_site_id_top_post_without_preload_content( + def v1_sites_site_id_devices_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, - v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, + site_id: Annotated[int, Field(strict=True, ge=0)], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113410,16 +114240,14 @@ def v1_talkers_site_site_id_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_talkers_site_site_id_top_post + """v1_sites_site_id_devices_get - Get top talkers for a site + Get Devices for the site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param site_id: (required) :type site_id: int - :param v1_talkers_site_site_id_top_post_request: (required) - :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113442,10 +114270,9 @@ def v1_talkers_site_site_id_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_talkers_site_site_id_top_post_serialize( + _param = self._v1_sites_site_id_devices_get_serialize( authorization=authorization, site_id=site_id, - v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113453,7 +114280,7 @@ def v1_talkers_site_site_id_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TalkersSiteSiteIdTopPostResponse", + '200': "V1SitesSiteIdDevicesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -113462,11 +114289,10 @@ def v1_talkers_site_site_id_top_post_without_preload_content( return response_data.response - def _v1_talkers_site_site_id_top_post_serialize( + def _v1_sites_site_id_devices_get_serialize( self, authorization, site_id, - v1_talkers_site_site_id_top_post_request, _request_auth, _content_type, _headers, @@ -113496,8 +114322,6 @@ def _v1_talkers_site_site_id_top_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_talkers_site_site_id_top_post_request is not None: - _body_params = v1_talkers_site_site_id_top_post_request # set the HTTP header `Accept` @@ -113508,19 +114332,6 @@ def _v1_talkers_site_site_id_top_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -113528,8 +114339,8 @@ def _v1_talkers_site_site_id_top_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/talkers/site/{siteId}/top', + method='GET', + resource_path='/v1/sites/{siteId}/devices', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113546,10 +114357,11 @@ def _v1_talkers_site_site_id_top_post_serialize( @validate_call - def v1_temp_password_put( + def v1_sites_site_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_temp_password_put_request: V1TempPasswordPutRequest, + site_id: StrictInt, + v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113562,15 +114374,17 @@ def v1_temp_password_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_temp_password_put + ) -> V1SitesSiteIdPostResponse: + """v1_sites_site_id_post - Generate and send temporary passwords to multiple emails for B2B service access. + Update a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_temp_password_put_request: (required) - :type v1_temp_password_put_request: V1TempPasswordPutRequest + :param site_id: (required) + :type site_id: int + :param v1_sites_site_id_post_request: (required) + :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113593,9 +114407,10 @@ def v1_temp_password_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_temp_password_put_serialize( + _param = self._v1_sites_site_id_post_serialize( authorization=authorization, - v1_temp_password_put_request=v1_temp_password_put_request, + site_id=site_id, + v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113603,7 +114418,7 @@ def v1_temp_password_put( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1SitesSiteIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113617,10 +114432,11 @@ def v1_temp_password_put( @validate_call - def v1_temp_password_put_with_http_info( + def v1_sites_site_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_temp_password_put_request: V1TempPasswordPutRequest, + site_id: StrictInt, + v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113633,15 +114449,17 @@ def v1_temp_password_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_temp_password_put + ) -> ApiResponse[V1SitesSiteIdPostResponse]: + """v1_sites_site_id_post - Generate and send temporary passwords to multiple emails for B2B service access. + Update a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_temp_password_put_request: (required) - :type v1_temp_password_put_request: V1TempPasswordPutRequest + :param site_id: (required) + :type site_id: int + :param v1_sites_site_id_post_request: (required) + :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113664,9 +114482,10 @@ def v1_temp_password_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_temp_password_put_serialize( + _param = self._v1_sites_site_id_post_serialize( authorization=authorization, - v1_temp_password_put_request=v1_temp_password_put_request, + site_id=site_id, + v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113674,7 +114493,7 @@ def v1_temp_password_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1SitesSiteIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113688,10 +114507,11 @@ def v1_temp_password_put_with_http_info( @validate_call - def v1_temp_password_put_without_preload_content( + def v1_sites_site_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_temp_password_put_request: V1TempPasswordPutRequest, + site_id: StrictInt, + v1_sites_site_id_post_request: V1SitesSiteIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113705,14 +114525,16 @@ def v1_temp_password_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_temp_password_put + """v1_sites_site_id_post - Generate and send temporary passwords to multiple emails for B2B service access. + Update a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_temp_password_put_request: (required) - :type v1_temp_password_put_request: V1TempPasswordPutRequest + :param site_id: (required) + :type site_id: int + :param v1_sites_site_id_post_request: (required) + :type v1_sites_site_id_post_request: V1SitesSiteIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113735,9 +114557,10 @@ def v1_temp_password_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_temp_password_put_serialize( + _param = self._v1_sites_site_id_post_serialize( authorization=authorization, - v1_temp_password_put_request=v1_temp_password_put_request, + site_id=site_id, + v1_sites_site_id_post_request=v1_sites_site_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113745,7 +114568,7 @@ def v1_temp_password_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '201': "object", + '200': "V1SitesSiteIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -113754,10 +114577,11 @@ def v1_temp_password_put_without_preload_content( return response_data.response - def _v1_temp_password_put_serialize( + def _v1_sites_site_id_post_serialize( self, authorization, - v1_temp_password_put_request, + site_id, + v1_sites_site_id_post_request, _request_auth, _content_type, _headers, @@ -113779,14 +114603,16 @@ def _v1_temp_password_put_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_temp_password_put_request is not None: - _body_params = v1_temp_password_put_request + if v1_sites_site_id_post_request is not None: + _body_params = v1_sites_site_id_post_request # set the HTTP header `Accept` @@ -113817,8 +114643,8 @@ def _v1_temp_password_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/temp/password', + method='POST', + resource_path='/v1/sites/{siteId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -113835,11 +114661,9 @@ def _v1_temp_password_put_serialize( @validate_call - def v1_troubleshooting_device_device_id_post( + def v1_software_auto_upgrade_default_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113852,16 +114676,12 @@ def v1_troubleshooting_device_device_id_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingDeviceDeviceIdPostResponse: - """v1_troubleshooting_device_device_id_post + ) -> V1SoftwareAutoUpgradeDefaultGetResponse: + """v1_software_auto_upgrade_default_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_troubleshooting_device_device_id_post_request: (required) - :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113884,10 +114704,8 @@ def v1_troubleshooting_device_device_id_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_device_device_id_post_serialize( + _param = self._v1_software_auto_upgrade_default_get_serialize( authorization=authorization, - device_id=device_id, - v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113895,7 +114713,7 @@ def v1_troubleshooting_device_device_id_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingDeviceDeviceIdPostResponse", + '200': "V1SoftwareAutoUpgradeDefaultGetResponse", } response_data = self.api_client.call_api( *_param, @@ -113909,11 +114727,9 @@ def v1_troubleshooting_device_device_id_post( @validate_call - def v1_troubleshooting_device_device_id_post_with_http_info( + def v1_software_auto_upgrade_default_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -113926,16 +114742,12 @@ def v1_troubleshooting_device_device_id_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingDeviceDeviceIdPostResponse]: - """v1_troubleshooting_device_device_id_post + ) -> ApiResponse[V1SoftwareAutoUpgradeDefaultGetResponse]: + """v1_software_auto_upgrade_default_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_troubleshooting_device_device_id_post_request: (required) - :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -113958,10 +114770,8 @@ def v1_troubleshooting_device_device_id_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_device_device_id_post_serialize( + _param = self._v1_software_auto_upgrade_default_get_serialize( authorization=authorization, - device_id=device_id, - v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -113969,7 +114779,7 @@ def v1_troubleshooting_device_device_id_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingDeviceDeviceIdPostResponse", + '200': "V1SoftwareAutoUpgradeDefaultGetResponse", } response_data = self.api_client.call_api( *_param, @@ -113983,11 +114793,9 @@ def v1_troubleshooting_device_device_id_post_with_http_info( @validate_call - def v1_troubleshooting_device_device_id_post_without_preload_content( + def v1_software_auto_upgrade_default_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114001,15 +114809,11 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_device_device_id_post + """v1_software_auto_upgrade_default_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v1_troubleshooting_device_device_id_post_request: (required) - :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114032,10 +114836,8 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_device_device_id_post_serialize( + _param = self._v1_software_auto_upgrade_default_get_serialize( authorization=authorization, - device_id=device_id, - v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114043,7 +114845,7 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingDeviceDeviceIdPostResponse", + '200': "V1SoftwareAutoUpgradeDefaultGetResponse", } response_data = self.api_client.call_api( *_param, @@ -114052,11 +114854,9 @@ def v1_troubleshooting_device_device_id_post_without_preload_content( return response_data.response - def _v1_troubleshooting_device_device_id_post_serialize( + def _v1_software_auto_upgrade_default_get_serialize( self, authorization, - device_id, - v1_troubleshooting_device_device_id_post_request, _request_auth, _content_type, _headers, @@ -114078,16 +114878,12 @@ def _v1_troubleshooting_device_device_id_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_troubleshooting_device_device_id_post_request is not None: - _body_params = v1_troubleshooting_device_device_id_post_request # set the HTTP header `Accept` @@ -114098,19 +114894,6 @@ def _v1_troubleshooting_device_device_id_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -114118,8 +114901,8 @@ def _v1_troubleshooting_device_device_id_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/troubleshooting/device/{deviceId}', + method='GET', + resource_path='/v1/software/auto-upgrade/default', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114136,10 +114919,10 @@ def _v1_troubleshooting_device_device_id_post_serialize( @validate_call - def v1_troubleshooting_enterprise_post( + def v1_software_auto_upgrade_default_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, + v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114152,14 +114935,14 @@ def v1_troubleshooting_enterprise_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingEnterprisePostResponse: - """v1_troubleshooting_enterprise_post + ) -> None: + """v1_software_auto_upgrade_default_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_enterprise_post_request: (required) - :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest + :param v1_software_auto_upgrade_default_put_request: (required) + :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114182,9 +114965,9 @@ def v1_troubleshooting_enterprise_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_enterprise_post_serialize( + _param = self._v1_software_auto_upgrade_default_put_serialize( authorization=authorization, - v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, + v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114192,7 +114975,7 @@ def v1_troubleshooting_enterprise_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingEnterprisePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -114206,10 +114989,10 @@ def v1_troubleshooting_enterprise_post( @validate_call - def v1_troubleshooting_enterprise_post_with_http_info( + def v1_software_auto_upgrade_default_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, + v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114222,14 +115005,14 @@ def v1_troubleshooting_enterprise_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingEnterprisePostResponse]: - """v1_troubleshooting_enterprise_post + ) -> ApiResponse[None]: + """v1_software_auto_upgrade_default_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_enterprise_post_request: (required) - :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest + :param v1_software_auto_upgrade_default_put_request: (required) + :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114252,9 +115035,9 @@ def v1_troubleshooting_enterprise_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_enterprise_post_serialize( + _param = self._v1_software_auto_upgrade_default_put_serialize( authorization=authorization, - v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, + v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114262,7 +115045,7 @@ def v1_troubleshooting_enterprise_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingEnterprisePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -114276,10 +115059,10 @@ def v1_troubleshooting_enterprise_post_with_http_info( @validate_call - def v1_troubleshooting_enterprise_post_without_preload_content( + def v1_software_auto_upgrade_default_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, + v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114293,13 +115076,13 @@ def v1_troubleshooting_enterprise_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_enterprise_post + """v1_software_auto_upgrade_default_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_enterprise_post_request: (required) - :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest + :param v1_software_auto_upgrade_default_put_request: (required) + :type v1_software_auto_upgrade_default_put_request: V1SoftwareAutoUpgradeDefaultPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114322,9 +115105,9 @@ def v1_troubleshooting_enterprise_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_enterprise_post_serialize( + _param = self._v1_software_auto_upgrade_default_put_serialize( authorization=authorization, - v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, + v1_software_auto_upgrade_default_put_request=v1_software_auto_upgrade_default_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114332,7 +115115,7 @@ def v1_troubleshooting_enterprise_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingEnterprisePostResponse", + '204': None, } response_data = self.api_client.call_api( *_param, @@ -114341,10 +115124,10 @@ def v1_troubleshooting_enterprise_post_without_preload_content( return response_data.response - def _v1_troubleshooting_enterprise_post_serialize( + def _v1_software_auto_upgrade_default_put_serialize( self, authorization, - v1_troubleshooting_enterprise_post_request, + v1_software_auto_upgrade_default_put_request, _request_auth, _content_type, _headers, @@ -114372,17 +115155,10 @@ def _v1_troubleshooting_enterprise_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_troubleshooting_enterprise_post_request is not None: - _body_params = v1_troubleshooting_enterprise_post_request + if v1_software_auto_upgrade_default_put_request is not None: + _body_params = v1_software_auto_upgrade_default_put_request - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) # set the HTTP header `Content-Type` if _content_type: @@ -114404,8 +115180,8 @@ def _v1_troubleshooting_enterprise_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/troubleshooting/enterprise', + method='PUT', + resource_path='/v1/software/auto-upgrade/default', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114422,9 +115198,10 @@ def _v1_troubleshooting_enterprise_post_serialize( @validate_call - def v1_troubleshooting_filter_get( + def v1_software_gcsrelease_upload_notes_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114437,12 +115214,14 @@ def v1_troubleshooting_filter_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingFilterGetResponse: - """v1_troubleshooting_filter_get + ) -> object: + """v1_software_gcsrelease_upload_notes_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_software_gcsrelease_upload_notes_post_request: (required) + :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114465,8 +115244,9 @@ def v1_troubleshooting_filter_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_filter_get_serialize( + _param = self._v1_software_gcsrelease_upload_notes_post_serialize( authorization=authorization, + v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114474,7 +115254,7 @@ def v1_troubleshooting_filter_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingFilterGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -114488,9 +115268,10 @@ def v1_troubleshooting_filter_get( @validate_call - def v1_troubleshooting_filter_get_with_http_info( + def v1_software_gcsrelease_upload_notes_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114503,12 +115284,14 @@ def v1_troubleshooting_filter_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingFilterGetResponse]: - """v1_troubleshooting_filter_get + ) -> ApiResponse[object]: + """v1_software_gcsrelease_upload_notes_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_software_gcsrelease_upload_notes_post_request: (required) + :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114531,8 +115314,9 @@ def v1_troubleshooting_filter_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_filter_get_serialize( + _param = self._v1_software_gcsrelease_upload_notes_post_serialize( authorization=authorization, + v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114540,7 +115324,7 @@ def v1_troubleshooting_filter_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingFilterGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -114554,9 +115338,10 @@ def v1_troubleshooting_filter_get_with_http_info( @validate_call - def v1_troubleshooting_filter_get_without_preload_content( + def v1_software_gcsrelease_upload_notes_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114570,11 +115355,13 @@ def v1_troubleshooting_filter_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_filter_get + """v1_software_gcsrelease_upload_notes_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v1_software_gcsrelease_upload_notes_post_request: (required) + :type v1_software_gcsrelease_upload_notes_post_request: V1SoftwareGcsreleaseUploadNotesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114597,8 +115384,9 @@ def v1_troubleshooting_filter_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_filter_get_serialize( + _param = self._v1_software_gcsrelease_upload_notes_post_serialize( authorization=authorization, + v1_software_gcsrelease_upload_notes_post_request=v1_software_gcsrelease_upload_notes_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114606,7 +115394,7 @@ def v1_troubleshooting_filter_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingFilterGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -114615,9 +115403,10 @@ def v1_troubleshooting_filter_get_without_preload_content( return response_data.response - def _v1_troubleshooting_filter_get_serialize( + def _v1_software_gcsrelease_upload_notes_post_serialize( self, authorization, + v1_software_gcsrelease_upload_notes_post_request, _request_auth, _content_type, _headers, @@ -114645,6 +115434,8 @@ def _v1_troubleshooting_filter_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_gcsrelease_upload_notes_post_request is not None: + _body_params = v1_software_gcsrelease_upload_notes_post_request # set the HTTP header `Accept` @@ -114655,6 +115446,19 @@ def _v1_troubleshooting_filter_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -114662,8 +115466,8 @@ def _v1_troubleshooting_filter_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/troubleshooting/filter', + method='POST', + resource_path='/v1/software/gcsrelease/upload/notes', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114680,9 +115484,11 @@ def _v1_troubleshooting_filter_get_serialize( @validate_call - def v1_troubleshooting_site_connectivity_status_get( + def v1_software_releases_download_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], + version: Annotated[StrictStr, Field(description="GNOS Image version")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114695,12 +115501,16 @@ def v1_troubleshooting_site_connectivity_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingSiteConnectivityStatusGetResponse: - """v1_troubleshooting_site_connectivity_status_get + ) -> V1SoftwareReleasesDownloadGetResponse: + """v1_software_releases_download_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param image_ext: GNOS Image type (qcow2 or ova) (required) + :type image_ext: str + :param version: GNOS Image version (required) + :type version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114723,8 +115533,10 @@ def v1_troubleshooting_site_connectivity_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( + _param = self._v1_software_releases_download_get_serialize( authorization=authorization, + image_ext=image_ext, + version=version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114732,7 +115544,7 @@ def v1_troubleshooting_site_connectivity_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", + '200': "V1SoftwareReleasesDownloadGetResponse", } response_data = self.api_client.call_api( *_param, @@ -114746,9 +115558,11 @@ def v1_troubleshooting_site_connectivity_status_get( @validate_call - def v1_troubleshooting_site_connectivity_status_get_with_http_info( + def v1_software_releases_download_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], + version: Annotated[StrictStr, Field(description="GNOS Image version")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114761,12 +115575,16 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingSiteConnectivityStatusGetResponse]: - """v1_troubleshooting_site_connectivity_status_get + ) -> ApiResponse[V1SoftwareReleasesDownloadGetResponse]: + """v1_software_releases_download_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param image_ext: GNOS Image type (qcow2 or ova) (required) + :type image_ext: str + :param version: GNOS Image version (required) + :type version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114789,8 +115607,10 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( + _param = self._v1_software_releases_download_get_serialize( authorization=authorization, + image_ext=image_ext, + version=version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114798,7 +115618,7 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", + '200': "V1SoftwareReleasesDownloadGetResponse", } response_data = self.api_client.call_api( *_param, @@ -114812,9 +115632,11 @@ def v1_troubleshooting_site_connectivity_status_get_with_http_info( @validate_call - def v1_troubleshooting_site_connectivity_status_get_without_preload_content( + def v1_software_releases_download_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + image_ext: Annotated[StrictStr, Field(description="GNOS Image type (qcow2 or ova)")], + version: Annotated[StrictStr, Field(description="GNOS Image version")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114828,11 +115650,15 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_site_connectivity_status_get + """v1_software_releases_download_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param image_ext: GNOS Image type (qcow2 or ova) (required) + :type image_ext: str + :param version: GNOS Image version (required) + :type version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114855,8 +115681,10 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( + _param = self._v1_software_releases_download_get_serialize( authorization=authorization, + image_ext=image_ext, + version=version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114864,7 +115692,7 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", + '200': "V1SoftwareReleasesDownloadGetResponse", } response_data = self.api_client.call_api( *_param, @@ -114873,9 +115701,11 @@ def v1_troubleshooting_site_connectivity_status_get_without_preload_content( return response_data.response - def _v1_troubleshooting_site_connectivity_status_get_serialize( + def _v1_software_releases_download_get_serialize( self, authorization, + image_ext, + version, _request_auth, _content_type, _headers, @@ -114898,6 +115728,14 @@ def _v1_troubleshooting_site_connectivity_status_get_serialize( # process the path parameters # process the query parameters + if image_ext is not None: + + _query_params.append(('imageExt', image_ext)) + + if version is not None: + + _query_params.append(('version', version)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -114921,7 +115759,7 @@ def _v1_troubleshooting_site_connectivity_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/troubleshooting/site-connectivity-status', + resource_path='/v1/software/releases/download', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -114938,10 +115776,9 @@ def _v1_troubleshooting_site_connectivity_status_get_serialize( @validate_call - def v1_troubleshooting_site_site_id_get( + def v1_software_releases_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -114954,14 +115791,12 @@ def v1_troubleshooting_site_site_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingSiteSiteIdGetResponse: - """v1_troubleshooting_site_site_id_get + ) -> V1SoftwareReleasesSummaryGetResponse: + """v1_software_releases_summary_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -114984,9 +115819,8 @@ def v1_troubleshooting_site_site_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_site_id_get_serialize( + _param = self._v1_software_releases_summary_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -114994,7 +115828,7 @@ def v1_troubleshooting_site_site_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteSiteIdGetResponse", + '200': "V1SoftwareReleasesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115008,10 +115842,9 @@ def v1_troubleshooting_site_site_id_get( @validate_call - def v1_troubleshooting_site_site_id_get_with_http_info( + def v1_software_releases_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115024,14 +115857,12 @@ def v1_troubleshooting_site_site_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingSiteSiteIdGetResponse]: - """v1_troubleshooting_site_site_id_get + ) -> ApiResponse[V1SoftwareReleasesSummaryGetResponse]: + """v1_software_releases_summary_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115054,9 +115885,8 @@ def v1_troubleshooting_site_site_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_site_id_get_serialize( + _param = self._v1_software_releases_summary_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115064,7 +115894,7 @@ def v1_troubleshooting_site_site_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteSiteIdGetResponse", + '200': "V1SoftwareReleasesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115078,10 +115908,9 @@ def v1_troubleshooting_site_site_id_get_with_http_info( @validate_call - def v1_troubleshooting_site_site_id_get_without_preload_content( + def v1_software_releases_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115095,13 +115924,11 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_site_site_id_get + """v1_software_releases_summary_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param site_id: (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115124,9 +115951,8 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_site_site_id_get_serialize( + _param = self._v1_software_releases_summary_get_serialize( authorization=authorization, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115134,7 +115960,7 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingSiteSiteIdGetResponse", + '200': "V1SoftwareReleasesSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115143,10 +115969,9 @@ def v1_troubleshooting_site_site_id_get_without_preload_content( return response_data.response - def _v1_troubleshooting_site_site_id_get_serialize( + def _v1_software_releases_summary_get_serialize( self, authorization, - site_id, _request_auth, _content_type, _headers, @@ -115168,8 +115993,6 @@ def _v1_troubleshooting_site_site_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if site_id is not None: - _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: @@ -115194,7 +116017,7 @@ def _v1_troubleshooting_site_site_id_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/troubleshooting/site/{siteId}', + resource_path='/v1/software/releases/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115211,10 +116034,9 @@ def _v1_troubleshooting_site_site_id_get_serialize( @validate_call - def v1_troubleshooting_top_sites_by_alerts_post( + def v1_software_rollouts_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115227,14 +116049,13 @@ def v1_troubleshooting_top_sites_by_alerts_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1TroubleshootingTopSitesByAlertsPostResponse: - """v1_troubleshooting_top_sites_by_alerts_post + ) -> V1SoftwareRolloutsGetResponse: + """v1_software_rollouts_get + Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) - :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115257,9 +116078,8 @@ def v1_troubleshooting_top_sites_by_alerts_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( + _param = self._v1_software_rollouts_get_serialize( authorization=authorization, - v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115267,7 +116087,7 @@ def v1_troubleshooting_top_sites_by_alerts_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingTopSitesByAlertsPostResponse", + '200': "V1SoftwareRolloutsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115281,10 +116101,9 @@ def v1_troubleshooting_top_sites_by_alerts_post( @validate_call - def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( + def v1_software_rollouts_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115297,14 +116116,13 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1TroubleshootingTopSitesByAlertsPostResponse]: - """v1_troubleshooting_top_sites_by_alerts_post + ) -> ApiResponse[V1SoftwareRolloutsGetResponse]: + """v1_software_rollouts_get + Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) - :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115327,9 +116145,8 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( + _param = self._v1_software_rollouts_get_serialize( authorization=authorization, - v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115337,7 +116154,7 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingTopSitesByAlertsPostResponse", + '200': "V1SoftwareRolloutsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115351,10 +116168,9 @@ def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( @validate_call - def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( + def v1_software_rollouts_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115368,13 +116184,12 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_troubleshooting_top_sites_by_alerts_post + """v1_software_rollouts_get + Returns all the configured upgrade rollouts :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) - :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115397,9 +116212,8 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( + _param = self._v1_software_rollouts_get_serialize( authorization=authorization, - v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115407,7 +116221,7 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1TroubleshootingTopSitesByAlertsPostResponse", + '200': "V1SoftwareRolloutsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115416,10 +116230,9 @@ def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( return response_data.response - def _v1_troubleshooting_top_sites_by_alerts_post_serialize( + def _v1_software_rollouts_get_serialize( self, authorization, - v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth, _content_type, _headers, @@ -115447,8 +116260,6 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_troubleshooting_top_sites_by_alerts_post_request is not None: - _body_params = v1_troubleshooting_top_sites_by_alerts_post_request # set the HTTP header `Accept` @@ -115459,19 +116270,6 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -115479,8 +116277,8 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/troubleshooting/top-sites-by-alerts', + method='GET', + resource_path='/v1/software/rollouts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115497,11 +116295,10 @@ def _v1_troubleshooting_top_sites_by_alerts_post_serialize( @validate_call - def v1_users_email_password_patch( + def v1_software_rollouts_id_delete( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Password reset token")], - v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115514,17 +116311,15 @@ def v1_users_email_password_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_email_password_patch + ) -> object: + """v1_software_rollouts_id_delete - Change password for a user using email and token + Delete given upgrade rollout - :param email: User email address (required) - :type email: str - :param token: Password reset token (required) - :type token: str - :param v1_users_email_password_patch_request: (required) - :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Rollout identifier to delete. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115547,10 +116342,9 @@ def v1_users_email_password_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_password_patch_serialize( - email=email, - token=token, - v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _param = self._v1_software_rollouts_id_delete_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115558,10 +116352,7 @@ def v1_users_email_password_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -115575,11 +116366,10 @@ def v1_users_email_password_patch( @validate_call - def v1_users_email_password_patch_with_http_info( + def v1_software_rollouts_id_delete_with_http_info( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Password reset token")], - v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115592,17 +116382,15 @@ def v1_users_email_password_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_email_password_patch + ) -> ApiResponse[object]: + """v1_software_rollouts_id_delete - Change password for a user using email and token + Delete given upgrade rollout - :param email: User email address (required) - :type email: str - :param token: Password reset token (required) - :type token: str - :param v1_users_email_password_patch_request: (required) - :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Rollout identifier to delete. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115625,10 +116413,9 @@ def v1_users_email_password_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_password_patch_serialize( - email=email, - token=token, - v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _param = self._v1_software_rollouts_id_delete_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115636,10 +116423,7 @@ def v1_users_email_password_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -115653,11 +116437,10 @@ def v1_users_email_password_patch_with_http_info( @validate_call - def v1_users_email_password_patch_without_preload_content( + def v1_software_rollouts_id_delete_without_preload_content( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Password reset token")], - v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to delete.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115671,16 +116454,14 @@ def v1_users_email_password_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_email_password_patch + """v1_software_rollouts_id_delete - Change password for a user using email and token + Delete given upgrade rollout - :param email: User email address (required) - :type email: str - :param token: Password reset token (required) - :type token: str - :param v1_users_email_password_patch_request: (required) - :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Rollout identifier to delete. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115703,10 +116484,9 @@ def v1_users_email_password_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_password_patch_serialize( - email=email, - token=token, - v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _param = self._v1_software_rollouts_id_delete_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115714,10 +116494,7 @@ def v1_users_email_password_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -115726,11 +116503,10 @@ def v1_users_email_password_patch_without_preload_content( return response_data.response - def _v1_users_email_password_patch_serialize( + def _v1_software_rollouts_id_delete_serialize( self, - email, - token, - v1_users_email_password_patch_request, + authorization, + id, _request_auth, _content_type, _headers, @@ -115752,34 +116528,24 @@ def _v1_users_email_password_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email + if id is not None: + _path_params['id'] = id # process the query parameters - if token is not None: - - _query_params.append(('token', token)) - # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_users_email_password_patch_request is not None: - _body_params = v1_users_email_password_patch_request - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type + # authentication setting _auth_settings: List[str] = [ @@ -115787,8 +116553,8 @@ def _v1_users_email_password_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/users/{email}/password', + method='DELETE', + resource_path='/v1/software/rollouts/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -115805,9 +116571,10 @@ def _v1_users_email_password_patch_serialize( @validate_call - def v1_users_email_recovery_get( + def v1_software_rollouts_id_get( self, - email: Annotated[StrictStr, Field(description="User email address")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115820,13 +116587,15 @@ def v1_users_email_recovery_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_email_recovery_get + ) -> V1SoftwareRolloutsIdGetResponse: + """v1_software_rollouts_id_get - Send password recovery email to user + Returns details about given upgrade rollout - :param email: User email address (required) - :type email: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Rollout identifier to fetch. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115849,8 +116618,9 @@ def v1_users_email_recovery_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_recovery_get_serialize( - email=email, + _param = self._v1_software_rollouts_id_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115858,9 +116628,7 @@ def v1_users_email_recovery_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, - '400': None, - '500': None, + '200': "V1SoftwareRolloutsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115874,9 +116642,10 @@ def v1_users_email_recovery_get( @validate_call - def v1_users_email_recovery_get_with_http_info( + def v1_software_rollouts_id_get_with_http_info( self, - email: Annotated[StrictStr, Field(description="User email address")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115889,13 +116658,15 @@ def v1_users_email_recovery_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_email_recovery_get + ) -> ApiResponse[V1SoftwareRolloutsIdGetResponse]: + """v1_software_rollouts_id_get - Send password recovery email to user + Returns details about given upgrade rollout - :param email: User email address (required) - :type email: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Rollout identifier to fetch. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115918,8 +116689,9 @@ def v1_users_email_recovery_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_recovery_get_serialize( - email=email, + _param = self._v1_software_rollouts_id_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115927,9 +116699,7 @@ def v1_users_email_recovery_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, - '400': None, - '500': None, + '200': "V1SoftwareRolloutsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -115943,9 +116713,10 @@ def v1_users_email_recovery_get_with_http_info( @validate_call - def v1_users_email_recovery_get_without_preload_content( + def v1_software_rollouts_id_get_without_preload_content( self, - email: Annotated[StrictStr, Field(description="User email address")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictInt, Field(description="Rollout identifier to fetch.")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -115959,12 +116730,14 @@ def v1_users_email_recovery_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_email_recovery_get + """v1_software_rollouts_id_get - Send password recovery email to user + Returns details about given upgrade rollout - :param email: User email address (required) - :type email: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: Rollout identifier to fetch. (required) + :type id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -115987,8 +116760,9 @@ def v1_users_email_recovery_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_recovery_get_serialize( - email=email, + _param = self._v1_software_rollouts_id_get_serialize( + authorization=authorization, + id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -115996,9 +116770,7 @@ def v1_users_email_recovery_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': None, - '400': None, - '500': None, + '200': "V1SoftwareRolloutsIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -116007,9 +116779,10 @@ def v1_users_email_recovery_get_without_preload_content( return response_data.response - def _v1_users_email_recovery_get_serialize( + def _v1_software_rollouts_id_get_serialize( self, - email, + authorization, + id, _request_auth, _content_type, _headers, @@ -116031,14 +116804,23 @@ def _v1_users_email_recovery_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email + if id is not None: + _path_params['id'] = id # process the query parameters # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # authentication setting @@ -116048,7 +116830,7 @@ def _v1_users_email_recovery_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/users/{email}/recovery', + resource_path='/v1/software/rollouts/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116065,10 +116847,10 @@ def _v1_users_email_recovery_get_serialize( @validate_call - def v1_users_email_verified_patch( + def v1_software_rollouts_post( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Email verification token")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116081,15 +116863,15 @@ def v1_users_email_verified_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_email_verified_patch + ) -> V1SoftwareRolloutsPostResponse: + """v1_software_rollouts_post - Verify user email using verification token + Create upgrade rollout and returns rollout identifier - :param email: User email address (required) - :type email: str - :param token: Email verification token (required) - :type token: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_software_rollouts_post_request: (required) + :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116112,9 +116894,9 @@ def v1_users_email_verified_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_verified_patch_serialize( - email=email, - token=token, + _param = self._v1_software_rollouts_post_serialize( + authorization=authorization, + v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116122,10 +116904,7 @@ def v1_users_email_verified_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1SoftwareRolloutsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116139,10 +116918,10 @@ def v1_users_email_verified_patch( @validate_call - def v1_users_email_verified_patch_with_http_info( + def v1_software_rollouts_post_with_http_info( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Email verification token")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116155,15 +116934,15 @@ def v1_users_email_verified_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_email_verified_patch + ) -> ApiResponse[V1SoftwareRolloutsPostResponse]: + """v1_software_rollouts_post - Verify user email using verification token + Create upgrade rollout and returns rollout identifier - :param email: User email address (required) - :type email: str - :param token: Email verification token (required) - :type token: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_software_rollouts_post_request: (required) + :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116186,9 +116965,9 @@ def v1_users_email_verified_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_verified_patch_serialize( - email=email, - token=token, + _param = self._v1_software_rollouts_post_serialize( + authorization=authorization, + v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116196,10 +116975,7 @@ def v1_users_email_verified_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1SoftwareRolloutsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116213,10 +116989,10 @@ def v1_users_email_verified_patch_with_http_info( @validate_call - def v1_users_email_verified_patch_without_preload_content( + def v1_software_rollouts_post_without_preload_content( self, - email: Annotated[StrictStr, Field(description="User email address")], - token: Annotated[StrictStr, Field(description="Email verification token")], + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116230,14 +117006,14 @@ def v1_users_email_verified_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_email_verified_patch + """v1_software_rollouts_post - Verify user email using verification token + Create upgrade rollout and returns rollout identifier - :param email: User email address (required) - :type email: str - :param token: Email verification token (required) - :type token: str + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_software_rollouts_post_request: (required) + :type v1_software_rollouts_post_request: V1SoftwareRolloutsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116260,9 +117036,9 @@ def v1_users_email_verified_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_email_verified_patch_serialize( - email=email, - token=token, + _param = self._v1_software_rollouts_post_serialize( + authorization=authorization, + v1_software_rollouts_post_request=v1_software_rollouts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116270,10 +117046,7 @@ def v1_users_email_verified_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, - '400': None, - '403': None, - '500': None, + '200': "V1SoftwareRolloutsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -116282,10 +117055,10 @@ def v1_users_email_verified_patch_without_preload_content( return response_data.response - def _v1_users_email_verified_patch_serialize( + def _v1_software_rollouts_post_serialize( self, - email, - token, + authorization, + v1_software_rollouts_post_request, _request_auth, _content_type, _headers, @@ -116307,19 +117080,37 @@ def _v1_users_email_verified_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if email is not None: - _path_params['email'] = email # process the query parameters - if token is not None: - - _query_params.append(('token', token)) - # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_rollouts_post_request is not None: + _body_params = v1_software_rollouts_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -116327,8 +117118,8 @@ def _v1_users_email_verified_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/users/{email}/verified', + method='POST', + resource_path='/v1/software/rollouts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116345,10 +117136,10 @@ def _v1_users_email_verified_patch_serialize( @validate_call - def v1_users_get( + def v1_software_rollouts_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictStr] = None, + v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116361,15 +117152,15 @@ def v1_users_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersGetResponse: - """v1_users_get + ) -> object: + """v1_software_rollouts_put - Get user information by user IDs with detailed profile data. + Modify update rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: str + :param v1_software_rollouts_put_request: (required) + :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116392,9 +117183,9 @@ def v1_users_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_get_serialize( + _param = self._v1_software_rollouts_put_serialize( authorization=authorization, - id=id, + v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116402,7 +117193,7 @@ def v1_users_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116416,10 +117207,10 @@ def v1_users_get( @validate_call - def v1_users_get_with_http_info( + def v1_software_rollouts_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictStr] = None, + v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116432,15 +117223,15 @@ def v1_users_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersGetResponse]: - """v1_users_get + ) -> ApiResponse[object]: + """v1_software_rollouts_put - Get user information by user IDs with detailed profile data. + Modify update rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: str + :param v1_software_rollouts_put_request: (required) + :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116463,9 +117254,9 @@ def v1_users_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_get_serialize( + _param = self._v1_software_rollouts_put_serialize( authorization=authorization, - id=id, + v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116473,7 +117264,7 @@ def v1_users_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116487,10 +117278,10 @@ def v1_users_get_with_http_info( @validate_call - def v1_users_get_without_preload_content( + def v1_software_rollouts_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Optional[StrictStr] = None, + v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116504,14 +117295,14 @@ def v1_users_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_get + """v1_software_rollouts_put - Get user information by user IDs with detailed profile data. + Modify update rollout :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: - :type id: str + :param v1_software_rollouts_put_request: (required) + :type v1_software_rollouts_put_request: V1SoftwareRolloutsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116534,9 +117325,9 @@ def v1_users_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_get_serialize( + _param = self._v1_software_rollouts_put_serialize( authorization=authorization, - id=id, + v1_software_rollouts_put_request=v1_software_rollouts_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116544,7 +117335,7 @@ def v1_users_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116553,10 +117344,10 @@ def v1_users_get_without_preload_content( return response_data.response - def _v1_users_get_serialize( + def _v1_software_rollouts_put_serialize( self, authorization, - id, + v1_software_rollouts_put_request, _request_auth, _content_type, _headers, @@ -116579,15 +117370,13 @@ def _v1_users_get_serialize( # process the path parameters # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_rollouts_put_request is not None: + _body_params = v1_software_rollouts_put_request # set the HTTP header `Accept` @@ -116598,6 +117387,19 @@ def _v1_users_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -116605,8 +117407,8 @@ def _v1_users_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/users', + method='PUT', + resource_path='/v1/software/rollouts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116623,10 +117425,10 @@ def _v1_users_get_serialize( @validate_call - def v1_users_id_delete( + def v1_software_rollouts_schedule_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116639,15 +117441,15 @@ def v1_users_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_id_delete + ) -> object: + """v1_software_rollouts_schedule_post - Delete user account. + Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param v1_software_rollouts_schedule_post_request: (required) + :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116670,9 +117472,9 @@ def v1_users_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_delete_serialize( + _param = self._v1_software_rollouts_schedule_post_serialize( authorization=authorization, - id=id, + v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116680,7 +117482,7 @@ def v1_users_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116694,10 +117496,10 @@ def v1_users_id_delete( @validate_call - def v1_users_id_delete_with_http_info( + def v1_software_rollouts_schedule_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116710,15 +117512,15 @@ def v1_users_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_id_delete + ) -> ApiResponse[object]: + """v1_software_rollouts_schedule_post - Delete user account. + Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param v1_software_rollouts_schedule_post_request: (required) + :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116741,9 +117543,9 @@ def v1_users_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_delete_serialize( + _param = self._v1_software_rollouts_schedule_post_serialize( authorization=authorization, - id=id, + v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116751,7 +117553,7 @@ def v1_users_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116765,10 +117567,10 @@ def v1_users_id_delete_with_http_info( @validate_call - def v1_users_id_delete_without_preload_content( + def v1_software_rollouts_schedule_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, + v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116782,14 +117584,14 @@ def v1_users_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_delete + """v1_software_rollouts_schedule_post - Delete user account. + Schedule rollout to upgrade now, later or user-triggered :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str + :param v1_software_rollouts_schedule_post_request: (required) + :type v1_software_rollouts_schedule_post_request: V1SoftwareRolloutsSchedulePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116812,9 +117614,9 @@ def v1_users_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_delete_serialize( + _param = self._v1_software_rollouts_schedule_post_serialize( authorization=authorization, - id=id, + v1_software_rollouts_schedule_post_request=v1_software_rollouts_schedule_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116822,7 +117624,7 @@ def v1_users_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -116831,10 +117633,10 @@ def v1_users_id_delete_without_preload_content( return response_data.response - def _v1_users_id_delete_serialize( + def _v1_software_rollouts_schedule_post_serialize( self, authorization, - id, + v1_software_rollouts_schedule_post_request, _request_auth, _content_type, _headers, @@ -116856,17 +117658,37 @@ def _v1_users_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_software_rollouts_schedule_post_request is not None: + _body_params = v1_software_rollouts_schedule_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -116874,8 +117696,8 @@ def _v1_users_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/users/{id}', + method='POST', + resource_path='/v1/software/rollouts/schedule', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -116892,10 +117714,10 @@ def _v1_users_id_delete_serialize( @validate_call - def v1_users_id_enterprises_get( + def v1_software_running_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + running_version: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116908,15 +117730,14 @@ def v1_users_id_enterprises_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdEnterprisesGetResponse: - """v1_users_id_enterprises_get + ) -> V1SoftwareRunningDetailsGetResponse: + """v1_software_running_details_get - Get all enterprises a specific user can access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param running_version: + :type running_version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -116939,9 +117760,9 @@ def v1_users_id_enterprises_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_enterprises_get_serialize( + _param = self._v1_software_running_details_get_serialize( authorization=authorization, - id=id, + running_version=running_version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -116949,7 +117770,7 @@ def v1_users_id_enterprises_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdEnterprisesGetResponse", + '200': "V1SoftwareRunningDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -116963,10 +117784,10 @@ def v1_users_id_enterprises_get( @validate_call - def v1_users_id_enterprises_get_with_http_info( + def v1_software_running_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + running_version: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -116979,15 +117800,14 @@ def v1_users_id_enterprises_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdEnterprisesGetResponse]: - """v1_users_id_enterprises_get + ) -> ApiResponse[V1SoftwareRunningDetailsGetResponse]: + """v1_software_running_details_get - Get all enterprises a specific user can access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param running_version: + :type running_version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117010,9 +117830,9 @@ def v1_users_id_enterprises_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_enterprises_get_serialize( + _param = self._v1_software_running_details_get_serialize( authorization=authorization, - id=id, + running_version=running_version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117020,7 +117840,7 @@ def v1_users_id_enterprises_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdEnterprisesGetResponse", + '200': "V1SoftwareRunningDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -117034,10 +117854,10 @@ def v1_users_id_enterprises_get_with_http_info( @validate_call - def v1_users_id_enterprises_get_without_preload_content( + def v1_software_running_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + running_version: Optional[StrictStr] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117051,14 +117871,13 @@ def v1_users_id_enterprises_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_enterprises_get + """v1_software_running_details_get - Get all enterprises a specific user can access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param running_version: + :type running_version: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117081,9 +117900,9 @@ def v1_users_id_enterprises_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_enterprises_get_serialize( + _param = self._v1_software_running_details_get_serialize( authorization=authorization, - id=id, + running_version=running_version, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117091,7 +117910,7 @@ def v1_users_id_enterprises_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdEnterprisesGetResponse", + '200': "V1SoftwareRunningDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -117100,10 +117919,10 @@ def v1_users_id_enterprises_get_without_preload_content( return response_data.response - def _v1_users_id_enterprises_get_serialize( + def _v1_software_running_details_get_serialize( self, authorization, - id, + running_version, _request_auth, _content_type, _headers, @@ -117125,9 +117944,11 @@ def _v1_users_id_enterprises_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if running_version is not None: + + _query_params.append(('runningVersion', running_version)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -117151,7 +117972,7 @@ def _v1_users_id_enterprises_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/users/{id}/enterprises', + resource_path='/v1/software/running/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117168,10 +117989,9 @@ def _v1_users_id_enterprises_get_serialize( @validate_call - def v1_users_id_groups_enterprises_get( + def v1_software_running_summary_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117184,15 +118004,12 @@ def v1_users_id_groups_enterprises_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdGroupsEnterprisesGetResponse: - """v1_users_id_groups_enterprises_get + ) -> V1SoftwareRunningSummaryGetResponse: + """v1_software_running_summary_get - Get enterprise-specific groups for a user. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117215,9 +118032,8 @@ def v1_users_id_groups_enterprises_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_enterprises_get_serialize( + _param = self._v1_software_running_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117225,7 +118041,7 @@ def v1_users_id_groups_enterprises_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsEnterprisesGetResponse", + '200': "V1SoftwareRunningSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -117239,10 +118055,9 @@ def v1_users_id_groups_enterprises_get( @validate_call - def v1_users_id_groups_enterprises_get_with_http_info( + def v1_software_running_summary_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117255,15 +118070,12 @@ def v1_users_id_groups_enterprises_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdGroupsEnterprisesGetResponse]: - """v1_users_id_groups_enterprises_get + ) -> ApiResponse[V1SoftwareRunningSummaryGetResponse]: + """v1_software_running_summary_get - Get enterprise-specific groups for a user. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117286,9 +118098,8 @@ def v1_users_id_groups_enterprises_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_enterprises_get_serialize( + _param = self._v1_software_running_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117296,7 +118107,7 @@ def v1_users_id_groups_enterprises_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsEnterprisesGetResponse", + '200': "V1SoftwareRunningSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -117310,10 +118121,9 @@ def v1_users_id_groups_enterprises_get_with_http_info( @validate_call - def v1_users_id_groups_enterprises_get_without_preload_content( + def v1_software_running_summary_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117327,14 +118137,11 @@ def v1_users_id_groups_enterprises_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_groups_enterprises_get + """v1_software_running_summary_get - Get enterprise-specific groups for a user. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117357,9 +118164,8 @@ def v1_users_id_groups_enterprises_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_enterprises_get_serialize( + _param = self._v1_software_running_summary_get_serialize( authorization=authorization, - id=id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117367,7 +118173,7 @@ def v1_users_id_groups_enterprises_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsEnterprisesGetResponse", + '200': "V1SoftwareRunningSummaryGetResponse", } response_data = self.api_client.call_api( *_param, @@ -117376,10 +118182,9 @@ def v1_users_id_groups_enterprises_get_without_preload_content( return response_data.response - def _v1_users_id_groups_enterprises_get_serialize( + def _v1_software_running_summary_get_serialize( self, authorization, - id, _request_auth, _content_type, _headers, @@ -117401,8 +118206,6 @@ def _v1_users_id_groups_enterprises_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: @@ -117427,7 +118230,7 @@ def _v1_users_id_groups_enterprises_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/users/{id}/groups/enterprises', + resource_path='/v1/software/running/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117444,10 +118247,11 @@ def _v1_users_id_groups_enterprises_get_serialize( @validate_call - def v1_users_id_groups_get( + def v1_talkers_device_device_id_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + device_id: StrictInt, + v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117460,15 +118264,17 @@ def v1_users_id_groups_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdGroupsGetResponse: - """v1_users_id_groups_get + ) -> V1TalkersDeviceDeviceIdTopPostResponse: + """v1_talkers_device_device_id_top_post - Get all groups that a specific user belongs to. + Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param device_id: (required) + :type device_id: int + :param v1_talkers_device_device_id_top_post_request: (required) + :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117491,9 +118297,10 @@ def v1_users_id_groups_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_get_serialize( + _param = self._v1_talkers_device_device_id_top_post_serialize( authorization=authorization, - id=id, + device_id=device_id, + v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117501,7 +118308,7 @@ def v1_users_id_groups_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsGetResponse", + '200': "V1TalkersDeviceDeviceIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -117515,10 +118322,11 @@ def v1_users_id_groups_get( @validate_call - def v1_users_id_groups_get_with_http_info( + def v1_talkers_device_device_id_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + device_id: StrictInt, + v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117531,15 +118339,17 @@ def v1_users_id_groups_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdGroupsGetResponse]: - """v1_users_id_groups_get + ) -> ApiResponse[V1TalkersDeviceDeviceIdTopPostResponse]: + """v1_talkers_device_device_id_top_post - Get all groups that a specific user belongs to. + Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param device_id: (required) + :type device_id: int + :param v1_talkers_device_device_id_top_post_request: (required) + :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117562,9 +118372,10 @@ def v1_users_id_groups_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_get_serialize( + _param = self._v1_talkers_device_device_id_top_post_serialize( authorization=authorization, - id=id, + device_id=device_id, + v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117572,7 +118383,7 @@ def v1_users_id_groups_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsGetResponse", + '200': "V1TalkersDeviceDeviceIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -117586,10 +118397,11 @@ def v1_users_id_groups_get_with_http_info( @validate_call - def v1_users_id_groups_get_without_preload_content( + def v1_talkers_device_device_id_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + device_id: StrictInt, + v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117603,14 +118415,16 @@ def v1_users_id_groups_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_groups_get + """v1_talkers_device_device_id_top_post - Get all groups that a specific user belongs to. + Get top talkers for a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param device_id: (required) + :type device_id: int + :param v1_talkers_device_device_id_top_post_request: (required) + :type v1_talkers_device_device_id_top_post_request: V1TalkersDeviceDeviceIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117633,9 +118447,10 @@ def v1_users_id_groups_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_get_serialize( + _param = self._v1_talkers_device_device_id_top_post_serialize( authorization=authorization, - id=id, + device_id=device_id, + v1_talkers_device_device_id_top_post_request=v1_talkers_device_device_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117643,7 +118458,7 @@ def v1_users_id_groups_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsGetResponse", + '200': "V1TalkersDeviceDeviceIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -117652,10 +118467,11 @@ def v1_users_id_groups_get_without_preload_content( return response_data.response - def _v1_users_id_groups_get_serialize( + def _v1_talkers_device_device_id_top_post_serialize( self, authorization, - id, + device_id, + v1_talkers_device_device_id_top_post_request, _request_auth, _content_type, _headers, @@ -117677,14 +118493,16 @@ def _v1_users_id_groups_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_talkers_device_device_id_top_post_request is not None: + _body_params = v1_talkers_device_device_id_top_post_request # set the HTTP header `Accept` @@ -117695,6 +118513,19 @@ def _v1_users_id_groups_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -117702,8 +118533,8 @@ def _v1_users_id_groups_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/users/{id}/groups', + method='POST', + resource_path='/v1/talkers/device/{deviceId}/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117720,10 +118551,11 @@ def _v1_users_id_groups_get_serialize( @validate_call - def v1_users_id_groups_root_get( + def v1_talkers_site_site_id_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + site_id: StrictInt, + v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117736,15 +118568,17 @@ def v1_users_id_groups_root_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersIdGroupsRootGetResponse: - """v1_users_id_groups_root_get + ) -> V1TalkersSiteSiteIdTopPostResponse: + """v1_talkers_site_site_id_top_post - Get root-level groups for a user. + Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param site_id: (required) + :type site_id: int + :param v1_talkers_site_site_id_top_post_request: (required) + :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117767,9 +118601,10 @@ def v1_users_id_groups_root_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_root_get_serialize( + _param = self._v1_talkers_site_site_id_top_post_serialize( authorization=authorization, - id=id, + site_id=site_id, + v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117777,7 +118612,7 @@ def v1_users_id_groups_root_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsRootGetResponse", + '200': "V1TalkersSiteSiteIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -117791,10 +118626,11 @@ def v1_users_id_groups_root_get( @validate_call - def v1_users_id_groups_root_get_with_http_info( + def v1_talkers_site_site_id_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + site_id: StrictInt, + v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117807,15 +118643,17 @@ def v1_users_id_groups_root_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersIdGroupsRootGetResponse]: - """v1_users_id_groups_root_get + ) -> ApiResponse[V1TalkersSiteSiteIdTopPostResponse]: + """v1_talkers_site_site_id_top_post - Get root-level groups for a user. + Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param site_id: (required) + :type site_id: int + :param v1_talkers_site_site_id_top_post_request: (required) + :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117838,9 +118676,10 @@ def v1_users_id_groups_root_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_root_get_serialize( + _param = self._v1_talkers_site_site_id_top_post_serialize( authorization=authorization, - id=id, + site_id=site_id, + v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117848,7 +118687,7 @@ def v1_users_id_groups_root_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsRootGetResponse", + '200': "V1TalkersSiteSiteIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -117862,10 +118701,11 @@ def v1_users_id_groups_root_get_with_http_info( @validate_call - def v1_users_id_groups_root_get_without_preload_content( + def v1_talkers_site_site_id_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictStr, Field(description="userId")], + site_id: StrictInt, + v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -117879,14 +118719,16 @@ def v1_users_id_groups_root_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_groups_root_get + """v1_talkers_site_site_id_top_post - Get root-level groups for a user. + Get top talkers for a site :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: userId (required) - :type id: str + :param site_id: (required) + :type site_id: int + :param v1_talkers_site_site_id_top_post_request: (required) + :type v1_talkers_site_site_id_top_post_request: V1TalkersSiteSiteIdTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -117909,9 +118751,10 @@ def v1_users_id_groups_root_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_groups_root_get_serialize( + _param = self._v1_talkers_site_site_id_top_post_serialize( authorization=authorization, - id=id, + site_id=site_id, + v1_talkers_site_site_id_top_post_request=v1_talkers_site_site_id_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -117919,7 +118762,7 @@ def v1_users_id_groups_root_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersIdGroupsRootGetResponse", + '200': "V1TalkersSiteSiteIdTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -117928,10 +118771,11 @@ def v1_users_id_groups_root_get_without_preload_content( return response_data.response - def _v1_users_id_groups_root_get_serialize( + def _v1_talkers_site_site_id_top_post_serialize( self, authorization, - id, + site_id, + v1_talkers_site_site_id_top_post_request, _request_auth, _content_type, _headers, @@ -117953,14 +118797,16 @@ def _v1_users_id_groups_root_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_talkers_site_site_id_top_post_request is not None: + _body_params = v1_talkers_site_site_id_top_post_request # set the HTTP header `Accept` @@ -117971,6 +118817,19 @@ def _v1_users_id_groups_root_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -117978,8 +118837,8 @@ def _v1_users_id_groups_root_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/users/{id}/groups/root', + method='POST', + resource_path='/v1/talkers/site/{siteId}/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -117996,11 +118855,10 @@ def _v1_users_id_groups_root_get_serialize( @validate_call - def v1_users_id_verify_patch( + def v1_temp_password_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - body: Dict[str, Any], + v1_temp_password_put_request: V1TempPasswordPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118013,17 +118871,15 @@ def v1_users_id_verify_patch( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_id_verify_patch + ) -> object: + """v1_temp_password_put - Resend account verification email to user. + Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param body: (required) - :type body: object + :param v1_temp_password_put_request: (required) + :type v1_temp_password_put_request: V1TempPasswordPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118046,10 +118902,9 @@ def v1_users_id_verify_patch( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_verify_patch_serialize( + _param = self._v1_temp_password_put_serialize( authorization=authorization, - id=id, - body=body, + v1_temp_password_put_request=v1_temp_password_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118057,7 +118912,7 @@ def v1_users_id_verify_patch( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -118071,11 +118926,10 @@ def v1_users_id_verify_patch( @validate_call - def v1_users_id_verify_patch_with_http_info( + def v1_temp_password_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - body: Dict[str, Any], + v1_temp_password_put_request: V1TempPasswordPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118088,17 +118942,15 @@ def v1_users_id_verify_patch_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_id_verify_patch + ) -> ApiResponse[object]: + """v1_temp_password_put - Resend account verification email to user. + Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param body: (required) - :type body: object + :param v1_temp_password_put_request: (required) + :type v1_temp_password_put_request: V1TempPasswordPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118121,10 +118973,9 @@ def v1_users_id_verify_patch_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_verify_patch_serialize( + _param = self._v1_temp_password_put_serialize( authorization=authorization, - id=id, - body=body, + v1_temp_password_put_request=v1_temp_password_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118132,7 +118983,7 @@ def v1_users_id_verify_patch_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -118146,11 +118997,10 @@ def v1_users_id_verify_patch_with_http_info( @validate_call - def v1_users_id_verify_patch_without_preload_content( + def v1_temp_password_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: StrictStr, - body: Dict[str, Any], + v1_temp_password_put_request: V1TempPasswordPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118164,16 +119014,14 @@ def v1_users_id_verify_patch_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_id_verify_patch + """v1_temp_password_put - Resend account verification email to user. + Generate and send temporary passwords to multiple emails for B2B service access. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: (required) - :type id: str - :param body: (required) - :type body: object + :param v1_temp_password_put_request: (required) + :type v1_temp_password_put_request: V1TempPasswordPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118196,10 +119044,9 @@ def v1_users_id_verify_patch_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_id_verify_patch_serialize( + _param = self._v1_temp_password_put_serialize( authorization=authorization, - id=id, - body=body, + v1_temp_password_put_request=v1_temp_password_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118207,7 +119054,7 @@ def v1_users_id_verify_patch_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '201': "object", } response_data = self.api_client.call_api( *_param, @@ -118216,11 +119063,10 @@ def v1_users_id_verify_patch_without_preload_content( return response_data.response - def _v1_users_id_verify_patch_serialize( + def _v1_temp_password_put_serialize( self, authorization, - id, - body, + v1_temp_password_put_request, _request_auth, _content_type, _headers, @@ -118242,18 +119088,23 @@ def _v1_users_id_verify_patch_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if body is not None: - _body_params = body + if v1_temp_password_put_request is not None: + _body_params = v1_temp_password_put_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -118275,8 +119126,8 @@ def _v1_users_id_verify_patch_serialize( ] return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1/users/{id}/verify', + method='PUT', + resource_path='/v1/temp/password', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -118293,10 +119144,11 @@ def _v1_users_id_verify_patch_serialize( @validate_call - def v1_users_passwords_expire_post( + def v1_troubleshooting_device_device_id_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + device_id: StrictInt, + v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118309,15 +119161,16 @@ def v1_users_passwords_expire_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1UsersPasswordsExpirePostResponse: - """v1_users_passwords_expire_post + ) -> V1TroubleshootingDeviceDeviceIdPostResponse: + """v1_troubleshooting_device_device_id_post - Expire passwords for multiple users and send password reset emails (Graphiant cloud only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_passwords_expire_post_request: (required) - :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param device_id: (required) + :type device_id: int + :param v1_troubleshooting_device_device_id_post_request: (required) + :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118340,9 +119193,10 @@ def v1_users_passwords_expire_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_passwords_expire_post_serialize( + _param = self._v1_troubleshooting_device_device_id_post_serialize( authorization=authorization, - v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + device_id=device_id, + v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118350,7 +119204,7 @@ def v1_users_passwords_expire_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersPasswordsExpirePostResponse", + '200': "V1TroubleshootingDeviceDeviceIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118364,10 +119218,11 @@ def v1_users_passwords_expire_post( @validate_call - def v1_users_passwords_expire_post_with_http_info( + def v1_troubleshooting_device_device_id_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + device_id: StrictInt, + v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118380,15 +119235,16 @@ def v1_users_passwords_expire_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1UsersPasswordsExpirePostResponse]: - """v1_users_passwords_expire_post + ) -> ApiResponse[V1TroubleshootingDeviceDeviceIdPostResponse]: + """v1_troubleshooting_device_device_id_post - Expire passwords for multiple users and send password reset emails (Graphiant cloud only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_passwords_expire_post_request: (required) - :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param device_id: (required) + :type device_id: int + :param v1_troubleshooting_device_device_id_post_request: (required) + :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118411,9 +119267,10 @@ def v1_users_passwords_expire_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_passwords_expire_post_serialize( + _param = self._v1_troubleshooting_device_device_id_post_serialize( authorization=authorization, - v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + device_id=device_id, + v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118421,7 +119278,7 @@ def v1_users_passwords_expire_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersPasswordsExpirePostResponse", + '200': "V1TroubleshootingDeviceDeviceIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118435,10 +119292,11 @@ def v1_users_passwords_expire_post_with_http_info( @validate_call - def v1_users_passwords_expire_post_without_preload_content( + def v1_troubleshooting_device_device_id_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + device_id: StrictInt, + v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118452,14 +119310,15 @@ def v1_users_passwords_expire_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_passwords_expire_post + """v1_troubleshooting_device_device_id_post - Expire passwords for multiple users and send password reset emails (Graphiant cloud only). :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_passwords_expire_post_request: (required) - :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param device_id: (required) + :type device_id: int + :param v1_troubleshooting_device_device_id_post_request: (required) + :type v1_troubleshooting_device_device_id_post_request: V1TroubleshootingDeviceDeviceIdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118482,9 +119341,10 @@ def v1_users_passwords_expire_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_passwords_expire_post_serialize( + _param = self._v1_troubleshooting_device_device_id_post_serialize( authorization=authorization, - v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + device_id=device_id, + v1_troubleshooting_device_device_id_post_request=v1_troubleshooting_device_device_id_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118492,7 +119352,7 @@ def v1_users_passwords_expire_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1UsersPasswordsExpirePostResponse", + '200': "V1TroubleshootingDeviceDeviceIdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -118501,10 +119361,11 @@ def v1_users_passwords_expire_post_without_preload_content( return response_data.response - def _v1_users_passwords_expire_post_serialize( + def _v1_troubleshooting_device_device_id_post_serialize( self, authorization, - v1_users_passwords_expire_post_request, + device_id, + v1_troubleshooting_device_device_id_post_request, _request_auth, _content_type, _headers, @@ -118526,14 +119387,16 @@ def _v1_users_passwords_expire_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_users_passwords_expire_post_request is not None: - _body_params = v1_users_passwords_expire_post_request + if v1_troubleshooting_device_device_id_post_request is not None: + _body_params = v1_troubleshooting_device_device_id_post_request # set the HTTP header `Accept` @@ -118565,7 +119428,7 @@ def _v1_users_passwords_expire_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1/users/passwords/expire', + resource_path='/v1/troubleshooting/device/{deviceId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -118582,10 +119445,10 @@ def _v1_users_passwords_expire_post_serialize( @validate_call - def v1_users_put( + def v1_troubleshooting_enterprise_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_put_request: V1UsersPutRequest, + v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118598,15 +119461,14 @@ def v1_users_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> None: - """v1_users_put + ) -> V1TroubleshootingEnterprisePostResponse: + """v1_troubleshooting_enterprise_post - Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_put_request: (required) - :type v1_users_put_request: V1UsersPutRequest + :param v1_troubleshooting_enterprise_post_request: (required) + :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118629,9 +119491,9 @@ def v1_users_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_put_serialize( + _param = self._v1_troubleshooting_enterprise_post_serialize( authorization=authorization, - v1_users_put_request=v1_users_put_request, + v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118639,7 +119501,7 @@ def v1_users_put( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1TroubleshootingEnterprisePostResponse", } response_data = self.api_client.call_api( *_param, @@ -118653,10 +119515,10 @@ def v1_users_put( @validate_call - def v1_users_put_with_http_info( + def v1_troubleshooting_enterprise_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_put_request: V1UsersPutRequest, + v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118669,15 +119531,14 @@ def v1_users_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[None]: - """v1_users_put + ) -> ApiResponse[V1TroubleshootingEnterprisePostResponse]: + """v1_troubleshooting_enterprise_post - Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_put_request: (required) - :type v1_users_put_request: V1UsersPutRequest + :param v1_troubleshooting_enterprise_post_request: (required) + :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118700,9 +119561,9 @@ def v1_users_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_put_serialize( + _param = self._v1_troubleshooting_enterprise_post_serialize( authorization=authorization, - v1_users_put_request=v1_users_put_request, + v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118710,7 +119571,7 @@ def v1_users_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1TroubleshootingEnterprisePostResponse", } response_data = self.api_client.call_api( *_param, @@ -118724,10 +119585,10 @@ def v1_users_put_with_http_info( @validate_call - def v1_users_put_without_preload_content( + def v1_troubleshooting_enterprise_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_users_put_request: V1UsersPutRequest, + v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118741,14 +119602,13 @@ def v1_users_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_users_put + """v1_troubleshooting_enterprise_post - Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_users_put_request: (required) - :type v1_users_put_request: V1UsersPutRequest + :param v1_troubleshooting_enterprise_post_request: (required) + :type v1_troubleshooting_enterprise_post_request: V1TroubleshootingEnterprisePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118771,9 +119631,9 @@ def v1_users_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_users_put_serialize( + _param = self._v1_troubleshooting_enterprise_post_serialize( authorization=authorization, - v1_users_put_request=v1_users_put_request, + v1_troubleshooting_enterprise_post_request=v1_troubleshooting_enterprise_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118781,7 +119641,7 @@ def v1_users_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '204': None, + '200': "V1TroubleshootingEnterprisePostResponse", } response_data = self.api_client.call_api( *_param, @@ -118790,10 +119650,10 @@ def v1_users_put_without_preload_content( return response_data.response - def _v1_users_put_serialize( + def _v1_troubleshooting_enterprise_post_serialize( self, authorization, - v1_users_put_request, + v1_troubleshooting_enterprise_post_request, _request_auth, _content_type, _headers, @@ -118821,10 +119681,17 @@ def _v1_users_put_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_users_put_request is not None: - _body_params = v1_users_put_request + if v1_troubleshooting_enterprise_post_request is not None: + _body_params = v1_troubleshooting_enterprise_post_request + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) # set the HTTP header `Content-Type` if _content_type: @@ -118846,8 +119713,8 @@ def _v1_users_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v1/users', + method='POST', + resource_path='/v1/troubleshooting/enterprise', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -118864,10 +119731,9 @@ def _v1_users_put_serialize( @validate_call - def v1_version_post( + def v1_troubleshooting_filter_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_version_post_request: V1VersionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118880,15 +119746,12 @@ def v1_version_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1VersionPostResponse: - """v1_version_post + ) -> V1TroubleshootingFilterGetResponse: + """v1_troubleshooting_filter_get - Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_version_post_request: (required) - :type v1_version_post_request: V1VersionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118911,9 +119774,8 @@ def v1_version_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_version_post_serialize( + _param = self._v1_troubleshooting_filter_get_serialize( authorization=authorization, - v1_version_post_request=v1_version_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118921,7 +119783,7 @@ def v1_version_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VersionPostResponse", + '200': "V1TroubleshootingFilterGetResponse", } response_data = self.api_client.call_api( *_param, @@ -118935,10 +119797,9 @@ def v1_version_post( @validate_call - def v1_version_post_with_http_info( + def v1_troubleshooting_filter_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_version_post_request: V1VersionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -118951,15 +119812,12 @@ def v1_version_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1VersionPostResponse]: - """v1_version_post + ) -> ApiResponse[V1TroubleshootingFilterGetResponse]: + """v1_troubleshooting_filter_get - Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_version_post_request: (required) - :type v1_version_post_request: V1VersionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -118982,9 +119840,8 @@ def v1_version_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_version_post_serialize( + _param = self._v1_troubleshooting_filter_get_serialize( authorization=authorization, - v1_version_post_request=v1_version_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -118992,7 +119849,7 @@ def v1_version_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VersionPostResponse", + '200': "V1TroubleshootingFilterGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119006,10 +119863,9 @@ def v1_version_post_with_http_info( @validate_call - def v1_version_post_without_preload_content( + def v1_troubleshooting_filter_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_version_post_request: V1VersionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119023,14 +119879,11 @@ def v1_version_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_version_post + """v1_troubleshooting_filter_get - Update device config version :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v1_version_post_request: (required) - :type v1_version_post_request: V1VersionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -119053,9 +119906,8 @@ def v1_version_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_version_post_serialize( + _param = self._v1_troubleshooting_filter_get_serialize( authorization=authorization, - v1_version_post_request=v1_version_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119063,7 +119915,7 @@ def v1_version_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1VersionPostResponse", + '200': "V1TroubleshootingFilterGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119072,10 +119924,9 @@ def v1_version_post_without_preload_content( return response_data.response - def _v1_version_post_serialize( + def _v1_troubleshooting_filter_get_serialize( self, authorization, - v1_version_post_request, _request_auth, _content_type, _headers, @@ -119103,8 +119954,6 @@ def _v1_version_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v1_version_post_request is not None: - _body_params = v1_version_post_request # set the HTTP header `Accept` @@ -119115,19 +119964,6 @@ def _v1_version_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -119135,8 +119971,8 @@ def _v1_version_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/version', + method='GET', + resource_path='/v1/troubleshooting/filter', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -119153,7 +119989,7 @@ def _v1_version_post_serialize( @validate_call - def v1_zones_get( + def v1_troubleshooting_site_connectivity_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -119168,10 +120004,9 @@ def v1_zones_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ZonesGetResponse: - """v1_zones_get + ) -> V1TroubleshootingSiteConnectivityStatusGetResponse: + """v1_troubleshooting_site_connectivity_status_get - Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -119197,7 +120032,7 @@ def v1_zones_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_zones_get_serialize( + _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -119206,7 +120041,7 @@ def v1_zones_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZonesGetResponse", + '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119220,7 +120055,7 @@ def v1_zones_get( @validate_call - def v1_zones_get_with_http_info( + def v1_troubleshooting_site_connectivity_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -119235,10 +120070,9 @@ def v1_zones_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ZonesGetResponse]: - """v1_zones_get + ) -> ApiResponse[V1TroubleshootingSiteConnectivityStatusGetResponse]: + """v1_troubleshooting_site_connectivity_status_get - Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -119264,7 +120098,7 @@ def v1_zones_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_zones_get_serialize( + _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -119273,7 +120107,7 @@ def v1_zones_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZonesGetResponse", + '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119287,7 +120121,7 @@ def v1_zones_get_with_http_info( @validate_call - def v1_zones_get_without_preload_content( + def v1_troubleshooting_site_connectivity_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -119303,9 +120137,8 @@ def v1_zones_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_zones_get + """v1_troubleshooting_site_connectivity_status_get - Get Zones for the current enterprise :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -119331,7 +120164,7 @@ def v1_zones_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_zones_get_serialize( + _param = self._v1_troubleshooting_site_connectivity_status_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -119340,7 +120173,7 @@ def v1_zones_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZonesGetResponse", + '200': "V1TroubleshootingSiteConnectivityStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119349,7 +120182,7 @@ def v1_zones_get_without_preload_content( return response_data.response - def _v1_zones_get_serialize( + def _v1_troubleshooting_site_connectivity_status_get_serialize( self, authorization, _request_auth, @@ -119397,7 +120230,7 @@ def _v1_zones_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/zones', + resource_path='/v1/troubleshooting/site-connectivity-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -119414,19 +120247,10 @@ def _v1_zones_get_serialize( @validate_call - def v1_ztagent_agents_get( + def v1_troubleshooting_site_site_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - created_date_end: Optional[StrictStr] = None, - created_date_start: Optional[StrictStr] = None, - endpoints: Optional[List[StrictStr]] = None, - hostname: Optional[StrictStr] = None, - limit: Optional[StrictInt] = None, - machine_id: Optional[StrictStr] = None, - page: Optional[StrictInt] = None, - tenant_id: Optional[StrictStr] = None, - updated_date_end: Optional[StrictStr] = None, - updated_date_start: Optional[StrictStr] = None, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119439,33 +120263,14 @@ def v1_ztagent_agents_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ZtagentAgentsGetResponse: - """v1_ztagent_agents_get + ) -> V1TroubleshootingSiteSiteIdGetResponse: + """v1_troubleshooting_site_site_id_get - List Conceal agents (devices) with pagination and filters. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param created_date_end: - :type created_date_end: str - :param created_date_start: - :type created_date_start: str - :param endpoints: - :type endpoints: List[str] - :param hostname: - :type hostname: str - :param limit: - :type limit: int - :param machine_id: - :type machine_id: str - :param page: - :type page: int - :param tenant_id: - :type tenant_id: str - :param updated_date_end: - :type updated_date_end: str - :param updated_date_start: - :type updated_date_start: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -119488,18 +120293,9 @@ def v1_ztagent_agents_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_agents_get_serialize( + _param = self._v1_troubleshooting_site_site_id_get_serialize( authorization=authorization, - created_date_end=created_date_end, - created_date_start=created_date_start, - endpoints=endpoints, - hostname=hostname, - limit=limit, - machine_id=machine_id, - page=page, - tenant_id=tenant_id, - updated_date_end=updated_date_end, - updated_date_start=updated_date_start, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119507,7 +120303,7 @@ def v1_ztagent_agents_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentAgentsGetResponse", + '200': "V1TroubleshootingSiteSiteIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119521,19 +120317,10 @@ def v1_ztagent_agents_get( @validate_call - def v1_ztagent_agents_get_with_http_info( + def v1_troubleshooting_site_site_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - created_date_end: Optional[StrictStr] = None, - created_date_start: Optional[StrictStr] = None, - endpoints: Optional[List[StrictStr]] = None, - hostname: Optional[StrictStr] = None, - limit: Optional[StrictInt] = None, - machine_id: Optional[StrictStr] = None, - page: Optional[StrictInt] = None, - tenant_id: Optional[StrictStr] = None, - updated_date_end: Optional[StrictStr] = None, - updated_date_start: Optional[StrictStr] = None, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119546,33 +120333,14 @@ def v1_ztagent_agents_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ZtagentAgentsGetResponse]: - """v1_ztagent_agents_get + ) -> ApiResponse[V1TroubleshootingSiteSiteIdGetResponse]: + """v1_troubleshooting_site_site_id_get - List Conceal agents (devices) with pagination and filters. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param created_date_end: - :type created_date_end: str - :param created_date_start: - :type created_date_start: str - :param endpoints: - :type endpoints: List[str] - :param hostname: - :type hostname: str - :param limit: - :type limit: int - :param machine_id: - :type machine_id: str - :param page: - :type page: int - :param tenant_id: - :type tenant_id: str - :param updated_date_end: - :type updated_date_end: str - :param updated_date_start: - :type updated_date_start: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -119595,18 +120363,9 @@ def v1_ztagent_agents_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_agents_get_serialize( + _param = self._v1_troubleshooting_site_site_id_get_serialize( authorization=authorization, - created_date_end=created_date_end, - created_date_start=created_date_start, - endpoints=endpoints, - hostname=hostname, - limit=limit, - machine_id=machine_id, - page=page, - tenant_id=tenant_id, - updated_date_end=updated_date_end, - updated_date_start=updated_date_start, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119614,7 +120373,7 @@ def v1_ztagent_agents_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentAgentsGetResponse", + '200': "V1TroubleshootingSiteSiteIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119628,19 +120387,10 @@ def v1_ztagent_agents_get_with_http_info( @validate_call - def v1_ztagent_agents_get_without_preload_content( + def v1_troubleshooting_site_site_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - created_date_end: Optional[StrictStr] = None, - created_date_start: Optional[StrictStr] = None, - endpoints: Optional[List[StrictStr]] = None, - hostname: Optional[StrictStr] = None, - limit: Optional[StrictInt] = None, - machine_id: Optional[StrictStr] = None, - page: Optional[StrictInt] = None, - tenant_id: Optional[StrictStr] = None, - updated_date_end: Optional[StrictStr] = None, - updated_date_start: Optional[StrictStr] = None, + site_id: StrictInt, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119654,32 +120404,13 @@ def v1_ztagent_agents_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_ztagent_agents_get + """v1_troubleshooting_site_site_id_get - List Conceal agents (devices) with pagination and filters. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param created_date_end: - :type created_date_end: str - :param created_date_start: - :type created_date_start: str - :param endpoints: - :type endpoints: List[str] - :param hostname: - :type hostname: str - :param limit: - :type limit: int - :param machine_id: - :type machine_id: str - :param page: - :type page: int - :param tenant_id: - :type tenant_id: str - :param updated_date_end: - :type updated_date_end: str - :param updated_date_start: - :type updated_date_start: str + :param site_id: (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -119702,18 +120433,9 @@ def v1_ztagent_agents_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_agents_get_serialize( + _param = self._v1_troubleshooting_site_site_id_get_serialize( authorization=authorization, - created_date_end=created_date_end, - created_date_start=created_date_start, - endpoints=endpoints, - hostname=hostname, - limit=limit, - machine_id=machine_id, - page=page, - tenant_id=tenant_id, - updated_date_end=updated_date_end, - updated_date_start=updated_date_start, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119721,7 +120443,7 @@ def v1_ztagent_agents_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentAgentsGetResponse", + '200': "V1TroubleshootingSiteSiteIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -119730,19 +120452,10 @@ def v1_ztagent_agents_get_without_preload_content( return response_data.response - def _v1_ztagent_agents_get_serialize( + def _v1_troubleshooting_site_site_id_get_serialize( self, authorization, - created_date_end, - created_date_start, - endpoints, - hostname, - limit, - machine_id, - page, - tenant_id, - updated_date_end, - updated_date_start, + site_id, _request_auth, _content_type, _headers, @@ -119752,7 +120465,6 @@ def _v1_ztagent_agents_get_serialize( _host = None _collection_formats: Dict[str, str] = { - 'endpoints': 'multi', } _path_params: Dict[str, str] = {} @@ -119765,47 +120477,9 @@ def _v1_ztagent_agents_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if site_id is not None: + _path_params['siteId'] = site_id # process the query parameters - if created_date_end is not None: - - _query_params.append(('createdDateEnd', created_date_end)) - - if created_date_start is not None: - - _query_params.append(('createdDateStart', created_date_start)) - - if endpoints is not None: - - _query_params.append(('endpoints', endpoints)) - - if hostname is not None: - - _query_params.append(('hostname', hostname)) - - if limit is not None: - - _query_params.append(('limit', limit)) - - if machine_id is not None: - - _query_params.append(('machineId', machine_id)) - - if page is not None: - - _query_params.append(('page', page)) - - if tenant_id is not None: - - _query_params.append(('tenantId', tenant_id)) - - if updated_date_end is not None: - - _query_params.append(('updatedDateEnd', updated_date_end)) - - if updated_date_start is not None: - - _query_params.append(('updatedDateStart', updated_date_start)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -119829,7 +120503,7 @@ def _v1_ztagent_agents_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/ztagent/agents', + resource_path='/v1/troubleshooting/site/{siteId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -119846,10 +120520,10 @@ def _v1_ztagent_agents_get_serialize( @validate_call - def v1_ztagent_bindings_get( + def v1_troubleshooting_top_sites_by_alerts_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Optional[StrictInt] = None, + v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119862,15 +120536,14 @@ def v1_ztagent_bindings_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V1ZtagentBindingsGetResponse: - """v1_ztagent_bindings_get + ) -> V1TroubleshootingTopSitesByAlertsPostResponse: + """v1_troubleshooting_top_sites_by_alerts_post - Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: - :type enterprise_id: int + :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) + :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -119893,9 +120566,9 @@ def v1_ztagent_bindings_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_get_serialize( + _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( authorization=authorization, - enterprise_id=enterprise_id, + v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119903,7 +120576,7 @@ def v1_ztagent_bindings_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentBindingsGetResponse", + '200': "V1TroubleshootingTopSitesByAlertsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -119917,10 +120590,10 @@ def v1_ztagent_bindings_get( @validate_call - def v1_ztagent_bindings_get_with_http_info( + def v1_troubleshooting_top_sites_by_alerts_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Optional[StrictInt] = None, + v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -119933,15 +120606,14 @@ def v1_ztagent_bindings_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V1ZtagentBindingsGetResponse]: - """v1_ztagent_bindings_get + ) -> ApiResponse[V1TroubleshootingTopSitesByAlertsPostResponse]: + """v1_troubleshooting_top_sites_by_alerts_post - Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: - :type enterprise_id: int + :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) + :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -119964,9 +120636,9 @@ def v1_ztagent_bindings_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_get_serialize( + _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( authorization=authorization, - enterprise_id=enterprise_id, + v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -119974,7 +120646,7 @@ def v1_ztagent_bindings_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentBindingsGetResponse", + '200': "V1TroubleshootingTopSitesByAlertsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -119988,10 +120660,10 @@ def v1_ztagent_bindings_get_with_http_info( @validate_call - def v1_ztagent_bindings_get_without_preload_content( + def v1_troubleshooting_top_sites_by_alerts_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Optional[StrictInt] = None, + v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120005,14 +120677,13 @@ def v1_ztagent_bindings_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v1_ztagent_bindings_get + """v1_troubleshooting_top_sites_by_alerts_post - Return the ZTAgent integration binding for an enterprise. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: - :type enterprise_id: int + :param v1_troubleshooting_top_sites_by_alerts_post_request: (required) + :type v1_troubleshooting_top_sites_by_alerts_post_request: V1TroubleshootingTopSitesByAlertsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -120035,9 +120706,9 @@ def v1_ztagent_bindings_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_get_serialize( + _param = self._v1_troubleshooting_top_sites_by_alerts_post_serialize( authorization=authorization, - enterprise_id=enterprise_id, + v1_troubleshooting_top_sites_by_alerts_post_request=v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120045,7 +120716,7 @@ def v1_ztagent_bindings_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V1ZtagentBindingsGetResponse", + '200': "V1TroubleshootingTopSitesByAlertsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -120054,10 +120725,10 @@ def v1_ztagent_bindings_get_without_preload_content( return response_data.response - def _v1_ztagent_bindings_get_serialize( + def _v1_troubleshooting_top_sites_by_alerts_post_serialize( self, authorization, - enterprise_id, + v1_troubleshooting_top_sites_by_alerts_post_request, _request_auth, _content_type, _headers, @@ -120080,15 +120751,13 @@ def _v1_ztagent_bindings_get_serialize( # process the path parameters # process the query parameters - if enterprise_id is not None: - - _query_params.append(('enterpriseId', enterprise_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v1_troubleshooting_top_sites_by_alerts_post_request is not None: + _body_params = v1_troubleshooting_top_sites_by_alerts_post_request # set the HTTP header `Accept` @@ -120099,6 +120768,19 @@ def _v1_ztagent_bindings_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -120106,8 +120788,8 @@ def _v1_ztagent_bindings_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/ztagent/bindings', + method='POST', + resource_path='/v1/troubleshooting/top-sites-by-alerts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -120124,10 +120806,11 @@ def _v1_ztagent_bindings_get_serialize( @validate_call - def v1_ztagent_bindings_put( + def v1_users_email_password_patch( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Password reset token")], + v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120140,15 +120823,17 @@ def v1_ztagent_bindings_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v1_ztagent_bindings_put + ) -> None: + """v1_users_email_password_patch - Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). + Change password for a user using email and token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param v1_ztagent_bindings_put_request: (required) - :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest + :param email: User email address (required) + :type email: str + :param token: Password reset token (required) + :type token: str + :param v1_users_email_password_patch_request: (required) + :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -120171,9 +120856,10 @@ def v1_ztagent_bindings_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v1_ztagent_bindings_put_serialize( - authorization=authorization, - v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, + _param = self._v1_users_email_password_patch_serialize( + email=email, + token=token, + v1_users_email_password_patch_request=v1_users_email_password_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120181,7 +120867,10 @@ def v1_ztagent_bindings_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '204': None, + '400': None, + '403': None, + '500': None, } response_data = self.api_client.call_api( *_param, @@ -120195,10 +120884,11 @@ def v1_ztagent_bindings_put( @validate_call - def v1_ztagent_bindings_put_with_http_info( + def v1_users_email_password_patch_with_http_info( self, - authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Password reset token")], + v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120211,15 +120901,4634 @@ def v1_ztagent_bindings_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v1_ztagent_bindings_put + ) -> ApiResponse[None]: + """v1_users_email_password_patch - Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). + Change password for a user using email and token - :param authorization: Bearer token. Format: Bearer (required) - :type authorization: str - :param v1_ztagent_bindings_put_request: (required) - :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest + :param email: User email address (required) + :type email: str + :param token: Password reset token (required) + :type token: str + :param v1_users_email_password_patch_request: (required) + :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_password_patch_serialize( + email=email, + token=token, + v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_email_password_patch_without_preload_content( + self, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Password reset token")], + v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_email_password_patch + + Change password for a user using email and token + + :param email: User email address (required) + :type email: str + :param token: Password reset token (required) + :type token: str + :param v1_users_email_password_patch_request: (required) + :type v1_users_email_password_patch_request: V1UsersEmailPasswordPatchRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_password_patch_serialize( + email=email, + token=token, + v1_users_email_password_patch_request=v1_users_email_password_patch_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_email_password_patch_serialize( + self, + email, + token, + v1_users_email_password_patch_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if email is not None: + _path_params['email'] = email + # process the query parameters + if token is not None: + + _query_params.append(('token', token)) + + # process the header parameters + # process the form parameters + # process the body parameter + if v1_users_email_password_patch_request is not None: + _body_params = v1_users_email_password_patch_request + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/v1/users/{email}/password', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_email_recovery_get( + self, + email: Annotated[StrictStr, Field(description="User email address")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_users_email_recovery_get + + Send password recovery email to user + + :param email: User email address (required) + :type email: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_recovery_get_serialize( + email=email, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': None, + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_email_recovery_get_with_http_info( + self, + email: Annotated[StrictStr, Field(description="User email address")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_users_email_recovery_get + + Send password recovery email to user + + :param email: User email address (required) + :type email: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_recovery_get_serialize( + email=email, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': None, + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_email_recovery_get_without_preload_content( + self, + email: Annotated[StrictStr, Field(description="User email address")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_email_recovery_get + + Send password recovery email to user + + :param email: User email address (required) + :type email: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_recovery_get_serialize( + email=email, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': None, + '400': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_email_recovery_get_serialize( + self, + email, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if email is not None: + _path_params['email'] = email + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/users/{email}/recovery', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_email_verified_patch( + self, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Email verification token")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_users_email_verified_patch + + Verify user email using verification token + + :param email: User email address (required) + :type email: str + :param token: Email verification token (required) + :type token: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_verified_patch_serialize( + email=email, + token=token, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_email_verified_patch_with_http_info( + self, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Email verification token")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_users_email_verified_patch + + Verify user email using verification token + + :param email: User email address (required) + :type email: str + :param token: Email verification token (required) + :type token: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_verified_patch_serialize( + email=email, + token=token, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_email_verified_patch_without_preload_content( + self, + email: Annotated[StrictStr, Field(description="User email address")], + token: Annotated[StrictStr, Field(description="Email verification token")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_email_verified_patch + + Verify user email using verification token + + :param email: User email address (required) + :type email: str + :param token: Email verification token (required) + :type token: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_email_verified_patch_serialize( + email=email, + token=token, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': None, + '403': None, + '500': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_email_verified_patch_serialize( + self, + email, + token, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if email is not None: + _path_params['email'] = email + # process the query parameters + if token is not None: + + _query_params.append(('token', token)) + + # process the header parameters + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/v1/users/{email}/verified', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1UsersGetResponse: + """v1_users_get + + Get user information by user IDs with detailed profile data. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1UsersGetResponse]: + """v1_users_get + + Get user information by user IDs with detailed profile data. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_get + + Get user information by user IDs with detailed profile data. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/users', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_id_delete( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_users_id_delete + + Delete user account. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_delete_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_id_delete_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_users_id_delete + + Delete user account. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_delete_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_id_delete_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_id_delete + + Delete user account. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_delete_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_id_delete_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v1/users/{id}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_id_enterprises_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1UsersIdEnterprisesGetResponse: + """v1_users_id_enterprises_get + + Get all enterprises a specific user can access. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_enterprises_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdEnterprisesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_id_enterprises_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1UsersIdEnterprisesGetResponse]: + """v1_users_id_enterprises_get + + Get all enterprises a specific user can access. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_enterprises_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdEnterprisesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_id_enterprises_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_id_enterprises_get + + Get all enterprises a specific user can access. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_enterprises_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdEnterprisesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_id_enterprises_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/users/{id}/enterprises', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_id_groups_enterprises_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1UsersIdGroupsEnterprisesGetResponse: + """v1_users_id_groups_enterprises_get + + Get enterprise-specific groups for a user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_enterprises_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsEnterprisesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_id_groups_enterprises_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1UsersIdGroupsEnterprisesGetResponse]: + """v1_users_id_groups_enterprises_get + + Get enterprise-specific groups for a user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_enterprises_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsEnterprisesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_id_groups_enterprises_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_id_groups_enterprises_get + + Get enterprise-specific groups for a user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_enterprises_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsEnterprisesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_id_groups_enterprises_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/users/{id}/groups/enterprises', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_id_groups_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1UsersIdGroupsGetResponse: + """v1_users_id_groups_get + + Get all groups that a specific user belongs to. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_id_groups_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1UsersIdGroupsGetResponse]: + """v1_users_id_groups_get + + Get all groups that a specific user belongs to. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_id_groups_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_id_groups_get + + Get all groups that a specific user belongs to. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_id_groups_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/users/{id}/groups', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_id_groups_root_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1UsersIdGroupsRootGetResponse: + """v1_users_id_groups_root_get + + Get root-level groups for a user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_root_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsRootGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_id_groups_root_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1UsersIdGroupsRootGetResponse]: + """v1_users_id_groups_root_get + + Get root-level groups for a user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_root_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsRootGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_id_groups_root_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: Annotated[StrictStr, Field(description="userId")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_id_groups_root_get + + Get root-level groups for a user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: userId (required) + :type id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_groups_root_get_serialize( + authorization=authorization, + id=id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersIdGroupsRootGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_id_groups_root_get_serialize( + self, + authorization, + id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/users/{id}/groups/root', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_id_verify_patch( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_users_id_verify_patch + + Resend account verification email to user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_verify_patch_serialize( + authorization=authorization, + id=id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_id_verify_patch_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_users_id_verify_patch + + Resend account verification email to user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_verify_patch_serialize( + authorization=authorization, + id=id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_id_verify_patch_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + id: StrictStr, + body: Dict[str, Any], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_id_verify_patch + + Resend account verification email to user. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param id: (required) + :type id: str + :param body: (required) + :type body: object + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_id_verify_patch_serialize( + authorization=authorization, + id=id, + body=body, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_id_verify_patch_serialize( + self, + authorization, + id, + body, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if id is not None: + _path_params['id'] = id + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if body is not None: + _body_params = body + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/v1/users/{id}/verify', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_passwords_expire_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1UsersPasswordsExpirePostResponse: + """v1_users_passwords_expire_post + + Expire passwords for multiple users and send password reset emails (Graphiant cloud only). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_users_passwords_expire_post_request: (required) + :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_passwords_expire_post_serialize( + authorization=authorization, + v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersPasswordsExpirePostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_passwords_expire_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1UsersPasswordsExpirePostResponse]: + """v1_users_passwords_expire_post + + Expire passwords for multiple users and send password reset emails (Graphiant cloud only). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_users_passwords_expire_post_request: (required) + :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_passwords_expire_post_serialize( + authorization=authorization, + v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersPasswordsExpirePostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_passwords_expire_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_passwords_expire_post + + Expire passwords for multiple users and send password reset emails (Graphiant cloud only). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_users_passwords_expire_post_request: (required) + :type v1_users_passwords_expire_post_request: V1UsersPasswordsExpirePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_passwords_expire_post_serialize( + authorization=authorization, + v1_users_passwords_expire_post_request=v1_users_passwords_expire_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1UsersPasswordsExpirePostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_passwords_expire_post_serialize( + self, + authorization, + v1_users_passwords_expire_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_users_passwords_expire_post_request is not None: + _body_params = v1_users_passwords_expire_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/users/passwords/expire', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_users_put( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_users_put_request: V1UsersPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """v1_users_put + + Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_users_put_request: (required) + :type v1_users_put_request: V1UsersPutRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_put_serialize( + authorization=authorization, + v1_users_put_request=v1_users_put_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_users_put_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_users_put_request: V1UsersPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """v1_users_put + + Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_users_put_request: (required) + :type v1_users_put_request: V1UsersPutRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_put_serialize( + authorization=authorization, + v1_users_put_request=v1_users_put_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_users_put_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_users_put_request: V1UsersPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_users_put + + Create a new user account with profile information. Assigns to specified group or default read-only group. Handles both IDP and non-IDP configured enterprises. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_users_put_request: (required) + :type v1_users_put_request: V1UsersPutRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_users_put_serialize( + authorization=authorization, + v1_users_put_request=v1_users_put_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_users_put_serialize( + self, + authorization, + v1_users_put_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_users_put_request is not None: + _body_params = v1_users_put_request + + + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/v1/users', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_version_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_version_post_request: V1VersionPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1VersionPostResponse: + """v1_version_post + + Update device config version + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_version_post_request: (required) + :type v1_version_post_request: V1VersionPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_version_post_serialize( + authorization=authorization, + v1_version_post_request=v1_version_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1VersionPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_version_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_version_post_request: V1VersionPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1VersionPostResponse]: + """v1_version_post + + Update device config version + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_version_post_request: (required) + :type v1_version_post_request: V1VersionPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_version_post_serialize( + authorization=authorization, + v1_version_post_request=v1_version_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1VersionPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_version_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_version_post_request: V1VersionPostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_version_post + + Update device config version + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_version_post_request: (required) + :type v1_version_post_request: V1VersionPostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_version_post_serialize( + authorization=authorization, + v1_version_post_request=v1_version_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1VersionPostResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_version_post_serialize( + self, + authorization, + v1_version_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v1_version_post_request is not None: + _body_params = v1_version_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/version', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_zones_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ZonesGetResponse: + """v1_zones_get + + Get Zones for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_zones_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZonesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_zones_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1ZonesGetResponse]: + """v1_zones_get + + Get Zones for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_zones_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZonesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_zones_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_zones_get + + Get Zones for the current enterprise + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_zones_get_serialize( + authorization=authorization, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZonesGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_zones_get_serialize( + self, + authorization, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/zones', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_ztagent_agents_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + created_date_end: Optional[StrictStr] = None, + created_date_start: Optional[StrictStr] = None, + endpoints: Optional[List[StrictStr]] = None, + hostname: Optional[StrictStr] = None, + limit: Optional[StrictInt] = None, + machine_id: Optional[StrictStr] = None, + page: Optional[StrictInt] = None, + tenant_id: Optional[StrictStr] = None, + updated_date_end: Optional[StrictStr] = None, + updated_date_start: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ZtagentAgentsGetResponse: + """v1_ztagent_agents_get + + List ZTAgent agents (devices) with pagination and filters. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param created_date_end: + :type created_date_end: str + :param created_date_start: + :type created_date_start: str + :param endpoints: + :type endpoints: List[str] + :param hostname: + :type hostname: str + :param limit: + :type limit: int + :param machine_id: + :type machine_id: str + :param page: + :type page: int + :param tenant_id: + :type tenant_id: str + :param updated_date_end: + :type updated_date_end: str + :param updated_date_start: + :type updated_date_start: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_agents_get_serialize( + authorization=authorization, + created_date_end=created_date_end, + created_date_start=created_date_start, + endpoints=endpoints, + hostname=hostname, + limit=limit, + machine_id=machine_id, + page=page, + tenant_id=tenant_id, + updated_date_end=updated_date_end, + updated_date_start=updated_date_start, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZtagentAgentsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_ztagent_agents_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + created_date_end: Optional[StrictStr] = None, + created_date_start: Optional[StrictStr] = None, + endpoints: Optional[List[StrictStr]] = None, + hostname: Optional[StrictStr] = None, + limit: Optional[StrictInt] = None, + machine_id: Optional[StrictStr] = None, + page: Optional[StrictInt] = None, + tenant_id: Optional[StrictStr] = None, + updated_date_end: Optional[StrictStr] = None, + updated_date_start: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1ZtagentAgentsGetResponse]: + """v1_ztagent_agents_get + + List ZTAgent agents (devices) with pagination and filters. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param created_date_end: + :type created_date_end: str + :param created_date_start: + :type created_date_start: str + :param endpoints: + :type endpoints: List[str] + :param hostname: + :type hostname: str + :param limit: + :type limit: int + :param machine_id: + :type machine_id: str + :param page: + :type page: int + :param tenant_id: + :type tenant_id: str + :param updated_date_end: + :type updated_date_end: str + :param updated_date_start: + :type updated_date_start: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_agents_get_serialize( + authorization=authorization, + created_date_end=created_date_end, + created_date_start=created_date_start, + endpoints=endpoints, + hostname=hostname, + limit=limit, + machine_id=machine_id, + page=page, + tenant_id=tenant_id, + updated_date_end=updated_date_end, + updated_date_start=updated_date_start, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZtagentAgentsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_ztagent_agents_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + created_date_end: Optional[StrictStr] = None, + created_date_start: Optional[StrictStr] = None, + endpoints: Optional[List[StrictStr]] = None, + hostname: Optional[StrictStr] = None, + limit: Optional[StrictInt] = None, + machine_id: Optional[StrictStr] = None, + page: Optional[StrictInt] = None, + tenant_id: Optional[StrictStr] = None, + updated_date_end: Optional[StrictStr] = None, + updated_date_start: Optional[StrictStr] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_ztagent_agents_get + + List ZTAgent agents (devices) with pagination and filters. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param created_date_end: + :type created_date_end: str + :param created_date_start: + :type created_date_start: str + :param endpoints: + :type endpoints: List[str] + :param hostname: + :type hostname: str + :param limit: + :type limit: int + :param machine_id: + :type machine_id: str + :param page: + :type page: int + :param tenant_id: + :type tenant_id: str + :param updated_date_end: + :type updated_date_end: str + :param updated_date_start: + :type updated_date_start: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_agents_get_serialize( + authorization=authorization, + created_date_end=created_date_end, + created_date_start=created_date_start, + endpoints=endpoints, + hostname=hostname, + limit=limit, + machine_id=machine_id, + page=page, + tenant_id=tenant_id, + updated_date_end=updated_date_end, + updated_date_start=updated_date_start, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZtagentAgentsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_ztagent_agents_get_serialize( + self, + authorization, + created_date_end, + created_date_start, + endpoints, + hostname, + limit, + machine_id, + page, + tenant_id, + updated_date_end, + updated_date_start, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'endpoints': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if created_date_end is not None: + + _query_params.append(('createdDateEnd', created_date_end)) + + if created_date_start is not None: + + _query_params.append(('createdDateStart', created_date_start)) + + if endpoints is not None: + + _query_params.append(('endpoints', endpoints)) + + if hostname is not None: + + _query_params.append(('hostname', hostname)) + + if limit is not None: + + _query_params.append(('limit', limit)) + + if machine_id is not None: + + _query_params.append(('machineId', machine_id)) + + if page is not None: + + _query_params.append(('page', page)) + + if tenant_id is not None: + + _query_params.append(('tenantId', tenant_id)) + + if updated_date_end is not None: + + _query_params.append(('updatedDateEnd', updated_date_end)) + + if updated_date_start is not None: + + _query_params.append(('updatedDateStart', updated_date_start)) + + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/ztagent/agents', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_ztagent_bindings_get( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + enterprise_id: Optional[StrictInt] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> V1ZtagentBindingsGetResponse: + """v1_ztagent_bindings_get + + Return the ZTAgent integration binding for an enterprise. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param enterprise_id: + :type enterprise_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_bindings_get_serialize( + authorization=authorization, + enterprise_id=enterprise_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZtagentBindingsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_ztagent_bindings_get_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + enterprise_id: Optional[StrictInt] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[V1ZtagentBindingsGetResponse]: + """v1_ztagent_bindings_get + + Return the ZTAgent integration binding for an enterprise. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param enterprise_id: + :type enterprise_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_bindings_get_serialize( + authorization=authorization, + enterprise_id=enterprise_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZtagentBindingsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v1_ztagent_bindings_get_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + enterprise_id: Optional[StrictInt] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v1_ztagent_bindings_get + + Return the ZTAgent integration binding for an enterprise. + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param enterprise_id: + :type enterprise_id: int + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_bindings_get_serialize( + authorization=authorization, + enterprise_id=enterprise_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "V1ZtagentBindingsGetResponse", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v1_ztagent_bindings_get_serialize( + self, + authorization, + enterprise_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if enterprise_id is not None: + + _query_params.append(('enterpriseId', enterprise_id)) + + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/ztagent/bindings', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v1_ztagent_bindings_put( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """v1_ztagent_bindings_put + + Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_ztagent_bindings_put_request: (required) + :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v1_ztagent_bindings_put_serialize( + authorization=authorization, + v1_ztagent_bindings_put_request=v1_ztagent_bindings_put_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v1_ztagent_bindings_put_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """v1_ztagent_bindings_put + + Create or replace the ZTAgent integration binding for an enterprise (site and customer identifiers). + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v1_ztagent_bindings_put_request: (required) + :type v1_ztagent_bindings_put_request: V1ZtagentBindingsPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -120599,9 +125908,295 @@ def v2_ack_createupdate_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_ack_createupdate_post_serialize( + _param = self._v2_ack_createupdate_post_serialize( + authorization=authorization, + v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _v2_ack_createupdate_post_serialize( + self, + authorization, + v2_ack_createupdate_post_request, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if authorization is not None: + _header_params['Authorization'] = authorization + # process the form parameters + # process the body parameter + if v2_ack_createupdate_post_request is not None: + _body_params = v2_ack_createupdate_post_request + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'jwtAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v2/ack/createupdate', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def v2_aggregated_notification_enable_disable_post( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> object: + """v2_aggregated_notification_enable_disable_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v2_aggregated_notification_enable_disable_post_request: (required) + :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v2_aggregated_notification_enable_disable_post_serialize( + authorization=authorization, + v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def v2_aggregated_notification_enable_disable_post_with_http_info( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[object]: + """v2_aggregated_notification_enable_disable_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v2_aggregated_notification_enable_disable_post_request: (required) + :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v2_aggregated_notification_enable_disable_post_serialize( + authorization=authorization, + v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "object", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def v2_aggregated_notification_enable_disable_post_without_preload_content( + self, + authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """v2_aggregated_notification_enable_disable_post + + + :param authorization: Bearer token. Format: Bearer (required) + :type authorization: str + :param v2_aggregated_notification_enable_disable_post_request: (required) + :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._v2_aggregated_notification_enable_disable_post_serialize( authorization=authorization, - v2_ack_createupdate_post_request=v2_ack_createupdate_post_request, + v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120618,10 +126213,10 @@ def v2_ack_createupdate_post_without_preload_content( return response_data.response - def _v2_ack_createupdate_post_serialize( + def _v2_aggregated_notification_enable_disable_post_serialize( self, authorization, - v2_ack_createupdate_post_request, + v2_aggregated_notification_enable_disable_post_request, _request_auth, _content_type, _headers, @@ -120649,8 +126244,8 @@ def _v2_ack_createupdate_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_ack_createupdate_post_request is not None: - _body_params = v2_ack_createupdate_post_request + if v2_aggregated_notification_enable_disable_post_request is not None: + _body_params = v2_aggregated_notification_enable_disable_post_request # set the HTTP header `Accept` @@ -120682,7 +126277,7 @@ def _v2_ack_createupdate_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/ack/createupdate', + resource_path='/v2/aggregated-notification/enable-disable', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -120699,10 +126294,9 @@ def _v2_ack_createupdate_post_serialize( @validate_call - def v2_aggregated_notification_enable_disable_post( + def v2_aggregated_notification_get_state_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120715,14 +126309,12 @@ def v2_aggregated_notification_enable_disable_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_aggregated_notification_enable_disable_post + ) -> V2AggregatedNotificationGetStateGetResponse: + """v2_aggregated_notification_get_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_aggregated_notification_enable_disable_post_request: (required) - :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -120745,9 +126337,8 @@ def v2_aggregated_notification_enable_disable_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_enable_disable_post_serialize( + _param = self._v2_aggregated_notification_get_state_get_serialize( authorization=authorization, - v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120755,7 +126346,7 @@ def v2_aggregated_notification_enable_disable_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AggregatedNotificationGetStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -120769,10 +126360,9 @@ def v2_aggregated_notification_enable_disable_post( @validate_call - def v2_aggregated_notification_enable_disable_post_with_http_info( + def v2_aggregated_notification_get_state_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120785,14 +126375,12 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_aggregated_notification_enable_disable_post + ) -> ApiResponse[V2AggregatedNotificationGetStateGetResponse]: + """v2_aggregated_notification_get_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_aggregated_notification_enable_disable_post_request: (required) - :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -120815,9 +126403,8 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_enable_disable_post_serialize( + _param = self._v2_aggregated_notification_get_state_get_serialize( authorization=authorization, - v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120825,7 +126412,7 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AggregatedNotificationGetStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -120839,10 +126426,9 @@ def v2_aggregated_notification_enable_disable_post_with_http_info( @validate_call - def v2_aggregated_notification_enable_disable_post_without_preload_content( + def v2_aggregated_notification_get_state_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -120856,13 +126442,11 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_aggregated_notification_enable_disable_post + """v2_aggregated_notification_get_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_aggregated_notification_enable_disable_post_request: (required) - :type v2_aggregated_notification_enable_disable_post_request: V2AggregatedNotificationEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -120885,9 +126469,8 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_enable_disable_post_serialize( + _param = self._v2_aggregated_notification_get_state_get_serialize( authorization=authorization, - v2_aggregated_notification_enable_disable_post_request=v2_aggregated_notification_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -120895,7 +126478,7 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AggregatedNotificationGetStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -120904,10 +126487,9 @@ def v2_aggregated_notification_enable_disable_post_without_preload_content( return response_data.response - def _v2_aggregated_notification_enable_disable_post_serialize( + def _v2_aggregated_notification_get_state_get_serialize( self, authorization, - v2_aggregated_notification_enable_disable_post_request, _request_auth, _content_type, _headers, @@ -120935,8 +126517,6 @@ def _v2_aggregated_notification_enable_disable_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_aggregated_notification_enable_disable_post_request is not None: - _body_params = v2_aggregated_notification_enable_disable_post_request # set the HTTP header `Accept` @@ -120947,19 +126527,6 @@ def _v2_aggregated_notification_enable_disable_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -120967,8 +126534,8 @@ def _v2_aggregated_notification_enable_disable_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/aggregated-notification/enable-disable', + method='GET', + resource_path='/v2/aggregated-notification/get-state', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -120985,7 +126552,7 @@ def _v2_aggregated_notification_enable_disable_post_serialize( @validate_call - def v2_aggregated_notification_get_state_get( + def v2_allowlist_by_enterprise_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -121000,8 +126567,8 @@ def v2_aggregated_notification_get_state_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AggregatedNotificationGetStateGetResponse: - """v2_aggregated_notification_get_state_get + ) -> V2AllowlistByEnterpriseGetResponse: + """v2_allowlist_by_enterprise_get :param authorization: Bearer token. Format: Bearer (required) @@ -121028,7 +126595,7 @@ def v2_aggregated_notification_get_state_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_get_state_get_serialize( + _param = self._v2_allowlist_by_enterprise_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -121037,7 +126604,7 @@ def v2_aggregated_notification_get_state_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AggregatedNotificationGetStateGetResponse", + '200': "V2AllowlistByEnterpriseGetResponse", } response_data = self.api_client.call_api( *_param, @@ -121051,7 +126618,7 @@ def v2_aggregated_notification_get_state_get( @validate_call - def v2_aggregated_notification_get_state_get_with_http_info( + def v2_allowlist_by_enterprise_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -121066,8 +126633,8 @@ def v2_aggregated_notification_get_state_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AggregatedNotificationGetStateGetResponse]: - """v2_aggregated_notification_get_state_get + ) -> ApiResponse[V2AllowlistByEnterpriseGetResponse]: + """v2_allowlist_by_enterprise_get :param authorization: Bearer token. Format: Bearer (required) @@ -121094,7 +126661,7 @@ def v2_aggregated_notification_get_state_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_get_state_get_serialize( + _param = self._v2_allowlist_by_enterprise_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -121103,7 +126670,7 @@ def v2_aggregated_notification_get_state_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AggregatedNotificationGetStateGetResponse", + '200': "V2AllowlistByEnterpriseGetResponse", } response_data = self.api_client.call_api( *_param, @@ -121117,7 +126684,7 @@ def v2_aggregated_notification_get_state_get_with_http_info( @validate_call - def v2_aggregated_notification_get_state_get_without_preload_content( + def v2_allowlist_by_enterprise_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -121133,7 +126700,7 @@ def v2_aggregated_notification_get_state_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_aggregated_notification_get_state_get + """v2_allowlist_by_enterprise_get :param authorization: Bearer token. Format: Bearer (required) @@ -121160,7 +126727,7 @@ def v2_aggregated_notification_get_state_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_aggregated_notification_get_state_get_serialize( + _param = self._v2_allowlist_by_enterprise_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -121169,7 +126736,7 @@ def v2_aggregated_notification_get_state_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AggregatedNotificationGetStateGetResponse", + '200': "V2AllowlistByEnterpriseGetResponse", } response_data = self.api_client.call_api( *_param, @@ -121178,7 +126745,7 @@ def v2_aggregated_notification_get_state_get_without_preload_content( return response_data.response - def _v2_aggregated_notification_get_state_get_serialize( + def _v2_allowlist_by_enterprise_get_serialize( self, authorization, _request_auth, @@ -121226,7 +126793,7 @@ def _v2_aggregated_notification_get_state_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/aggregated-notification/get-state', + resource_path='/v2/allowlist-by-enterprise', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -121243,9 +126810,10 @@ def _v2_aggregated_notification_get_state_get_serialize( @validate_call - def v2_allowlist_by_enterprise_get( + def v2_allowlist_create_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121258,12 +126826,14 @@ def v2_allowlist_by_enterprise_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AllowlistByEnterpriseGetResponse: - """v2_allowlist_by_enterprise_get + ) -> object: + """v2_allowlist_create_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_allowlist_create_post_request: (required) + :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121286,8 +126856,9 @@ def v2_allowlist_by_enterprise_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_by_enterprise_get_serialize( + _param = self._v2_allowlist_create_post_serialize( authorization=authorization, + v2_allowlist_create_post_request=v2_allowlist_create_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121295,7 +126866,7 @@ def v2_allowlist_by_enterprise_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistByEnterpriseGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -121309,9 +126880,10 @@ def v2_allowlist_by_enterprise_get( @validate_call - def v2_allowlist_by_enterprise_get_with_http_info( + def v2_allowlist_create_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121324,12 +126896,14 @@ def v2_allowlist_by_enterprise_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AllowlistByEnterpriseGetResponse]: - """v2_allowlist_by_enterprise_get + ) -> ApiResponse[object]: + """v2_allowlist_create_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_allowlist_create_post_request: (required) + :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121352,8 +126926,9 @@ def v2_allowlist_by_enterprise_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_by_enterprise_get_serialize( + _param = self._v2_allowlist_create_post_serialize( authorization=authorization, + v2_allowlist_create_post_request=v2_allowlist_create_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121361,7 +126936,7 @@ def v2_allowlist_by_enterprise_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistByEnterpriseGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -121375,9 +126950,10 @@ def v2_allowlist_by_enterprise_get_with_http_info( @validate_call - def v2_allowlist_by_enterprise_get_without_preload_content( + def v2_allowlist_create_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121391,11 +126967,13 @@ def v2_allowlist_by_enterprise_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_by_enterprise_get + """v2_allowlist_create_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_allowlist_create_post_request: (required) + :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121418,8 +126996,9 @@ def v2_allowlist_by_enterprise_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_by_enterprise_get_serialize( + _param = self._v2_allowlist_create_post_serialize( authorization=authorization, + v2_allowlist_create_post_request=v2_allowlist_create_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121427,7 +127006,7 @@ def v2_allowlist_by_enterprise_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistByEnterpriseGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -121436,9 +127015,10 @@ def v2_allowlist_by_enterprise_get_without_preload_content( return response_data.response - def _v2_allowlist_by_enterprise_get_serialize( + def _v2_allowlist_create_post_serialize( self, authorization, + v2_allowlist_create_post_request, _request_auth, _content_type, _headers, @@ -121466,6 +127046,8 @@ def _v2_allowlist_by_enterprise_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_allowlist_create_post_request is not None: + _body_params = v2_allowlist_create_post_request # set the HTTP header `Accept` @@ -121476,6 +127058,19 @@ def _v2_allowlist_by_enterprise_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -121483,8 +127078,8 @@ def _v2_allowlist_by_enterprise_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/allowlist-by-enterprise', + method='POST', + resource_path='/v2/allowlist/create', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -121501,10 +127096,10 @@ def _v2_allowlist_by_enterprise_get_serialize( @validate_call - def v2_allowlist_create_post( + def v2_allowlist_deletebyalertid_alert_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, + alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121518,13 +127113,13 @@ def v2_allowlist_create_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_allowlist_create_post + """v2_allowlist_deletebyalertid_alert_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_allowlist_create_post_request: (required) - :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest + :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) + :type alert_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121547,9 +127142,9 @@ def v2_allowlist_create_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_create_post_serialize( + _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( authorization=authorization, - v2_allowlist_create_post_request=v2_allowlist_create_post_request, + alert_id=alert_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121571,10 +127166,10 @@ def v2_allowlist_create_post( @validate_call - def v2_allowlist_create_post_with_http_info( + def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, + alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121588,13 +127183,13 @@ def v2_allowlist_create_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_allowlist_create_post + """v2_allowlist_deletebyalertid_alert_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_allowlist_create_post_request: (required) - :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest + :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) + :type alert_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121617,9 +127212,9 @@ def v2_allowlist_create_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_create_post_serialize( + _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( authorization=authorization, - v2_allowlist_create_post_request=v2_allowlist_create_post_request, + alert_id=alert_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121641,10 +127236,10 @@ def v2_allowlist_create_post_with_http_info( @validate_call - def v2_allowlist_create_post_without_preload_content( + def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_allowlist_create_post_request: V2AllowlistCreatePostRequest, + alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121658,13 +127253,13 @@ def v2_allowlist_create_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_create_post + """v2_allowlist_deletebyalertid_alert_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_allowlist_create_post_request: (required) - :type v2_allowlist_create_post_request: V2AllowlistCreatePostRequest + :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) + :type alert_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121687,9 +127282,9 @@ def v2_allowlist_create_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_create_post_serialize( + _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( authorization=authorization, - v2_allowlist_create_post_request=v2_allowlist_create_post_request, + alert_id=alert_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121706,10 +127301,10 @@ def v2_allowlist_create_post_without_preload_content( return response_data.response - def _v2_allowlist_create_post_serialize( + def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( self, authorization, - v2_allowlist_create_post_request, + alert_id, _request_auth, _content_type, _headers, @@ -121731,14 +127326,14 @@ def _v2_allowlist_create_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if alert_id is not None: + _path_params['alertId'] = alert_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_allowlist_create_post_request is not None: - _body_params = v2_allowlist_create_post_request # set the HTTP header `Accept` @@ -121749,19 +127344,6 @@ def _v2_allowlist_create_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -121769,8 +127351,8 @@ def _v2_allowlist_create_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/allowlist/create', + method='DELETE', + resource_path='/v2/allowlist/deletebyalertid/{alertId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -121787,10 +127369,10 @@ def _v2_allowlist_create_post_serialize( @validate_call - def v2_allowlist_deletebyalertid_alert_id_delete( + def v2_allowlist_deletebyentityid_entity_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], + entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121804,13 +127386,13 @@ def v2_allowlist_deletebyalertid_alert_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_allowlist_deletebyalertid_alert_id_delete + """v2_allowlist_deletebyentityid_entity_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) - :type alert_id: str + :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) + :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121833,9 +127415,9 @@ def v2_allowlist_deletebyalertid_alert_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( + _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( authorization=authorization, - alert_id=alert_id, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121857,10 +127439,10 @@ def v2_allowlist_deletebyalertid_alert_id_delete( @validate_call - def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( + def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], + entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121874,13 +127456,13 @@ def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_allowlist_deletebyalertid_alert_id_delete + """v2_allowlist_deletebyentityid_entity_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) - :type alert_id: str + :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) + :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121903,9 +127485,9 @@ def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( + _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( authorization=authorization, - alert_id=alert_id, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121927,10 +127509,10 @@ def v2_allowlist_deletebyalertid_alert_id_delete_with_http_info( @validate_call - def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( + def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - alert_id: Annotated[StrictStr, Field(description="Alert id of the alert to delete allowlist/mutelist for")], + entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -121944,13 +127526,13 @@ def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_deletebyalertid_alert_id_delete + """v2_allowlist_deletebyentityid_entity_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param alert_id: Alert id of the alert to delete allowlist/mutelist for (required) - :type alert_id: str + :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) + :type entity_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -121973,9 +127555,9 @@ def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyalertid_alert_id_delete_serialize( + _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( authorization=authorization, - alert_id=alert_id, + entity_id=entity_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -121992,10 +127574,10 @@ def v2_allowlist_deletebyalertid_alert_id_delete_without_preload_content( return response_data.response - def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( + def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( self, authorization, - alert_id, + entity_id, _request_auth, _content_type, _headers, @@ -122017,8 +127599,8 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if alert_id is not None: - _path_params['alertId'] = alert_id + if entity_id is not None: + _path_params['entityId'] = entity_id # process the query parameters # process the header parameters if authorization is not None: @@ -122043,7 +127625,7 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v2/allowlist/deletebyalertid/{alertId}', + resource_path='/v2/allowlist/deletebyentityid/{entityId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -122060,10 +127642,10 @@ def _v2_allowlist_deletebyalertid_alert_id_delete_serialize( @validate_call - def v2_allowlist_deletebyentityid_entity_id_delete( + def v2_allowlist_rule_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], + rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122076,14 +127658,14 @@ def v2_allowlist_deletebyentityid_entity_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_allowlist_deletebyentityid_entity_id_delete + ) -> V2AllowlistRuleIdGetResponse: + """v2_allowlist_rule_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) - :type entity_id: str + :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) + :type rule_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122106,9 +127688,9 @@ def v2_allowlist_deletebyentityid_entity_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( + _param = self._v2_allowlist_rule_id_get_serialize( authorization=authorization, - entity_id=entity_id, + rule_id=rule_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122116,7 +127698,7 @@ def v2_allowlist_deletebyentityid_entity_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AllowlistRuleIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -122130,10 +127712,10 @@ def v2_allowlist_deletebyentityid_entity_id_delete( @validate_call - def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( + def v2_allowlist_rule_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], + rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122146,14 +127728,14 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_allowlist_deletebyentityid_entity_id_delete + ) -> ApiResponse[V2AllowlistRuleIdGetResponse]: + """v2_allowlist_rule_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) - :type entity_id: str + :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) + :type rule_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122176,9 +127758,9 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( + _param = self._v2_allowlist_rule_id_get_serialize( authorization=authorization, - entity_id=entity_id, + rule_id=rule_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122186,7 +127768,7 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AllowlistRuleIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -122200,10 +127782,10 @@ def v2_allowlist_deletebyentityid_entity_id_delete_with_http_info( @validate_call - def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( + def v2_allowlist_rule_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - entity_id: Annotated[StrictStr, Field(description="Entity id of the alert to delete allowlist/mutelist for")], + rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122217,13 +127799,13 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_deletebyentityid_entity_id_delete + """v2_allowlist_rule_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param entity_id: Entity id of the alert to delete allowlist/mutelist for (required) - :type entity_id: str + :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) + :type rule_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122246,9 +127828,9 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_deletebyentityid_entity_id_delete_serialize( + _param = self._v2_allowlist_rule_id_get_serialize( authorization=authorization, - entity_id=entity_id, + rule_id=rule_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122256,7 +127838,7 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AllowlistRuleIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -122265,10 +127847,10 @@ def v2_allowlist_deletebyentityid_entity_id_delete_without_preload_content( return response_data.response - def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( + def _v2_allowlist_rule_id_get_serialize( self, authorization, - entity_id, + rule_id, _request_auth, _content_type, _headers, @@ -122290,8 +127872,8 @@ def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if entity_id is not None: - _path_params['entityId'] = entity_id + if rule_id is not None: + _path_params['ruleId'] = rule_id # process the query parameters # process the header parameters if authorization is not None: @@ -122315,8 +127897,8 @@ def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/allowlist/deletebyentityid/{entityId}', + method='GET', + resource_path='/v2/allowlist/{ruleId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -122333,10 +127915,10 @@ def _v2_allowlist_deletebyentityid_entity_id_delete_serialize( @validate_call - def v2_allowlist_rule_id_get( + def v2_assistant_add_to_conversation_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], + v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122349,14 +127931,14 @@ def v2_allowlist_rule_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AllowlistRuleIdGetResponse: - """v2_allowlist_rule_id_get + ) -> V2AssistantAddToConversationPostResponse: + """v2_assistant_add_to_conversation_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) - :type rule_id: str + :param v2_assistant_add_to_conversation_post_request: (required) + :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122379,9 +127961,9 @@ def v2_allowlist_rule_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_rule_id_get_serialize( + _param = self._v2_assistant_add_to_conversation_post_serialize( authorization=authorization, - rule_id=rule_id, + v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122389,7 +127971,7 @@ def v2_allowlist_rule_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistRuleIdGetResponse", + '200': "V2AssistantAddToConversationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -122403,10 +127985,10 @@ def v2_allowlist_rule_id_get( @validate_call - def v2_allowlist_rule_id_get_with_http_info( + def v2_assistant_add_to_conversation_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], + v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122419,14 +128001,14 @@ def v2_allowlist_rule_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AllowlistRuleIdGetResponse]: - """v2_allowlist_rule_id_get + ) -> ApiResponse[V2AssistantAddToConversationPostResponse]: + """v2_assistant_add_to_conversation_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) - :type rule_id: str + :param v2_assistant_add_to_conversation_post_request: (required) + :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122449,9 +128031,9 @@ def v2_allowlist_rule_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_rule_id_get_serialize( + _param = self._v2_assistant_add_to_conversation_post_serialize( authorization=authorization, - rule_id=rule_id, + v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122459,7 +128041,7 @@ def v2_allowlist_rule_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistRuleIdGetResponse", + '200': "V2AssistantAddToConversationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -122473,10 +128055,10 @@ def v2_allowlist_rule_id_get_with_http_info( @validate_call - def v2_allowlist_rule_id_get_without_preload_content( + def v2_assistant_add_to_conversation_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - rule_id: Annotated[StrictStr, Field(description="Alert id of the alert to retrieve allowlist/mutelist for")], + v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122490,13 +128072,13 @@ def v2_allowlist_rule_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_allowlist_rule_id_get + """v2_assistant_add_to_conversation_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param rule_id: Alert id of the alert to retrieve allowlist/mutelist for (required) - :type rule_id: str + :param v2_assistant_add_to_conversation_post_request: (required) + :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122519,9 +128101,9 @@ def v2_allowlist_rule_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_allowlist_rule_id_get_serialize( + _param = self._v2_assistant_add_to_conversation_post_serialize( authorization=authorization, - rule_id=rule_id, + v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122529,7 +128111,7 @@ def v2_allowlist_rule_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AllowlistRuleIdGetResponse", + '200': "V2AssistantAddToConversationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -122538,10 +128120,10 @@ def v2_allowlist_rule_id_get_without_preload_content( return response_data.response - def _v2_allowlist_rule_id_get_serialize( + def _v2_assistant_add_to_conversation_post_serialize( self, authorization, - rule_id, + v2_assistant_add_to_conversation_post_request, _request_auth, _content_type, _headers, @@ -122563,14 +128145,14 @@ def _v2_allowlist_rule_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if rule_id is not None: - _path_params['ruleId'] = rule_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assistant_add_to_conversation_post_request is not None: + _body_params = v2_assistant_add_to_conversation_post_request # set the HTTP header `Accept` @@ -122581,6 +128163,19 @@ def _v2_allowlist_rule_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -122588,8 +128183,8 @@ def _v2_allowlist_rule_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/allowlist/{ruleId}', + method='POST', + resource_path='/v2/assistant/add-to-conversation', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -122606,10 +128201,10 @@ def _v2_allowlist_rule_id_get_serialize( @validate_call - def v2_assistant_add_to_conversation_post( + def v2_assistant_conversation_context_history_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, + v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122622,14 +128217,14 @@ def v2_assistant_add_to_conversation_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantAddToConversationPostResponse: - """v2_assistant_add_to_conversation_post + ) -> object: + """v2_assistant_conversation_context_history_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_add_to_conversation_post_request: (required) - :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest + :param v2_assistant_conversation_context_history_post_request: (required) + :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122652,9 +128247,9 @@ def v2_assistant_add_to_conversation_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_add_to_conversation_post_serialize( + _param = self._v2_assistant_conversation_context_history_post_serialize( authorization=authorization, - v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, + v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122662,7 +128257,7 @@ def v2_assistant_add_to_conversation_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantAddToConversationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -122676,10 +128271,10 @@ def v2_assistant_add_to_conversation_post( @validate_call - def v2_assistant_add_to_conversation_post_with_http_info( + def v2_assistant_conversation_context_history_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, + v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122692,14 +128287,14 @@ def v2_assistant_add_to_conversation_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantAddToConversationPostResponse]: - """v2_assistant_add_to_conversation_post + ) -> ApiResponse[object]: + """v2_assistant_conversation_context_history_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_add_to_conversation_post_request: (required) - :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest + :param v2_assistant_conversation_context_history_post_request: (required) + :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122722,9 +128317,9 @@ def v2_assistant_add_to_conversation_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_add_to_conversation_post_serialize( + _param = self._v2_assistant_conversation_context_history_post_serialize( authorization=authorization, - v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, + v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122732,7 +128327,7 @@ def v2_assistant_add_to_conversation_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantAddToConversationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -122746,10 +128341,10 @@ def v2_assistant_add_to_conversation_post_with_http_info( @validate_call - def v2_assistant_add_to_conversation_post_without_preload_content( + def v2_assistant_conversation_context_history_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest, + v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122763,13 +128358,13 @@ def v2_assistant_add_to_conversation_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_add_to_conversation_post + """v2_assistant_conversation_context_history_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_add_to_conversation_post_request: (required) - :type v2_assistant_add_to_conversation_post_request: V2AssistantAddToConversationPostRequest + :param v2_assistant_conversation_context_history_post_request: (required) + :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122792,9 +128387,9 @@ def v2_assistant_add_to_conversation_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_add_to_conversation_post_serialize( + _param = self._v2_assistant_conversation_context_history_post_serialize( authorization=authorization, - v2_assistant_add_to_conversation_post_request=v2_assistant_add_to_conversation_post_request, + v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122802,7 +128397,7 @@ def v2_assistant_add_to_conversation_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantAddToConversationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -122811,10 +128406,10 @@ def v2_assistant_add_to_conversation_post_without_preload_content( return response_data.response - def _v2_assistant_add_to_conversation_post_serialize( + def _v2_assistant_conversation_context_history_post_serialize( self, authorization, - v2_assistant_add_to_conversation_post_request, + v2_assistant_conversation_context_history_post_request, _request_auth, _content_type, _headers, @@ -122842,8 +128437,8 @@ def _v2_assistant_add_to_conversation_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_add_to_conversation_post_request is not None: - _body_params = v2_assistant_add_to_conversation_post_request + if v2_assistant_conversation_context_history_post_request is not None: + _body_params = v2_assistant_conversation_context_history_post_request # set the HTTP header `Accept` @@ -122875,7 +128470,7 @@ def _v2_assistant_add_to_conversation_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/add-to-conversation', + resource_path='/v2/assistant/conversation-context-history/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -122892,10 +128487,10 @@ def _v2_assistant_add_to_conversation_post_serialize( @validate_call - def v2_assistant_conversation_context_history_post( + def v2_assistant_conversation_interface_enable_disable_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, + v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122909,13 +128504,13 @@ def v2_assistant_conversation_context_history_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assistant_conversation_context_history_post + """v2_assistant_conversation_interface_enable_disable_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_context_history_post_request: (required) - :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest + :param v2_assistant_conversation_interface_enable_disable_post_request: (required) + :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -122938,9 +128533,9 @@ def v2_assistant_conversation_context_history_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_context_history_post_serialize( + _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( authorization=authorization, - v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, + v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -122962,10 +128557,10 @@ def v2_assistant_conversation_context_history_post( @validate_call - def v2_assistant_conversation_context_history_post_with_http_info( + def v2_assistant_conversation_interface_enable_disable_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, + v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -122979,13 +128574,13 @@ def v2_assistant_conversation_context_history_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assistant_conversation_context_history_post + """v2_assistant_conversation_interface_enable_disable_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_context_history_post_request: (required) - :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest + :param v2_assistant_conversation_interface_enable_disable_post_request: (required) + :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123008,9 +128603,9 @@ def v2_assistant_conversation_context_history_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_context_history_post_serialize( + _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( authorization=authorization, - v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, + v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123032,10 +128627,10 @@ def v2_assistant_conversation_context_history_post_with_http_info( @validate_call - def v2_assistant_conversation_context_history_post_without_preload_content( + def v2_assistant_conversation_interface_enable_disable_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest, + v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123049,13 +128644,13 @@ def v2_assistant_conversation_context_history_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_conversation_context_history_post + """v2_assistant_conversation_interface_enable_disable_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_context_history_post_request: (required) - :type v2_assistant_conversation_context_history_post_request: V2AssistantConversationContextHistoryPostRequest + :param v2_assistant_conversation_interface_enable_disable_post_request: (required) + :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123078,9 +128673,9 @@ def v2_assistant_conversation_context_history_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_context_history_post_serialize( + _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( authorization=authorization, - v2_assistant_conversation_context_history_post_request=v2_assistant_conversation_context_history_post_request, + v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123097,10 +128692,10 @@ def v2_assistant_conversation_context_history_post_without_preload_content( return response_data.response - def _v2_assistant_conversation_context_history_post_serialize( + def _v2_assistant_conversation_interface_enable_disable_post_serialize( self, authorization, - v2_assistant_conversation_context_history_post_request, + v2_assistant_conversation_interface_enable_disable_post_request, _request_auth, _content_type, _headers, @@ -123128,8 +128723,8 @@ def _v2_assistant_conversation_context_history_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_conversation_context_history_post_request is not None: - _body_params = v2_assistant_conversation_context_history_post_request + if v2_assistant_conversation_interface_enable_disable_post_request is not None: + _body_params = v2_assistant_conversation_interface_enable_disable_post_request # set the HTTP header `Accept` @@ -123161,7 +128756,7 @@ def _v2_assistant_conversation_context_history_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/conversation-context-history/', + resource_path='/v2/assistant/conversation-interface-enable-disable/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -123178,10 +128773,9 @@ def _v2_assistant_conversation_context_history_post_serialize( @validate_call - def v2_assistant_conversation_interface_enable_disable_post( + def v2_assistant_conversation_interface_state_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123194,14 +128788,12 @@ def v2_assistant_conversation_interface_enable_disable_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assistant_conversation_interface_enable_disable_post + ) -> V2AssistantConversationInterfaceStateGetResponse: + """v2_assistant_conversation_interface_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_interface_enable_disable_post_request: (required) - :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123224,9 +128816,8 @@ def v2_assistant_conversation_interface_enable_disable_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( + _param = self._v2_assistant_conversation_interface_state_get_serialize( authorization=authorization, - v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123234,7 +128825,7 @@ def v2_assistant_conversation_interface_enable_disable_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantConversationInterfaceStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -123248,10 +128839,9 @@ def v2_assistant_conversation_interface_enable_disable_post( @validate_call - def v2_assistant_conversation_interface_enable_disable_post_with_http_info( + def v2_assistant_conversation_interface_state_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123264,14 +128854,12 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assistant_conversation_interface_enable_disable_post + ) -> ApiResponse[V2AssistantConversationInterfaceStateGetResponse]: + """v2_assistant_conversation_interface_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_interface_enable_disable_post_request: (required) - :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123294,9 +128882,8 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( + _param = self._v2_assistant_conversation_interface_state_get_serialize( authorization=authorization, - v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123304,7 +128891,7 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantConversationInterfaceStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -123318,10 +128905,9 @@ def v2_assistant_conversation_interface_enable_disable_post_with_http_info( @validate_call - def v2_assistant_conversation_interface_enable_disable_post_without_preload_content( + def v2_assistant_conversation_interface_state_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123335,13 +128921,11 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_conversation_interface_enable_disable_post + """v2_assistant_conversation_interface_state_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_conversation_interface_enable_disable_post_request: (required) - :type v2_assistant_conversation_interface_enable_disable_post_request: V2AssistantConversationInterfaceEnableDisablePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123364,9 +128948,8 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_enable_disable_post_serialize( + _param = self._v2_assistant_conversation_interface_state_get_serialize( authorization=authorization, - v2_assistant_conversation_interface_enable_disable_post_request=v2_assistant_conversation_interface_enable_disable_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123374,7 +128957,7 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantConversationInterfaceStateGetResponse", } response_data = self.api_client.call_api( *_param, @@ -123383,10 +128966,9 @@ def v2_assistant_conversation_interface_enable_disable_post_without_preload_cont return response_data.response - def _v2_assistant_conversation_interface_enable_disable_post_serialize( + def _v2_assistant_conversation_interface_state_get_serialize( self, authorization, - v2_assistant_conversation_interface_enable_disable_post_request, _request_auth, _content_type, _headers, @@ -123414,8 +128996,6 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_conversation_interface_enable_disable_post_request is not None: - _body_params = v2_assistant_conversation_interface_enable_disable_post_request # set the HTTP header `Accept` @@ -123426,19 +129006,6 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -123446,8 +129013,8 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assistant/conversation-interface-enable-disable/', + method='GET', + resource_path='/v2/assistant/conversation-interface-state/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -123464,9 +129031,10 @@ def _v2_assistant_conversation_interface_enable_disable_post_serialize( @validate_call - def v2_assistant_conversation_interface_state_get( + def v2_assistant_delete_conversation_chat_conversation_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + conversation_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123479,12 +129047,14 @@ def v2_assistant_conversation_interface_state_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantConversationInterfaceStateGetResponse: - """v2_assistant_conversation_interface_state_get + ) -> object: + """v2_assistant_delete_conversation_chat_conversation_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param conversation_id: (required) + :type conversation_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123507,8 +129077,9 @@ def v2_assistant_conversation_interface_state_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_state_get_serialize( + _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( authorization=authorization, + conversation_id=conversation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123516,7 +129087,7 @@ def v2_assistant_conversation_interface_state_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantConversationInterfaceStateGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -123530,9 +129101,10 @@ def v2_assistant_conversation_interface_state_get( @validate_call - def v2_assistant_conversation_interface_state_get_with_http_info( + def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + conversation_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123545,12 +129117,14 @@ def v2_assistant_conversation_interface_state_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantConversationInterfaceStateGetResponse]: - """v2_assistant_conversation_interface_state_get + ) -> ApiResponse[object]: + """v2_assistant_delete_conversation_chat_conversation_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param conversation_id: (required) + :type conversation_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123573,8 +129147,9 @@ def v2_assistant_conversation_interface_state_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_state_get_serialize( + _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( authorization=authorization, + conversation_id=conversation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123582,7 +129157,7 @@ def v2_assistant_conversation_interface_state_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantConversationInterfaceStateGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -123596,9 +129171,10 @@ def v2_assistant_conversation_interface_state_get_with_http_info( @validate_call - def v2_assistant_conversation_interface_state_get_without_preload_content( + def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + conversation_id: StrictStr, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123612,11 +129188,13 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_conversation_interface_state_get + """v2_assistant_delete_conversation_chat_conversation_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param conversation_id: (required) + :type conversation_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123639,8 +129217,9 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_conversation_interface_state_get_serialize( + _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( authorization=authorization, + conversation_id=conversation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123648,7 +129227,7 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantConversationInterfaceStateGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -123657,9 +129236,10 @@ def v2_assistant_conversation_interface_state_get_without_preload_content( return response_data.response - def _v2_assistant_conversation_interface_state_get_serialize( + def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( self, authorization, + conversation_id, _request_auth, _content_type, _headers, @@ -123681,6 +129261,8 @@ def _v2_assistant_conversation_interface_state_get_serialize( _body_params: Optional[bytes] = None # process the path parameters + if conversation_id is not None: + _path_params['conversationId'] = conversation_id # process the query parameters # process the header parameters if authorization is not None: @@ -123704,8 +129286,8 @@ def _v2_assistant_conversation_interface_state_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/assistant/conversation-interface-state/', + method='DELETE', + resource_path='/v2/assistant/delete-conversation-chat/{conversationId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -123722,10 +129304,10 @@ def _v2_assistant_conversation_interface_state_get_serialize( @validate_call - def v2_assistant_delete_conversation_chat_conversation_id_delete( + def v2_assistant_get_conversation_details_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - conversation_id: StrictStr, + v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123738,14 +129320,14 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assistant_delete_conversation_chat_conversation_id_delete + ) -> V2AssistantGetConversationDetailsPostResponse: + """v2_assistant_get_conversation_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param conversation_id: (required) - :type conversation_id: str + :param v2_assistant_get_conversation_details_post_request: (required) + :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123768,9 +129350,9 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + _param = self._v2_assistant_get_conversation_details_post_serialize( authorization=authorization, - conversation_id=conversation_id, + v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123778,7 +129360,7 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantGetConversationDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -123792,10 +129374,10 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete( @validate_call - def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( + def v2_assistant_get_conversation_details_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - conversation_id: StrictStr, + v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123808,14 +129390,14 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assistant_delete_conversation_chat_conversation_id_delete + ) -> ApiResponse[V2AssistantGetConversationDetailsPostResponse]: + """v2_assistant_get_conversation_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param conversation_id: (required) - :type conversation_id: str + :param v2_assistant_get_conversation_details_post_request: (required) + :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123838,9 +129420,9 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + _param = self._v2_assistant_get_conversation_details_post_serialize( authorization=authorization, - conversation_id=conversation_id, + v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123848,7 +129430,7 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantGetConversationDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -123862,10 +129444,10 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_with_http_info( @validate_call - def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload_content( + def v2_assistant_get_conversation_details_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - conversation_id: StrictStr, + v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -123879,13 +129461,13 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_delete_conversation_chat_conversation_id_delete + """v2_assistant_get_conversation_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param conversation_id: (required) - :type conversation_id: str + :param v2_assistant_get_conversation_details_post_request: (required) + :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -123908,9 +129490,9 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + _param = self._v2_assistant_get_conversation_details_post_serialize( authorization=authorization, - conversation_id=conversation_id, + v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -123918,7 +129500,7 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantGetConversationDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -123927,10 +129509,10 @@ def v2_assistant_delete_conversation_chat_conversation_id_delete_without_preload return response_data.response - def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( + def _v2_assistant_get_conversation_details_post_serialize( self, authorization, - conversation_id, + v2_assistant_get_conversation_details_post_request, _request_auth, _content_type, _headers, @@ -123952,14 +129534,14 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( _body_params: Optional[bytes] = None # process the path parameters - if conversation_id is not None: - _path_params['conversationId'] = conversation_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assistant_get_conversation_details_post_request is not None: + _body_params = v2_assistant_get_conversation_details_post_request # set the HTTP header `Accept` @@ -123970,6 +129552,19 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -123977,8 +129572,8 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/assistant/delete-conversation-chat/{conversationId}', + method='POST', + resource_path='/v2/assistant/get-conversation-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -123995,10 +129590,10 @@ def _v2_assistant_delete_conversation_chat_conversation_id_delete_serialize( @validate_call - def v2_assistant_get_conversation_details_post( + def v2_assistant_get_conversations_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, + v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124011,14 +129606,14 @@ def v2_assistant_get_conversation_details_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantGetConversationDetailsPostResponse: - """v2_assistant_get_conversation_details_post + ) -> V2AssistantGetConversationsPostResponse: + """v2_assistant_get_conversations_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversation_details_post_request: (required) - :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest + :param v2_assistant_get_conversations_post_request: (required) + :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124041,9 +129636,9 @@ def v2_assistant_get_conversation_details_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversation_details_post_serialize( + _param = self._v2_assistant_get_conversations_post_serialize( authorization=authorization, - v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, + v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124051,7 +129646,7 @@ def v2_assistant_get_conversation_details_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationDetailsPostResponse", + '200': "V2AssistantGetConversationsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124065,10 +129660,10 @@ def v2_assistant_get_conversation_details_post( @validate_call - def v2_assistant_get_conversation_details_post_with_http_info( + def v2_assistant_get_conversations_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, + v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124081,14 +129676,14 @@ def v2_assistant_get_conversation_details_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantGetConversationDetailsPostResponse]: - """v2_assistant_get_conversation_details_post + ) -> ApiResponse[V2AssistantGetConversationsPostResponse]: + """v2_assistant_get_conversations_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversation_details_post_request: (required) - :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest + :param v2_assistant_get_conversations_post_request: (required) + :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124111,9 +129706,9 @@ def v2_assistant_get_conversation_details_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversation_details_post_serialize( + _param = self._v2_assistant_get_conversations_post_serialize( authorization=authorization, - v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, + v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124121,7 +129716,7 @@ def v2_assistant_get_conversation_details_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationDetailsPostResponse", + '200': "V2AssistantGetConversationsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124135,10 +129730,10 @@ def v2_assistant_get_conversation_details_post_with_http_info( @validate_call - def v2_assistant_get_conversation_details_post_without_preload_content( + def v2_assistant_get_conversations_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest, + v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124152,13 +129747,13 @@ def v2_assistant_get_conversation_details_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_get_conversation_details_post + """v2_assistant_get_conversations_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversation_details_post_request: (required) - :type v2_assistant_get_conversation_details_post_request: V2AssistantGetConversationDetailsPostRequest + :param v2_assistant_get_conversations_post_request: (required) + :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124181,9 +129776,9 @@ def v2_assistant_get_conversation_details_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversation_details_post_serialize( + _param = self._v2_assistant_get_conversations_post_serialize( authorization=authorization, - v2_assistant_get_conversation_details_post_request=v2_assistant_get_conversation_details_post_request, + v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124191,7 +129786,7 @@ def v2_assistant_get_conversation_details_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationDetailsPostResponse", + '200': "V2AssistantGetConversationsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124200,10 +129795,10 @@ def v2_assistant_get_conversation_details_post_without_preload_content( return response_data.response - def _v2_assistant_get_conversation_details_post_serialize( + def _v2_assistant_get_conversations_post_serialize( self, authorization, - v2_assistant_get_conversation_details_post_request, + v2_assistant_get_conversations_post_request, _request_auth, _content_type, _headers, @@ -124231,8 +129826,8 @@ def _v2_assistant_get_conversation_details_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_get_conversation_details_post_request is not None: - _body_params = v2_assistant_get_conversation_details_post_request + if v2_assistant_get_conversations_post_request is not None: + _body_params = v2_assistant_get_conversations_post_request # set the HTTP header `Accept` @@ -124264,7 +129859,7 @@ def _v2_assistant_get_conversation_details_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/get-conversation-details', + resource_path='/v2/assistant/get-conversations', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -124281,10 +129876,10 @@ def _v2_assistant_get_conversation_details_post_serialize( @validate_call - def v2_assistant_get_conversations_post( + def v2_assistant_update_conversation_name_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, + v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124297,14 +129892,14 @@ def v2_assistant_get_conversations_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantGetConversationsPostResponse: - """v2_assistant_get_conversations_post + ) -> object: + """v2_assistant_update_conversation_name_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversations_post_request: (required) - :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest + :param v2_assistant_update_conversation_name_post_request: (required) + :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124327,9 +129922,9 @@ def v2_assistant_get_conversations_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversations_post_serialize( + _param = self._v2_assistant_update_conversation_name_post_serialize( authorization=authorization, - v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, + v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124337,7 +129932,7 @@ def v2_assistant_get_conversations_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -124351,10 +129946,10 @@ def v2_assistant_get_conversations_post( @validate_call - def v2_assistant_get_conversations_post_with_http_info( + def v2_assistant_update_conversation_name_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, + v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124367,14 +129962,14 @@ def v2_assistant_get_conversations_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantGetConversationsPostResponse]: - """v2_assistant_get_conversations_post + ) -> ApiResponse[object]: + """v2_assistant_update_conversation_name_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversations_post_request: (required) - :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest + :param v2_assistant_update_conversation_name_post_request: (required) + :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124397,9 +129992,9 @@ def v2_assistant_get_conversations_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversations_post_serialize( + _param = self._v2_assistant_update_conversation_name_post_serialize( authorization=authorization, - v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, + v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124407,7 +130002,7 @@ def v2_assistant_get_conversations_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -124421,10 +130016,10 @@ def v2_assistant_get_conversations_post_with_http_info( @validate_call - def v2_assistant_get_conversations_post_without_preload_content( + def v2_assistant_update_conversation_name_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest, + v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124438,13 +130033,13 @@ def v2_assistant_get_conversations_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_get_conversations_post + """v2_assistant_update_conversation_name_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_get_conversations_post_request: (required) - :type v2_assistant_get_conversations_post_request: V2AssistantGetConversationsPostRequest + :param v2_assistant_update_conversation_name_post_request: (required) + :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124467,9 +130062,9 @@ def v2_assistant_get_conversations_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_get_conversations_post_serialize( + _param = self._v2_assistant_update_conversation_name_post_serialize( authorization=authorization, - v2_assistant_get_conversations_post_request=v2_assistant_get_conversations_post_request, + v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124477,7 +130072,7 @@ def v2_assistant_get_conversations_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantGetConversationsPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -124486,10 +130081,10 @@ def v2_assistant_get_conversations_post_without_preload_content( return response_data.response - def _v2_assistant_get_conversations_post_serialize( + def _v2_assistant_update_conversation_name_post_serialize( self, authorization, - v2_assistant_get_conversations_post_request, + v2_assistant_update_conversation_name_post_request, _request_auth, _content_type, _headers, @@ -124517,8 +130112,8 @@ def _v2_assistant_get_conversations_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_get_conversations_post_request is not None: - _body_params = v2_assistant_get_conversations_post_request + if v2_assistant_update_conversation_name_post_request is not None: + _body_params = v2_assistant_update_conversation_name_post_request # set the HTTP header `Accept` @@ -124550,7 +130145,7 @@ def _v2_assistant_get_conversations_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/get-conversations', + resource_path='/v2/assistant/update-conversation-name', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -124567,10 +130162,10 @@ def _v2_assistant_get_conversations_post_serialize( @validate_call - def v2_assistant_update_conversation_name_post( + def v2_assistant_version_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124583,14 +130178,14 @@ def v2_assistant_update_conversation_name_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assistant_update_conversation_name_post + ) -> V2AssistantVersionPostResponse: + """v2_assistant_version_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_update_conversation_name_post_request: (required) - :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124613,9 +130208,9 @@ def v2_assistant_update_conversation_name_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_update_conversation_name_post_serialize( + _param = self._v2_assistant_version_post_serialize( authorization=authorization, - v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124623,7 +130218,7 @@ def v2_assistant_update_conversation_name_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantVersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124637,10 +130232,10 @@ def v2_assistant_update_conversation_name_post( @validate_call - def v2_assistant_update_conversation_name_post_with_http_info( + def v2_assistant_version_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124653,14 +130248,14 @@ def v2_assistant_update_conversation_name_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assistant_update_conversation_name_post + ) -> ApiResponse[V2AssistantVersionPostResponse]: + """v2_assistant_version_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_update_conversation_name_post_request: (required) - :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124683,9 +130278,9 @@ def v2_assistant_update_conversation_name_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_update_conversation_name_post_serialize( + _param = self._v2_assistant_version_post_serialize( authorization=authorization, - v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124693,7 +130288,7 @@ def v2_assistant_update_conversation_name_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantVersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124707,10 +130302,10 @@ def v2_assistant_update_conversation_name_post_with_http_info( @validate_call - def v2_assistant_update_conversation_name_post_without_preload_content( + def v2_assistant_version_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest, + body: Dict[str, Any], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124724,13 +130319,13 @@ def v2_assistant_update_conversation_name_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_update_conversation_name_post + """v2_assistant_version_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assistant_update_conversation_name_post_request: (required) - :type v2_assistant_update_conversation_name_post_request: V2AssistantUpdateConversationNamePostRequest + :param body: (required) + :type body: object :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124753,9 +130348,9 @@ def v2_assistant_update_conversation_name_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_update_conversation_name_post_serialize( + _param = self._v2_assistant_version_post_serialize( authorization=authorization, - v2_assistant_update_conversation_name_post_request=v2_assistant_update_conversation_name_post_request, + body=body, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124763,7 +130358,7 @@ def v2_assistant_update_conversation_name_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssistantVersionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124772,10 +130367,10 @@ def v2_assistant_update_conversation_name_post_without_preload_content( return response_data.response - def _v2_assistant_update_conversation_name_post_serialize( + def _v2_assistant_version_post_serialize( self, authorization, - v2_assistant_update_conversation_name_post_request, + body, _request_auth, _content_type, _headers, @@ -124803,8 +130398,8 @@ def _v2_assistant_update_conversation_name_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assistant_update_conversation_name_post_request is not None: - _body_params = v2_assistant_update_conversation_name_post_request + if body is not None: + _body_params = body # set the HTTP header `Accept` @@ -124836,7 +130431,7 @@ def _v2_assistant_update_conversation_name_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/update-conversation-name', + resource_path='/v2/assistant/version', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -124853,10 +130448,10 @@ def _v2_assistant_update_conversation_name_post_serialize( @validate_call - def v2_assistant_version_post( + def v2_assurance_ai_adoption_summary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - body: Dict[str, Any], + v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124869,14 +130464,14 @@ def v2_assistant_version_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssistantVersionPostResponse: - """v2_assistant_version_post + ) -> V2AssuranceAiAdoptionSummaryPostResponse: + """v2_assurance_ai_adoption_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param body: (required) - :type body: object + :param v2_assurance_ai_adoption_summary_post_request: (required) + :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124899,9 +130494,9 @@ def v2_assistant_version_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_version_post_serialize( + _param = self._v2_assurance_ai_adoption_summary_post_serialize( authorization=authorization, - body=body, + v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124909,7 +130504,7 @@ def v2_assistant_version_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantVersionPostResponse", + '200': "V2AssuranceAiAdoptionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124923,10 +130518,10 @@ def v2_assistant_version_post( @validate_call - def v2_assistant_version_post_with_http_info( + def v2_assurance_ai_adoption_summary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - body: Dict[str, Any], + v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -124939,14 +130534,14 @@ def v2_assistant_version_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssistantVersionPostResponse]: - """v2_assistant_version_post + ) -> ApiResponse[V2AssuranceAiAdoptionSummaryPostResponse]: + """v2_assurance_ai_adoption_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param body: (required) - :type body: object + :param v2_assurance_ai_adoption_summary_post_request: (required) + :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -124969,9 +130564,9 @@ def v2_assistant_version_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_version_post_serialize( + _param = self._v2_assurance_ai_adoption_summary_post_serialize( authorization=authorization, - body=body, + v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -124979,7 +130574,7 @@ def v2_assistant_version_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantVersionPostResponse", + '200': "V2AssuranceAiAdoptionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -124993,10 +130588,10 @@ def v2_assistant_version_post_with_http_info( @validate_call - def v2_assistant_version_post_without_preload_content( + def v2_assurance_ai_adoption_summary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - body: Dict[str, Any], + v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125010,13 +130605,13 @@ def v2_assistant_version_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assistant_version_post + """v2_assurance_ai_adoption_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param body: (required) - :type body: object + :param v2_assurance_ai_adoption_summary_post_request: (required) + :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125039,9 +130634,9 @@ def v2_assistant_version_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assistant_version_post_serialize( + _param = self._v2_assurance_ai_adoption_summary_post_serialize( authorization=authorization, - body=body, + v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125049,7 +130644,7 @@ def v2_assistant_version_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssistantVersionPostResponse", + '200': "V2AssuranceAiAdoptionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125058,10 +130653,10 @@ def v2_assistant_version_post_without_preload_content( return response_data.response - def _v2_assistant_version_post_serialize( + def _v2_assurance_ai_adoption_summary_post_serialize( self, authorization, - body, + v2_assurance_ai_adoption_summary_post_request, _request_auth, _content_type, _headers, @@ -125089,8 +130684,8 @@ def _v2_assistant_version_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if body is not None: - _body_params = body + if v2_assurance_ai_adoption_summary_post_request is not None: + _body_params = v2_assurance_ai_adoption_summary_post_request # set the HTTP header `Accept` @@ -125122,7 +130717,7 @@ def _v2_assistant_version_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assistant/version', + resource_path='/v2/assurance/ai-adoption-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -125139,10 +130734,10 @@ def _v2_assistant_version_post_serialize( @validate_call - def v2_assurance_ai_adoption_summary_post( + def v2_assurance_applicationdetailsbyname_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, + v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125155,14 +130750,14 @@ def v2_assurance_ai_adoption_summary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceAiAdoptionSummaryPostResponse: - """v2_assurance_ai_adoption_summary_post + ) -> V2AssuranceApplicationdetailsbynamePostResponse: + """v2_assurance_applicationdetailsbyname_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_ai_adoption_summary_post_request: (required) - :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest + :param v2_assurance_applicationdetailsbyname_post_request: (required) + :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125185,9 +130780,9 @@ def v2_assurance_ai_adoption_summary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_ai_adoption_summary_post_serialize( + _param = self._v2_assurance_applicationdetailsbyname_post_serialize( authorization=authorization, - v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, + v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125195,7 +130790,7 @@ def v2_assurance_ai_adoption_summary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceAiAdoptionSummaryPostResponse", + '200': "V2AssuranceApplicationdetailsbynamePostResponse", } response_data = self.api_client.call_api( *_param, @@ -125209,10 +130804,10 @@ def v2_assurance_ai_adoption_summary_post( @validate_call - def v2_assurance_ai_adoption_summary_post_with_http_info( + def v2_assurance_applicationdetailsbyname_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, + v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125225,14 +130820,14 @@ def v2_assurance_ai_adoption_summary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceAiAdoptionSummaryPostResponse]: - """v2_assurance_ai_adoption_summary_post + ) -> ApiResponse[V2AssuranceApplicationdetailsbynamePostResponse]: + """v2_assurance_applicationdetailsbyname_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_ai_adoption_summary_post_request: (required) - :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest + :param v2_assurance_applicationdetailsbyname_post_request: (required) + :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125255,9 +130850,9 @@ def v2_assurance_ai_adoption_summary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_ai_adoption_summary_post_serialize( + _param = self._v2_assurance_applicationdetailsbyname_post_serialize( authorization=authorization, - v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, + v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125265,7 +130860,7 @@ def v2_assurance_ai_adoption_summary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceAiAdoptionSummaryPostResponse", + '200': "V2AssuranceApplicationdetailsbynamePostResponse", } response_data = self.api_client.call_api( *_param, @@ -125279,10 +130874,10 @@ def v2_assurance_ai_adoption_summary_post_with_http_info( @validate_call - def v2_assurance_ai_adoption_summary_post_without_preload_content( + def v2_assurance_applicationdetailsbyname_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest, + v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125296,13 +130891,13 @@ def v2_assurance_ai_adoption_summary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_ai_adoption_summary_post + """v2_assurance_applicationdetailsbyname_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_ai_adoption_summary_post_request: (required) - :type v2_assurance_ai_adoption_summary_post_request: V2AssuranceAiAdoptionSummaryPostRequest + :param v2_assurance_applicationdetailsbyname_post_request: (required) + :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125325,9 +130920,9 @@ def v2_assurance_ai_adoption_summary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_ai_adoption_summary_post_serialize( + _param = self._v2_assurance_applicationdetailsbyname_post_serialize( authorization=authorization, - v2_assurance_ai_adoption_summary_post_request=v2_assurance_ai_adoption_summary_post_request, + v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125335,7 +130930,7 @@ def v2_assurance_ai_adoption_summary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceAiAdoptionSummaryPostResponse", + '200': "V2AssuranceApplicationdetailsbynamePostResponse", } response_data = self.api_client.call_api( *_param, @@ -125344,10 +130939,10 @@ def v2_assurance_ai_adoption_summary_post_without_preload_content( return response_data.response - def _v2_assurance_ai_adoption_summary_post_serialize( + def _v2_assurance_applicationdetailsbyname_post_serialize( self, authorization, - v2_assurance_ai_adoption_summary_post_request, + v2_assurance_applicationdetailsbyname_post_request, _request_auth, _content_type, _headers, @@ -125375,8 +130970,8 @@ def _v2_assurance_ai_adoption_summary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_ai_adoption_summary_post_request is not None: - _body_params = v2_assurance_ai_adoption_summary_post_request + if v2_assurance_applicationdetailsbyname_post_request is not None: + _body_params = v2_assurance_applicationdetailsbyname_post_request # set the HTTP header `Accept` @@ -125408,7 +131003,7 @@ def _v2_assurance_ai_adoption_summary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/ai-adoption-summary', + resource_path='/v2/assurance/applicationdetailsbyname', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -125425,10 +131020,10 @@ def _v2_assurance_ai_adoption_summary_post_serialize( @validate_call - def v2_assurance_applicationdetailsbyname_post( + def v2_assurance_applicationprofilesummary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, + v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125441,14 +131036,14 @@ def v2_assurance_applicationdetailsbyname_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceApplicationdetailsbynamePostResponse: - """v2_assurance_applicationdetailsbyname_post + ) -> V2AssuranceApplicationprofilesummaryPostResponse: + """v2_assurance_applicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationdetailsbyname_post_request: (required) - :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest + :param v2_assurance_applicationprofilesummary_post_request: (required) + :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125471,9 +131066,9 @@ def v2_assurance_applicationdetailsbyname_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationdetailsbyname_post_serialize( + _param = self._v2_assurance_applicationprofilesummary_post_serialize( authorization=authorization, - v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125481,7 +131076,7 @@ def v2_assurance_applicationdetailsbyname_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationdetailsbynamePostResponse", + '200': "V2AssuranceApplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125495,10 +131090,10 @@ def v2_assurance_applicationdetailsbyname_post( @validate_call - def v2_assurance_applicationdetailsbyname_post_with_http_info( + def v2_assurance_applicationprofilesummary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, + v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125511,14 +131106,14 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceApplicationdetailsbynamePostResponse]: - """v2_assurance_applicationdetailsbyname_post + ) -> ApiResponse[V2AssuranceApplicationprofilesummaryPostResponse]: + """v2_assurance_applicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationdetailsbyname_post_request: (required) - :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest + :param v2_assurance_applicationprofilesummary_post_request: (required) + :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125541,9 +131136,9 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationdetailsbyname_post_serialize( + _param = self._v2_assurance_applicationprofilesummary_post_serialize( authorization=authorization, - v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125551,7 +131146,7 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationdetailsbynamePostResponse", + '200': "V2AssuranceApplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125565,10 +131160,10 @@ def v2_assurance_applicationdetailsbyname_post_with_http_info( @validate_call - def v2_assurance_applicationdetailsbyname_post_without_preload_content( + def v2_assurance_applicationprofilesummary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest, + v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125582,13 +131177,13 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_applicationdetailsbyname_post + """v2_assurance_applicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationdetailsbyname_post_request: (required) - :type v2_assurance_applicationdetailsbyname_post_request: V2AssuranceApplicationdetailsbynamePostRequest + :param v2_assurance_applicationprofilesummary_post_request: (required) + :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125611,9 +131206,9 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationdetailsbyname_post_serialize( + _param = self._v2_assurance_applicationprofilesummary_post_serialize( authorization=authorization, - v2_assurance_applicationdetailsbyname_post_request=v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125621,7 +131216,7 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationdetailsbynamePostResponse", + '200': "V2AssuranceApplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125630,10 +131225,10 @@ def v2_assurance_applicationdetailsbyname_post_without_preload_content( return response_data.response - def _v2_assurance_applicationdetailsbyname_post_serialize( + def _v2_assurance_applicationprofilesummary_post_serialize( self, authorization, - v2_assurance_applicationdetailsbyname_post_request, + v2_assurance_applicationprofilesummary_post_request, _request_auth, _content_type, _headers, @@ -125661,8 +131256,8 @@ def _v2_assurance_applicationdetailsbyname_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_applicationdetailsbyname_post_request is not None: - _body_params = v2_assurance_applicationdetailsbyname_post_request + if v2_assurance_applicationprofilesummary_post_request is not None: + _body_params = v2_assurance_applicationprofilesummary_post_request # set the HTTP header `Accept` @@ -125694,7 +131289,7 @@ def _v2_assurance_applicationdetailsbyname_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/applicationdetailsbyname', + resource_path='/v2/assurance/applicationprofilesummary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -125711,10 +131306,10 @@ def _v2_assurance_applicationdetailsbyname_post_serialize( @validate_call - def v2_assurance_applicationprofilesummary_post( + def v2_assurance_bucket_app_servers_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, + v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125727,14 +131322,14 @@ def v2_assurance_applicationprofilesummary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceApplicationprofilesummaryPostResponse: - """v2_assurance_applicationprofilesummary_post + ) -> V2AssuranceBucketAppServersPostResponse: + """v2_assurance_bucket_app_servers_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationprofilesummary_post_request: (required) - :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest + :param v2_assurance_bucket_app_servers_post_request: (required) + :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125757,9 +131352,9 @@ def v2_assurance_applicationprofilesummary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationprofilesummary_post_serialize( + _param = self._v2_assurance_bucket_app_servers_post_serialize( authorization=authorization, - v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125767,7 +131362,7 @@ def v2_assurance_applicationprofilesummary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationprofilesummaryPostResponse", + '200': "V2AssuranceBucketAppServersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125781,10 +131376,10 @@ def v2_assurance_applicationprofilesummary_post( @validate_call - def v2_assurance_applicationprofilesummary_post_with_http_info( + def v2_assurance_bucket_app_servers_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, + v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125797,14 +131392,14 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceApplicationprofilesummaryPostResponse]: - """v2_assurance_applicationprofilesummary_post + ) -> ApiResponse[V2AssuranceBucketAppServersPostResponse]: + """v2_assurance_bucket_app_servers_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationprofilesummary_post_request: (required) - :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest + :param v2_assurance_bucket_app_servers_post_request: (required) + :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125827,9 +131422,9 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationprofilesummary_post_serialize( + _param = self._v2_assurance_bucket_app_servers_post_serialize( authorization=authorization, - v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125837,7 +131432,7 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationprofilesummaryPostResponse", + '200': "V2AssuranceBucketAppServersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125851,10 +131446,10 @@ def v2_assurance_applicationprofilesummary_post_with_http_info( @validate_call - def v2_assurance_applicationprofilesummary_post_without_preload_content( + def v2_assurance_bucket_app_servers_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest, + v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -125868,13 +131463,13 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_applicationprofilesummary_post + """v2_assurance_bucket_app_servers_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_applicationprofilesummary_post_request: (required) - :type v2_assurance_applicationprofilesummary_post_request: V2AssuranceApplicationprofilesummaryPostRequest + :param v2_assurance_bucket_app_servers_post_request: (required) + :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -125897,9 +131492,9 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_applicationprofilesummary_post_serialize( + _param = self._v2_assurance_bucket_app_servers_post_serialize( authorization=authorization, - v2_assurance_applicationprofilesummary_post_request=v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -125907,7 +131502,7 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceApplicationprofilesummaryPostResponse", + '200': "V2AssuranceBucketAppServersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -125916,10 +131511,10 @@ def v2_assurance_applicationprofilesummary_post_without_preload_content( return response_data.response - def _v2_assurance_applicationprofilesummary_post_serialize( + def _v2_assurance_bucket_app_servers_post_serialize( self, authorization, - v2_assurance_applicationprofilesummary_post_request, + v2_assurance_bucket_app_servers_post_request, _request_auth, _content_type, _headers, @@ -125947,8 +131542,8 @@ def _v2_assurance_applicationprofilesummary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_applicationprofilesummary_post_request is not None: - _body_params = v2_assurance_applicationprofilesummary_post_request + if v2_assurance_bucket_app_servers_post_request is not None: + _body_params = v2_assurance_bucket_app_servers_post_request # set the HTTP header `Accept` @@ -125980,7 +131575,7 @@ def _v2_assurance_applicationprofilesummary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/applicationprofilesummary', + resource_path='/v2/assurance/bucket-app-servers', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -125997,10 +131592,10 @@ def _v2_assurance_applicationprofilesummary_post_serialize( @validate_call - def v2_assurance_bucket_app_servers_post( + def v2_assurance_bucket_apps_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, + v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126013,14 +131608,14 @@ def v2_assurance_bucket_app_servers_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketAppServersPostResponse: - """v2_assurance_bucket_app_servers_post + ) -> V2AssuranceBucketAppsPostResponse: + """v2_assurance_bucket_apps_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_app_servers_post_request: (required) - :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest + :param v2_assurance_bucket_apps_post_request: (required) + :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126043,9 +131638,9 @@ def v2_assurance_bucket_app_servers_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_app_servers_post_serialize( + _param = self._v2_assurance_bucket_apps_post_serialize( authorization=authorization, - v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126053,7 +131648,7 @@ def v2_assurance_bucket_app_servers_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppServersPostResponse", + '200': "V2AssuranceBucketAppsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126067,10 +131662,10 @@ def v2_assurance_bucket_app_servers_post( @validate_call - def v2_assurance_bucket_app_servers_post_with_http_info( + def v2_assurance_bucket_apps_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, + v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126083,14 +131678,14 @@ def v2_assurance_bucket_app_servers_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketAppServersPostResponse]: - """v2_assurance_bucket_app_servers_post + ) -> ApiResponse[V2AssuranceBucketAppsPostResponse]: + """v2_assurance_bucket_apps_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_app_servers_post_request: (required) - :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest + :param v2_assurance_bucket_apps_post_request: (required) + :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126113,9 +131708,9 @@ def v2_assurance_bucket_app_servers_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_app_servers_post_serialize( + _param = self._v2_assurance_bucket_apps_post_serialize( authorization=authorization, - v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126123,7 +131718,7 @@ def v2_assurance_bucket_app_servers_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppServersPostResponse", + '200': "V2AssuranceBucketAppsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126137,10 +131732,10 @@ def v2_assurance_bucket_app_servers_post_with_http_info( @validate_call - def v2_assurance_bucket_app_servers_post_without_preload_content( + def v2_assurance_bucket_apps_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest, + v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126154,13 +131749,13 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_app_servers_post + """v2_assurance_bucket_apps_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_app_servers_post_request: (required) - :type v2_assurance_bucket_app_servers_post_request: V2AssuranceBucketAppServersPostRequest + :param v2_assurance_bucket_apps_post_request: (required) + :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126183,9 +131778,9 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_app_servers_post_serialize( + _param = self._v2_assurance_bucket_apps_post_serialize( authorization=authorization, - v2_assurance_bucket_app_servers_post_request=v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126193,7 +131788,7 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppServersPostResponse", + '200': "V2AssuranceBucketAppsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126202,10 +131797,10 @@ def v2_assurance_bucket_app_servers_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_app_servers_post_serialize( + def _v2_assurance_bucket_apps_post_serialize( self, authorization, - v2_assurance_bucket_app_servers_post_request, + v2_assurance_bucket_apps_post_request, _request_auth, _content_type, _headers, @@ -126233,8 +131828,8 @@ def _v2_assurance_bucket_app_servers_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_app_servers_post_request is not None: - _body_params = v2_assurance_bucket_app_servers_post_request + if v2_assurance_bucket_apps_post_request is not None: + _body_params = v2_assurance_bucket_apps_post_request # set the HTTP header `Accept` @@ -126266,7 +131861,7 @@ def _v2_assurance_bucket_app_servers_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-app-servers', + resource_path='/v2/assurance/bucket-apps', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -126283,10 +131878,10 @@ def _v2_assurance_bucket_app_servers_post_serialize( @validate_call - def v2_assurance_bucket_apps_post( + def v2_assurance_bucket_services_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, + v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126299,14 +131894,14 @@ def v2_assurance_bucket_apps_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketAppsPostResponse: - """v2_assurance_bucket_apps_post + ) -> V2AssuranceBucketServicesPostResponse: + """v2_assurance_bucket_services_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_apps_post_request: (required) - :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest + :param v2_assurance_bucket_services_post_request: (required) + :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126329,9 +131924,9 @@ def v2_assurance_bucket_apps_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_apps_post_serialize( + _param = self._v2_assurance_bucket_services_post_serialize( authorization=authorization, - v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, + v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126339,7 +131934,7 @@ def v2_assurance_bucket_apps_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppsPostResponse", + '200': "V2AssuranceBucketServicesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126353,10 +131948,10 @@ def v2_assurance_bucket_apps_post( @validate_call - def v2_assurance_bucket_apps_post_with_http_info( + def v2_assurance_bucket_services_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, + v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126369,14 +131964,14 @@ def v2_assurance_bucket_apps_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketAppsPostResponse]: - """v2_assurance_bucket_apps_post + ) -> ApiResponse[V2AssuranceBucketServicesPostResponse]: + """v2_assurance_bucket_services_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_apps_post_request: (required) - :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest + :param v2_assurance_bucket_services_post_request: (required) + :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126399,9 +131994,9 @@ def v2_assurance_bucket_apps_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_apps_post_serialize( + _param = self._v2_assurance_bucket_services_post_serialize( authorization=authorization, - v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, + v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126409,7 +132004,7 @@ def v2_assurance_bucket_apps_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppsPostResponse", + '200': "V2AssuranceBucketServicesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126423,10 +132018,10 @@ def v2_assurance_bucket_apps_post_with_http_info( @validate_call - def v2_assurance_bucket_apps_post_without_preload_content( + def v2_assurance_bucket_services_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest, + v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126440,13 +132035,13 @@ def v2_assurance_bucket_apps_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_apps_post + """v2_assurance_bucket_services_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_apps_post_request: (required) - :type v2_assurance_bucket_apps_post_request: V2AssuranceBucketAppsPostRequest + :param v2_assurance_bucket_services_post_request: (required) + :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126469,9 +132064,9 @@ def v2_assurance_bucket_apps_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_apps_post_serialize( + _param = self._v2_assurance_bucket_services_post_serialize( authorization=authorization, - v2_assurance_bucket_apps_post_request=v2_assurance_bucket_apps_post_request, + v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126479,7 +132074,7 @@ def v2_assurance_bucket_apps_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketAppsPostResponse", + '200': "V2AssuranceBucketServicesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126488,10 +132083,10 @@ def v2_assurance_bucket_apps_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_apps_post_serialize( + def _v2_assurance_bucket_services_post_serialize( self, authorization, - v2_assurance_bucket_apps_post_request, + v2_assurance_bucket_services_post_request, _request_auth, _content_type, _headers, @@ -126519,8 +132114,8 @@ def _v2_assurance_bucket_apps_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_apps_post_request is not None: - _body_params = v2_assurance_bucket_apps_post_request + if v2_assurance_bucket_services_post_request is not None: + _body_params = v2_assurance_bucket_services_post_request # set the HTTP header `Accept` @@ -126552,7 +132147,7 @@ def _v2_assurance_bucket_apps_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-apps', + resource_path='/v2/assurance/bucket-services', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -126569,10 +132164,10 @@ def _v2_assurance_bucket_apps_post_serialize( @validate_call - def v2_assurance_bucket_services_post( + def v2_assurance_bucket_topologies_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, + v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126585,14 +132180,14 @@ def v2_assurance_bucket_services_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketServicesPostResponse: - """v2_assurance_bucket_services_post + ) -> V2AssuranceBucketTopologiesPostResponse: + """v2_assurance_bucket_topologies_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_services_post_request: (required) - :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest + :param v2_assurance_bucket_topologies_post_request: (required) + :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126615,9 +132210,9 @@ def v2_assurance_bucket_services_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_services_post_serialize( + _param = self._v2_assurance_bucket_topologies_post_serialize( authorization=authorization, - v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, + v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126625,7 +132220,7 @@ def v2_assurance_bucket_services_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketServicesPostResponse", + '200': "V2AssuranceBucketTopologiesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126639,10 +132234,10 @@ def v2_assurance_bucket_services_post( @validate_call - def v2_assurance_bucket_services_post_with_http_info( + def v2_assurance_bucket_topologies_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, + v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126655,14 +132250,14 @@ def v2_assurance_bucket_services_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketServicesPostResponse]: - """v2_assurance_bucket_services_post + ) -> ApiResponse[V2AssuranceBucketTopologiesPostResponse]: + """v2_assurance_bucket_topologies_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_services_post_request: (required) - :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest + :param v2_assurance_bucket_topologies_post_request: (required) + :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126685,9 +132280,9 @@ def v2_assurance_bucket_services_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_services_post_serialize( + _param = self._v2_assurance_bucket_topologies_post_serialize( authorization=authorization, - v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, + v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126695,7 +132290,7 @@ def v2_assurance_bucket_services_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketServicesPostResponse", + '200': "V2AssuranceBucketTopologiesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126709,10 +132304,10 @@ def v2_assurance_bucket_services_post_with_http_info( @validate_call - def v2_assurance_bucket_services_post_without_preload_content( + def v2_assurance_bucket_topologies_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest, + v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126726,13 +132321,13 @@ def v2_assurance_bucket_services_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_services_post + """v2_assurance_bucket_topologies_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_services_post_request: (required) - :type v2_assurance_bucket_services_post_request: V2AssuranceBucketServicesPostRequest + :param v2_assurance_bucket_topologies_post_request: (required) + :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126755,9 +132350,9 @@ def v2_assurance_bucket_services_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_services_post_serialize( + _param = self._v2_assurance_bucket_topologies_post_serialize( authorization=authorization, - v2_assurance_bucket_services_post_request=v2_assurance_bucket_services_post_request, + v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126765,7 +132360,7 @@ def v2_assurance_bucket_services_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketServicesPostResponse", + '200': "V2AssuranceBucketTopologiesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126774,10 +132369,10 @@ def v2_assurance_bucket_services_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_services_post_serialize( + def _v2_assurance_bucket_topologies_post_serialize( self, authorization, - v2_assurance_bucket_services_post_request, + v2_assurance_bucket_topologies_post_request, _request_auth, _content_type, _headers, @@ -126805,8 +132400,8 @@ def _v2_assurance_bucket_services_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_services_post_request is not None: - _body_params = v2_assurance_bucket_services_post_request + if v2_assurance_bucket_topologies_post_request is not None: + _body_params = v2_assurance_bucket_topologies_post_request # set the HTTP header `Accept` @@ -126838,7 +132433,7 @@ def _v2_assurance_bucket_services_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-services', + resource_path='/v2/assurance/bucket-topologies', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -126855,10 +132450,10 @@ def _v2_assurance_bucket_services_post_serialize( @validate_call - def v2_assurance_bucket_topologies_post( + def v2_assurance_bucketdetails_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, + v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126871,14 +132466,14 @@ def v2_assurance_bucket_topologies_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketTopologiesPostResponse: - """v2_assurance_bucket_topologies_post + ) -> V2AssuranceBucketdetailsPostResponse: + """v2_assurance_bucketdetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_topologies_post_request: (required) - :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest + :param v2_assurance_bucketdetails_post_request: (required) + :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126901,9 +132496,9 @@ def v2_assurance_bucket_topologies_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_topologies_post_serialize( + _param = self._v2_assurance_bucketdetails_post_serialize( authorization=authorization, - v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, + v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126911,7 +132506,7 @@ def v2_assurance_bucket_topologies_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketTopologiesPostResponse", + '200': "V2AssuranceBucketdetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126925,10 +132520,10 @@ def v2_assurance_bucket_topologies_post( @validate_call - def v2_assurance_bucket_topologies_post_with_http_info( + def v2_assurance_bucketdetails_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, + v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -126941,14 +132536,14 @@ def v2_assurance_bucket_topologies_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketTopologiesPostResponse]: - """v2_assurance_bucket_topologies_post + ) -> ApiResponse[V2AssuranceBucketdetailsPostResponse]: + """v2_assurance_bucketdetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_topologies_post_request: (required) - :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest + :param v2_assurance_bucketdetails_post_request: (required) + :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -126971,9 +132566,9 @@ def v2_assurance_bucket_topologies_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_topologies_post_serialize( + _param = self._v2_assurance_bucketdetails_post_serialize( authorization=authorization, - v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, + v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -126981,7 +132576,7 @@ def v2_assurance_bucket_topologies_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketTopologiesPostResponse", + '200': "V2AssuranceBucketdetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -126995,10 +132590,10 @@ def v2_assurance_bucket_topologies_post_with_http_info( @validate_call - def v2_assurance_bucket_topologies_post_without_preload_content( + def v2_assurance_bucketdetails_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest, + v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127012,13 +132607,13 @@ def v2_assurance_bucket_topologies_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucket_topologies_post + """v2_assurance_bucketdetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucket_topologies_post_request: (required) - :type v2_assurance_bucket_topologies_post_request: V2AssuranceBucketTopologiesPostRequest + :param v2_assurance_bucketdetails_post_request: (required) + :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127041,9 +132636,9 @@ def v2_assurance_bucket_topologies_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucket_topologies_post_serialize( + _param = self._v2_assurance_bucketdetails_post_serialize( authorization=authorization, - v2_assurance_bucket_topologies_post_request=v2_assurance_bucket_topologies_post_request, + v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127051,7 +132646,7 @@ def v2_assurance_bucket_topologies_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketTopologiesPostResponse", + '200': "V2AssuranceBucketdetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127060,10 +132655,10 @@ def v2_assurance_bucket_topologies_post_without_preload_content( return response_data.response - def _v2_assurance_bucket_topologies_post_serialize( + def _v2_assurance_bucketdetails_post_serialize( self, authorization, - v2_assurance_bucket_topologies_post_request, + v2_assurance_bucketdetails_post_request, _request_auth, _content_type, _headers, @@ -127091,8 +132686,8 @@ def _v2_assurance_bucket_topologies_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucket_topologies_post_request is not None: - _body_params = v2_assurance_bucket_topologies_post_request + if v2_assurance_bucketdetails_post_request is not None: + _body_params = v2_assurance_bucketdetails_post_request # set the HTTP header `Accept` @@ -127124,7 +132719,7 @@ def _v2_assurance_bucket_topologies_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucket-topologies', + resource_path='/v2/assurance/bucketdetails', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -127141,10 +132736,10 @@ def _v2_assurance_bucket_topologies_post_serialize( @validate_call - def v2_assurance_bucketdetails_post( + def v2_assurance_create_ai_adoption_approve_entry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, + v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127157,14 +132752,14 @@ def v2_assurance_bucketdetails_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceBucketdetailsPostResponse: - """v2_assurance_bucketdetails_post + ) -> V2AssuranceCreateAiAdoptionApproveEntryPostResponse: + """v2_assurance_create_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucketdetails_post_request: (required) - :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest + :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127187,9 +132782,9 @@ def v2_assurance_bucketdetails_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucketdetails_post_serialize( + _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127197,7 +132792,7 @@ def v2_assurance_bucketdetails_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketdetailsPostResponse", + '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127211,10 +132806,10 @@ def v2_assurance_bucketdetails_post( @validate_call - def v2_assurance_bucketdetails_post_with_http_info( + def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, + v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127227,14 +132822,14 @@ def v2_assurance_bucketdetails_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceBucketdetailsPostResponse]: - """v2_assurance_bucketdetails_post + ) -> ApiResponse[V2AssuranceCreateAiAdoptionApproveEntryPostResponse]: + """v2_assurance_create_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucketdetails_post_request: (required) - :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest + :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127257,9 +132852,9 @@ def v2_assurance_bucketdetails_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucketdetails_post_serialize( + _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127267,7 +132862,7 @@ def v2_assurance_bucketdetails_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketdetailsPostResponse", + '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127281,10 +132876,10 @@ def v2_assurance_bucketdetails_post_with_http_info( @validate_call - def v2_assurance_bucketdetails_post_without_preload_content( + def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest, + v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127298,13 +132893,13 @@ def v2_assurance_bucketdetails_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_bucketdetails_post + """v2_assurance_create_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_bucketdetails_post_request: (required) - :type v2_assurance_bucketdetails_post_request: V2AssuranceBucketdetailsPostRequest + :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127327,9 +132922,9 @@ def v2_assurance_bucketdetails_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_bucketdetails_post_serialize( + _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_bucketdetails_post_request=v2_assurance_bucketdetails_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127337,7 +132932,7 @@ def v2_assurance_bucketdetails_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceBucketdetailsPostResponse", + '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127346,10 +132941,10 @@ def v2_assurance_bucketdetails_post_without_preload_content( return response_data.response - def _v2_assurance_bucketdetails_post_serialize( + def _v2_assurance_create_ai_adoption_approve_entry_post_serialize( self, authorization, - v2_assurance_bucketdetails_post_request, + v2_assurance_create_ai_adoption_approve_entry_post_request, _request_auth, _content_type, _headers, @@ -127377,8 +132972,8 @@ def _v2_assurance_bucketdetails_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_bucketdetails_post_request is not None: - _body_params = v2_assurance_bucketdetails_post_request + if v2_assurance_create_ai_adoption_approve_entry_post_request is not None: + _body_params = v2_assurance_create_ai_adoption_approve_entry_post_request # set the HTTP header `Accept` @@ -127410,7 +133005,7 @@ def _v2_assurance_bucketdetails_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/bucketdetails', + resource_path='/v2/assurance/create-ai-adoption-approve-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -127427,10 +133022,10 @@ def _v2_assurance_bucketdetails_post_serialize( @validate_call - def v2_assurance_create_ai_adoption_approve_entry_post( + def v2_assurance_create_dnsproxy_entry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, + v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127443,14 +133038,14 @@ def v2_assurance_create_ai_adoption_approve_entry_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateAiAdoptionApproveEntryPostResponse: - """v2_assurance_create_ai_adoption_approve_entry_post + ) -> V2AssuranceCreateDnsproxyEntryPostResponse: + """v2_assurance_create_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) - :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest + :param v2_assurance_create_dnsproxy_entry_post_request: (required) + :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127473,9 +133068,9 @@ def v2_assurance_create_ai_adoption_approve_entry_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( + _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, + v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127483,7 +133078,7 @@ def v2_assurance_create_ai_adoption_approve_entry_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", + '200': "V2AssuranceCreateDnsproxyEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127497,10 +133092,10 @@ def v2_assurance_create_ai_adoption_approve_entry_post( @validate_call - def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( + def v2_assurance_create_dnsproxy_entry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, + v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127513,14 +133108,14 @@ def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateAiAdoptionApproveEntryPostResponse]: - """v2_assurance_create_ai_adoption_approve_entry_post + ) -> ApiResponse[V2AssuranceCreateDnsproxyEntryPostResponse]: + """v2_assurance_create_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) - :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest + :param v2_assurance_create_dnsproxy_entry_post_request: (required) + :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127543,9 +133138,9 @@ def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( + _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, + v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127553,7 +133148,7 @@ def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", + '200': "V2AssuranceCreateDnsproxyEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127567,10 +133162,10 @@ def v2_assurance_create_ai_adoption_approve_entry_post_with_http_info( @validate_call - def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( + def v2_assurance_create_dnsproxy_entry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest, + v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127584,13 +133179,13 @@ def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_create_ai_adoption_approve_entry_post + """v2_assurance_create_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_ai_adoption_approve_entry_post_request: (required) - :type v2_assurance_create_ai_adoption_approve_entry_post_request: V2AssuranceCreateAiAdoptionApproveEntryPostRequest + :param v2_assurance_create_dnsproxy_entry_post_request: (required) + :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127613,9 +133208,9 @@ def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_ai_adoption_approve_entry_post_serialize( + _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_create_ai_adoption_approve_entry_post_request=v2_assurance_create_ai_adoption_approve_entry_post_request, + v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127623,7 +133218,7 @@ def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateAiAdoptionApproveEntryPostResponse", + '200': "V2AssuranceCreateDnsproxyEntryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127632,10 +133227,10 @@ def v2_assurance_create_ai_adoption_approve_entry_post_without_preload_content( return response_data.response - def _v2_assurance_create_ai_adoption_approve_entry_post_serialize( + def _v2_assurance_create_dnsproxy_entry_post_serialize( self, authorization, - v2_assurance_create_ai_adoption_approve_entry_post_request, + v2_assurance_create_dnsproxy_entry_post_request, _request_auth, _content_type, _headers, @@ -127663,8 +133258,8 @@ def _v2_assurance_create_ai_adoption_approve_entry_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_create_ai_adoption_approve_entry_post_request is not None: - _body_params = v2_assurance_create_ai_adoption_approve_entry_post_request + if v2_assurance_create_dnsproxy_entry_post_request is not None: + _body_params = v2_assurance_create_dnsproxy_entry_post_request # set the HTTP header `Accept` @@ -127696,7 +133291,7 @@ def _v2_assurance_create_ai_adoption_approve_entry_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/create-ai-adoption-approve-entry', + resource_path='/v2/assurance/create-dnsproxy-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -127713,10 +133308,10 @@ def _v2_assurance_create_ai_adoption_approve_entry_post_serialize( @validate_call - def v2_assurance_create_dnsproxy_entry_post( + def v2_assurance_create_user_report_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, + v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127729,14 +133324,14 @@ def v2_assurance_create_dnsproxy_entry_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateDnsproxyEntryPostResponse: - """v2_assurance_create_dnsproxy_entry_post + ) -> V2AssuranceCreateUserReportPostResponse: + """v2_assurance_create_user_report_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_dnsproxy_entry_post_request: (required) - :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest + :param v2_assurance_create_user_report_post_request: (required) + :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127759,9 +133354,9 @@ def v2_assurance_create_dnsproxy_entry_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_create_user_report_post_serialize( authorization=authorization, - v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, + v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127769,7 +133364,7 @@ def v2_assurance_create_dnsproxy_entry_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateDnsproxyEntryPostResponse", + '200': "V2AssuranceCreateUserReportPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127783,10 +133378,10 @@ def v2_assurance_create_dnsproxy_entry_post( @validate_call - def v2_assurance_create_dnsproxy_entry_post_with_http_info( + def v2_assurance_create_user_report_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, + v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127799,14 +133394,14 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateDnsproxyEntryPostResponse]: - """v2_assurance_create_dnsproxy_entry_post + ) -> ApiResponse[V2AssuranceCreateUserReportPostResponse]: + """v2_assurance_create_user_report_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_dnsproxy_entry_post_request: (required) - :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest + :param v2_assurance_create_user_report_post_request: (required) + :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127829,9 +133424,9 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_create_user_report_post_serialize( authorization=authorization, - v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, + v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127839,7 +133434,7 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateDnsproxyEntryPostResponse", + '200': "V2AssuranceCreateUserReportPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127853,10 +133448,10 @@ def v2_assurance_create_dnsproxy_entry_post_with_http_info( @validate_call - def v2_assurance_create_dnsproxy_entry_post_without_preload_content( + def v2_assurance_create_user_report_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest, + v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -127870,13 +133465,13 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_create_dnsproxy_entry_post + """v2_assurance_create_user_report_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_dnsproxy_entry_post_request: (required) - :type v2_assurance_create_dnsproxy_entry_post_request: V2AssuranceCreateDnsproxyEntryPostRequest + :param v2_assurance_create_user_report_post_request: (required) + :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -127899,9 +133494,9 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_create_user_report_post_serialize( authorization=authorization, - v2_assurance_create_dnsproxy_entry_post_request=v2_assurance_create_dnsproxy_entry_post_request, + v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127909,7 +133504,7 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateDnsproxyEntryPostResponse", + '200': "V2AssuranceCreateUserReportPostResponse", } response_data = self.api_client.call_api( *_param, @@ -127918,10 +133513,10 @@ def v2_assurance_create_dnsproxy_entry_post_without_preload_content( return response_data.response - def _v2_assurance_create_dnsproxy_entry_post_serialize( + def _v2_assurance_create_user_report_post_serialize( self, authorization, - v2_assurance_create_dnsproxy_entry_post_request, + v2_assurance_create_user_report_post_request, _request_auth, _content_type, _headers, @@ -127949,8 +133544,8 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_create_dnsproxy_entry_post_request is not None: - _body_params = v2_assurance_create_dnsproxy_entry_post_request + if v2_assurance_create_user_report_post_request is not None: + _body_params = v2_assurance_create_user_report_post_request # set the HTTP header `Accept` @@ -127982,7 +133577,7 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/create-dnsproxy-entry', + resource_path='/v2/assurance/create-user-report', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -127999,10 +133594,10 @@ def _v2_assurance_create_dnsproxy_entry_post_serialize( @validate_call - def v2_assurance_create_user_report_post( + def v2_assurance_createclassifiedapplication_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, + v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128015,14 +133610,14 @@ def v2_assurance_create_user_report_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateUserReportPostResponse: - """v2_assurance_create_user_report_post + ) -> V2AssuranceCreateclassifiedapplicationPostResponse: + """v2_assurance_createclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_user_report_post_request: (required) - :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest + :param v2_assurance_createclassifiedapplication_post_request: (required) + :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128045,9 +133640,9 @@ def v2_assurance_create_user_report_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_user_report_post_serialize( + _param = self._v2_assurance_createclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, + v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128055,7 +133650,7 @@ def v2_assurance_create_user_report_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateUserReportPostResponse", + '200': "V2AssuranceCreateclassifiedapplicationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -128069,10 +133664,10 @@ def v2_assurance_create_user_report_post( @validate_call - def v2_assurance_create_user_report_post_with_http_info( + def v2_assurance_createclassifiedapplication_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, + v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128085,14 +133680,14 @@ def v2_assurance_create_user_report_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateUserReportPostResponse]: - """v2_assurance_create_user_report_post + ) -> ApiResponse[V2AssuranceCreateclassifiedapplicationPostResponse]: + """v2_assurance_createclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_user_report_post_request: (required) - :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest + :param v2_assurance_createclassifiedapplication_post_request: (required) + :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128115,9 +133710,9 @@ def v2_assurance_create_user_report_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_user_report_post_serialize( + _param = self._v2_assurance_createclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, + v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128125,7 +133720,7 @@ def v2_assurance_create_user_report_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateUserReportPostResponse", + '200': "V2AssuranceCreateclassifiedapplicationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -128139,10 +133734,10 @@ def v2_assurance_create_user_report_post_with_http_info( @validate_call - def v2_assurance_create_user_report_post_without_preload_content( + def v2_assurance_createclassifiedapplication_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest, + v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128156,13 +133751,13 @@ def v2_assurance_create_user_report_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_create_user_report_post + """v2_assurance_createclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_create_user_report_post_request: (required) - :type v2_assurance_create_user_report_post_request: V2AssuranceCreateUserReportPostRequest + :param v2_assurance_createclassifiedapplication_post_request: (required) + :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128185,9 +133780,9 @@ def v2_assurance_create_user_report_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_create_user_report_post_serialize( + _param = self._v2_assurance_createclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_create_user_report_post_request=v2_assurance_create_user_report_post_request, + v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128195,7 +133790,7 @@ def v2_assurance_create_user_report_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateUserReportPostResponse", + '200': "V2AssuranceCreateclassifiedapplicationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -128204,10 +133799,10 @@ def v2_assurance_create_user_report_post_without_preload_content( return response_data.response - def _v2_assurance_create_user_report_post_serialize( + def _v2_assurance_createclassifiedapplication_post_serialize( self, authorization, - v2_assurance_create_user_report_post_request, + v2_assurance_createclassifiedapplication_post_request, _request_auth, _content_type, _headers, @@ -128235,8 +133830,8 @@ def _v2_assurance_create_user_report_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_create_user_report_post_request is not None: - _body_params = v2_assurance_create_user_report_post_request + if v2_assurance_createclassifiedapplication_post_request is not None: + _body_params = v2_assurance_createclassifiedapplication_post_request # set the HTTP header `Accept` @@ -128268,7 +133863,7 @@ def _v2_assurance_create_user_report_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/create-user-report', + resource_path='/v2/assurance/createclassifiedapplication', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -128285,10 +133880,10 @@ def _v2_assurance_create_user_report_post_serialize( @validate_call - def v2_assurance_createclassifiedapplication_post( + def v2_assurance_delete_ai_adoption_approve_entry_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, + id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128301,14 +133896,14 @@ def v2_assurance_createclassifiedapplication_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceCreateclassifiedapplicationPostResponse: - """v2_assurance_createclassifiedapplication_post + ) -> object: + """v2_assurance_delete_ai_adoption_approve_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_createclassifiedapplication_post_request: (required) - :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest + :param id_list: list of approved app entry identifiers to delete (required) + :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128331,9 +133926,9 @@ def v2_assurance_createclassifiedapplication_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_createclassifiedapplication_post_serialize( + _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( authorization=authorization, - v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, + id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128341,7 +133936,7 @@ def v2_assurance_createclassifiedapplication_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateclassifiedapplicationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -128355,10 +133950,10 @@ def v2_assurance_createclassifiedapplication_post( @validate_call - def v2_assurance_createclassifiedapplication_post_with_http_info( + def v2_assurance_delete_ai_adoption_approve_entry_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, + id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128371,14 +133966,14 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceCreateclassifiedapplicationPostResponse]: - """v2_assurance_createclassifiedapplication_post + ) -> ApiResponse[object]: + """v2_assurance_delete_ai_adoption_approve_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_createclassifiedapplication_post_request: (required) - :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest + :param id_list: list of approved app entry identifiers to delete (required) + :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128401,9 +133996,9 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_createclassifiedapplication_post_serialize( + _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( authorization=authorization, - v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, + id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128411,7 +134006,7 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateclassifiedapplicationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -128425,10 +134020,10 @@ def v2_assurance_createclassifiedapplication_post_with_http_info( @validate_call - def v2_assurance_createclassifiedapplication_post_without_preload_content( + def v2_assurance_delete_ai_adoption_approve_entry_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest, + id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128442,13 +134037,13 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_createclassifiedapplication_post + """v2_assurance_delete_ai_adoption_approve_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_createclassifiedapplication_post_request: (required) - :type v2_assurance_createclassifiedapplication_post_request: V2AssuranceCreateclassifiedapplicationPostRequest + :param id_list: list of approved app entry identifiers to delete (required) + :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128471,9 +134066,9 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_createclassifiedapplication_post_serialize( + _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( authorization=authorization, - v2_assurance_createclassifiedapplication_post_request=v2_assurance_createclassifiedapplication_post_request, + id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128481,7 +134076,7 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceCreateclassifiedapplicationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -128490,10 +134085,10 @@ def v2_assurance_createclassifiedapplication_post_without_preload_content( return response_data.response - def _v2_assurance_createclassifiedapplication_post_serialize( + def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( self, authorization, - v2_assurance_createclassifiedapplication_post_request, + id_list, _request_auth, _content_type, _headers, @@ -128503,6 +134098,7 @@ def _v2_assurance_createclassifiedapplication_post_serialize( _host = None _collection_formats: Dict[str, str] = { + 'idList': 'multi', } _path_params: Dict[str, str] = {} @@ -128516,13 +134112,15 @@ def _v2_assurance_createclassifiedapplication_post_serialize( # process the path parameters # process the query parameters + if id_list is not None: + + _query_params.append(('idList', id_list)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_createclassifiedapplication_post_request is not None: - _body_params = v2_assurance_createclassifiedapplication_post_request # set the HTTP header `Accept` @@ -128533,19 +134131,6 @@ def _v2_assurance_createclassifiedapplication_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -128553,8 +134138,8 @@ def _v2_assurance_createclassifiedapplication_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assurance/createclassifiedapplication', + method='DELETE', + resource_path='/v2/assurance/delete-ai-adoption-approve-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -128571,10 +134156,9 @@ def _v2_assurance_createclassifiedapplication_post_serialize( @validate_call - def v2_assurance_delete_ai_adoption_approve_entry_delete( + def v2_assurance_delete_dnsproxy_entry_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128588,13 +134172,11 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assurance_delete_ai_adoption_approve_entry_delete + """v2_assurance_delete_dnsproxy_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id_list: list of approved app entry identifiers to delete (required) - :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128617,9 +134199,8 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( + _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( authorization=authorization, - id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128641,10 +134222,9 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete( @validate_call - def v2_assurance_delete_ai_adoption_approve_entry_delete_with_http_info( + def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128658,13 +134238,11 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assurance_delete_ai_adoption_approve_entry_delete + """v2_assurance_delete_dnsproxy_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id_list: list of approved app entry identifiers to delete (required) - :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128687,9 +134265,8 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( + _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( authorization=authorization, - id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128711,10 +134288,9 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete_with_http_info( @validate_call - def v2_assurance_delete_ai_adoption_approve_entry_delete_without_preload_content( + def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id_list: Annotated[List[StrictStr], Field(description="list of approved app entry identifiers to delete")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128728,13 +134304,11 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete_without_preload_content _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_delete_ai_adoption_approve_entry_delete + """v2_assurance_delete_dnsproxy_entry_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id_list: list of approved app entry identifiers to delete (required) - :type id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128757,9 +134331,8 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete_without_preload_content :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( + _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( authorization=authorization, - id_list=id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128776,10 +134349,9 @@ def v2_assurance_delete_ai_adoption_approve_entry_delete_without_preload_content return response_data.response - def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( + def _v2_assurance_delete_dnsproxy_entry_delete_serialize( self, authorization, - id_list, _request_auth, _content_type, _headers, @@ -128789,7 +134361,6 @@ def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( _host = None _collection_formats: Dict[str, str] = { - 'idList': 'multi', } _path_params: Dict[str, str] = {} @@ -128803,10 +134374,6 @@ def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( # process the path parameters # process the query parameters - if id_list is not None: - - _query_params.append(('idList', id_list)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -128830,7 +134397,7 @@ def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v2/assurance/delete-ai-adoption-approve-entry', + resource_path='/v2/assurance/delete-dnsproxy-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -128847,9 +134414,10 @@ def _v2_assurance_delete_ai_adoption_approve_entry_delete_serialize( @validate_call - def v2_assurance_delete_dnsproxy_entry_delete( + def v2_assurance_delete_user_report_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128863,11 +134431,13 @@ def v2_assurance_delete_dnsproxy_entry_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assurance_delete_dnsproxy_entry_delete + """v2_assurance_delete_user_report_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param report_id: + :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128890,8 +134460,9 @@ def v2_assurance_delete_dnsproxy_entry_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( + _param = self._v2_assurance_delete_user_report_delete_serialize( authorization=authorization, + report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128913,9 +134484,10 @@ def v2_assurance_delete_dnsproxy_entry_delete( @validate_call - def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( + def v2_assurance_delete_user_report_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128929,11 +134501,13 @@ def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assurance_delete_dnsproxy_entry_delete + """v2_assurance_delete_user_report_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param report_id: + :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -128956,8 +134530,9 @@ def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( + _param = self._v2_assurance_delete_user_report_delete_serialize( authorization=authorization, + report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -128979,9 +134554,10 @@ def v2_assurance_delete_dnsproxy_entry_delete_with_http_info( @validate_call - def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( + def v2_assurance_delete_user_report_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + report_id: Optional[StrictInt] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -128995,11 +134571,13 @@ def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_delete_dnsproxy_entry_delete + """v2_assurance_delete_user_report_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param report_id: + :type report_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129022,8 +134600,9 @@ def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_dnsproxy_entry_delete_serialize( + _param = self._v2_assurance_delete_user_report_delete_serialize( authorization=authorization, + report_id=report_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129040,9 +134619,10 @@ def v2_assurance_delete_dnsproxy_entry_delete_without_preload_content( return response_data.response - def _v2_assurance_delete_dnsproxy_entry_delete_serialize( + def _v2_assurance_delete_user_report_delete_serialize( self, authorization, + report_id, _request_auth, _content_type, _headers, @@ -129065,6 +134645,10 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( # process the path parameters # process the query parameters + if report_id is not None: + + _query_params.append(('reportId', report_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -129088,7 +134672,7 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v2/assurance/delete-dnsproxy-entry', + resource_path='/v2/assurance/delete-user-report', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -129105,10 +134689,10 @@ def _v2_assurance_delete_dnsproxy_entry_delete_serialize( @validate_call - def v2_assurance_delete_user_report_delete( + def v2_assurance_deleteclassifiedapplication_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - report_id: Optional[StrictInt] = None, + classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129122,13 +134706,13 @@ def v2_assurance_delete_user_report_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assurance_delete_user_report_delete + """v2_assurance_deleteclassifiedapplication_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param report_id: - :type report_id: int + :param classification_entry_id_list: + :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129151,9 +134735,9 @@ def v2_assurance_delete_user_report_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_user_report_delete_serialize( + _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( authorization=authorization, - report_id=report_id, + classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129175,10 +134759,10 @@ def v2_assurance_delete_user_report_delete( @validate_call - def v2_assurance_delete_user_report_delete_with_http_info( + def v2_assurance_deleteclassifiedapplication_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - report_id: Optional[StrictInt] = None, + classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129192,13 +134776,13 @@ def v2_assurance_delete_user_report_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assurance_delete_user_report_delete + """v2_assurance_deleteclassifiedapplication_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param report_id: - :type report_id: int + :param classification_entry_id_list: + :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129221,9 +134805,9 @@ def v2_assurance_delete_user_report_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_user_report_delete_serialize( + _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( authorization=authorization, - report_id=report_id, + classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129245,10 +134829,10 @@ def v2_assurance_delete_user_report_delete_with_http_info( @validate_call - def v2_assurance_delete_user_report_delete_without_preload_content( + def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - report_id: Optional[StrictInt] = None, + classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129262,13 +134846,13 @@ def v2_assurance_delete_user_report_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_delete_user_report_delete + """v2_assurance_deleteclassifiedapplication_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param report_id: - :type report_id: int + :param classification_entry_id_list: + :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129291,9 +134875,9 @@ def v2_assurance_delete_user_report_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_delete_user_report_delete_serialize( + _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( authorization=authorization, - report_id=report_id, + classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129310,10 +134894,10 @@ def v2_assurance_delete_user_report_delete_without_preload_content( return response_data.response - def _v2_assurance_delete_user_report_delete_serialize( + def _v2_assurance_deleteclassifiedapplication_delete_serialize( self, authorization, - report_id, + classification_entry_id_list, _request_auth, _content_type, _headers, @@ -129323,6 +134907,7 @@ def _v2_assurance_delete_user_report_delete_serialize( _host = None _collection_formats: Dict[str, str] = { + 'classificationEntryIdList': 'multi', } _path_params: Dict[str, str] = {} @@ -129336,9 +134921,9 @@ def _v2_assurance_delete_user_report_delete_serialize( # process the path parameters # process the query parameters - if report_id is not None: + if classification_entry_id_list is not None: - _query_params.append(('reportId', report_id)) + _query_params.append(('classificationEntryIdList', classification_entry_id_list)) # process the header parameters if authorization is not None: @@ -129363,7 +134948,7 @@ def _v2_assurance_delete_user_report_delete_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v2/assurance/delete-user-report', + resource_path='/v2/assurance/deleteclassifiedapplication', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -129380,10 +134965,9 @@ def _v2_assurance_delete_user_report_delete_serialize( @validate_call - def v2_assurance_deleteclassifiedapplication_delete( + def v2_assurance_download_user_report_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129396,14 +134980,12 @@ def v2_assurance_deleteclassifiedapplication_delete( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assurance_deleteclassifiedapplication_delete + ) -> V2AssuranceDownloadUserReportGetResponse: + """v2_assurance_download_user_report_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param classification_entry_id_list: - :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129426,9 +135008,8 @@ def v2_assurance_deleteclassifiedapplication_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( + _param = self._v2_assurance_download_user_report_get_serialize( authorization=authorization, - classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129436,7 +135017,7 @@ def v2_assurance_deleteclassifiedapplication_delete( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceDownloadUserReportGetResponse", } response_data = self.api_client.call_api( *_param, @@ -129450,10 +135031,9 @@ def v2_assurance_deleteclassifiedapplication_delete( @validate_call - def v2_assurance_deleteclassifiedapplication_delete_with_http_info( + def v2_assurance_download_user_report_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129466,14 +135046,12 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assurance_deleteclassifiedapplication_delete + ) -> ApiResponse[V2AssuranceDownloadUserReportGetResponse]: + """v2_assurance_download_user_report_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param classification_entry_id_list: - :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129496,9 +135074,8 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( + _param = self._v2_assurance_download_user_report_get_serialize( authorization=authorization, - classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129506,7 +135083,7 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceDownloadUserReportGetResponse", } response_data = self.api_client.call_api( *_param, @@ -129520,10 +135097,9 @@ def v2_assurance_deleteclassifiedapplication_delete_with_http_info( @validate_call - def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( + def v2_assurance_download_user_report_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - classification_entry_id_list: Optional[List[StrictStr]] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129537,13 +135113,11 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_deleteclassifiedapplication_delete + """v2_assurance_download_user_report_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param classification_entry_id_list: - :type classification_entry_id_list: List[str] :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129566,9 +135140,8 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_deleteclassifiedapplication_delete_serialize( + _param = self._v2_assurance_download_user_report_get_serialize( authorization=authorization, - classification_entry_id_list=classification_entry_id_list, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129576,7 +135149,7 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AssuranceDownloadUserReportGetResponse", } response_data = self.api_client.call_api( *_param, @@ -129585,10 +135158,9 @@ def v2_assurance_deleteclassifiedapplication_delete_without_preload_content( return response_data.response - def _v2_assurance_deleteclassifiedapplication_delete_serialize( + def _v2_assurance_download_user_report_get_serialize( self, authorization, - classification_entry_id_list, _request_auth, _content_type, _headers, @@ -129598,7 +135170,6 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( _host = None _collection_formats: Dict[str, str] = { - 'classificationEntryIdList': 'multi', } _path_params: Dict[str, str] = {} @@ -129612,10 +135183,6 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( # process the path parameters # process the query parameters - if classification_entry_id_list is not None: - - _query_params.append(('classificationEntryIdList', classification_entry_id_list)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -129638,8 +135205,8 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v2/assurance/deleteclassifiedapplication', + method='GET', + resource_path='/v2/assurance/download-user-report', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -129656,9 +135223,10 @@ def _v2_assurance_deleteclassifiedapplication_delete_serialize( @validate_call - def v2_assurance_download_user_report_get( + def v2_assurance_enterprisesummary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129671,12 +135239,14 @@ def v2_assurance_download_user_report_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceDownloadUserReportGetResponse: - """v2_assurance_download_user_report_get + ) -> V2AssuranceEnterprisesummaryPostResponse: + """v2_assurance_enterprisesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_enterprisesummary_post_request: (required) + :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129699,8 +135269,9 @@ def v2_assurance_download_user_report_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_download_user_report_get_serialize( + _param = self._v2_assurance_enterprisesummary_post_serialize( authorization=authorization, + v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129708,7 +135279,7 @@ def v2_assurance_download_user_report_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceDownloadUserReportGetResponse", + '200': "V2AssuranceEnterprisesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -129722,9 +135293,10 @@ def v2_assurance_download_user_report_get( @validate_call - def v2_assurance_download_user_report_get_with_http_info( + def v2_assurance_enterprisesummary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129737,12 +135309,14 @@ def v2_assurance_download_user_report_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceDownloadUserReportGetResponse]: - """v2_assurance_download_user_report_get + ) -> ApiResponse[V2AssuranceEnterprisesummaryPostResponse]: + """v2_assurance_enterprisesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_enterprisesummary_post_request: (required) + :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129765,8 +135339,9 @@ def v2_assurance_download_user_report_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_download_user_report_get_serialize( + _param = self._v2_assurance_enterprisesummary_post_serialize( authorization=authorization, + v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129774,7 +135349,7 @@ def v2_assurance_download_user_report_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceDownloadUserReportGetResponse", + '200': "V2AssuranceEnterprisesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -129788,9 +135363,10 @@ def v2_assurance_download_user_report_get_with_http_info( @validate_call - def v2_assurance_download_user_report_get_without_preload_content( + def v2_assurance_enterprisesummary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129804,11 +135380,13 @@ def v2_assurance_download_user_report_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_download_user_report_get + """v2_assurance_enterprisesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_enterprisesummary_post_request: (required) + :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129831,8 +135409,9 @@ def v2_assurance_download_user_report_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_download_user_report_get_serialize( + _param = self._v2_assurance_enterprisesummary_post_serialize( authorization=authorization, + v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129840,7 +135419,7 @@ def v2_assurance_download_user_report_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceDownloadUserReportGetResponse", + '200': "V2AssuranceEnterprisesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -129849,9 +135428,10 @@ def v2_assurance_download_user_report_get_without_preload_content( return response_data.response - def _v2_assurance_download_user_report_get_serialize( + def _v2_assurance_enterprisesummary_post_serialize( self, authorization, + v2_assurance_enterprisesummary_post_request, _request_auth, _content_type, _headers, @@ -129879,6 +135459,8 @@ def _v2_assurance_download_user_report_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assurance_enterprisesummary_post_request is not None: + _body_params = v2_assurance_enterprisesummary_post_request # set the HTTP header `Accept` @@ -129889,6 +135471,19 @@ def _v2_assurance_download_user_report_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -129896,8 +135491,8 @@ def _v2_assurance_download_user_report_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/assurance/download-user-report', + method='POST', + resource_path='/v2/assurance/enterprisesummary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -129914,10 +135509,10 @@ def _v2_assurance_download_user_report_get_serialize( @validate_call - def v2_assurance_enterprisesummary_post( + def v2_assurance_get_app_names_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, + v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -129930,14 +135525,14 @@ def v2_assurance_enterprisesummary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceEnterprisesummaryPostResponse: - """v2_assurance_enterprisesummary_post + ) -> V2AssuranceGetAppNamesPostResponse: + """v2_assurance_get_app_names_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_enterprisesummary_post_request: (required) - :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest + :param v2_assurance_get_app_names_post_request: (required) + :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -129960,9 +135555,9 @@ def v2_assurance_enterprisesummary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_enterprisesummary_post_serialize( + _param = self._v2_assurance_get_app_names_post_serialize( authorization=authorization, - v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, + v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -129970,7 +135565,7 @@ def v2_assurance_enterprisesummary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceEnterprisesummaryPostResponse", + '200': "V2AssuranceGetAppNamesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -129984,10 +135579,10 @@ def v2_assurance_enterprisesummary_post( @validate_call - def v2_assurance_enterprisesummary_post_with_http_info( + def v2_assurance_get_app_names_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, + v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130000,14 +135595,14 @@ def v2_assurance_enterprisesummary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceEnterprisesummaryPostResponse]: - """v2_assurance_enterprisesummary_post + ) -> ApiResponse[V2AssuranceGetAppNamesPostResponse]: + """v2_assurance_get_app_names_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_enterprisesummary_post_request: (required) - :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest + :param v2_assurance_get_app_names_post_request: (required) + :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -130030,9 +135625,9 @@ def v2_assurance_enterprisesummary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_enterprisesummary_post_serialize( + _param = self._v2_assurance_get_app_names_post_serialize( authorization=authorization, - v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, + v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -130040,7 +135635,7 @@ def v2_assurance_enterprisesummary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceEnterprisesummaryPostResponse", + '200': "V2AssuranceGetAppNamesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -130054,10 +135649,10 @@ def v2_assurance_enterprisesummary_post_with_http_info( @validate_call - def v2_assurance_enterprisesummary_post_without_preload_content( + def v2_assurance_get_app_names_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest, + v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130071,13 +135666,13 @@ def v2_assurance_enterprisesummary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_enterprisesummary_post + """v2_assurance_get_app_names_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_enterprisesummary_post_request: (required) - :type v2_assurance_enterprisesummary_post_request: V2AssuranceEnterprisesummaryPostRequest + :param v2_assurance_get_app_names_post_request: (required) + :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -130100,9 +135695,9 @@ def v2_assurance_enterprisesummary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_enterprisesummary_post_serialize( + _param = self._v2_assurance_get_app_names_post_serialize( authorization=authorization, - v2_assurance_enterprisesummary_post_request=v2_assurance_enterprisesummary_post_request, + v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -130110,7 +135705,7 @@ def v2_assurance_enterprisesummary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceEnterprisesummaryPostResponse", + '200': "V2AssuranceGetAppNamesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -130119,10 +135714,10 @@ def v2_assurance_enterprisesummary_post_without_preload_content( return response_data.response - def _v2_assurance_enterprisesummary_post_serialize( + def _v2_assurance_get_app_names_post_serialize( self, authorization, - v2_assurance_enterprisesummary_post_request, + v2_assurance_get_app_names_post_request, _request_auth, _content_type, _headers, @@ -130150,8 +135745,8 @@ def _v2_assurance_enterprisesummary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_enterprisesummary_post_request is not None: - _body_params = v2_assurance_enterprisesummary_post_request + if v2_assurance_get_app_names_post_request is not None: + _body_params = v2_assurance_get_app_names_post_request # set the HTTP header `Accept` @@ -130183,7 +135778,7 @@ def _v2_assurance_enterprisesummary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/enterprisesummary', + resource_path='/v2/assurance/get-app-names', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -130200,10 +135795,9 @@ def _v2_assurance_enterprisesummary_post_serialize( @validate_call - def v2_assurance_get_app_names_post( + def v2_assurance_getclassifiedapplicationlist_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130216,14 +135810,12 @@ def v2_assurance_get_app_names_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceGetAppNamesPostResponse: - """v2_assurance_get_app_names_post + ) -> V2AssuranceGetclassifiedapplicationlistGetResponse: + """v2_assurance_getclassifiedapplicationlist_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_get_app_names_post_request: (required) - :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -130246,9 +135838,8 @@ def v2_assurance_get_app_names_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_get_app_names_post_serialize( + _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( authorization=authorization, - v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -130256,7 +135847,7 @@ def v2_assurance_get_app_names_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetAppNamesPostResponse", + '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130270,10 +135861,9 @@ def v2_assurance_get_app_names_post( @validate_call - def v2_assurance_get_app_names_post_with_http_info( + def v2_assurance_getclassifiedapplicationlist_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130286,14 +135876,12 @@ def v2_assurance_get_app_names_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceGetAppNamesPostResponse]: - """v2_assurance_get_app_names_post + ) -> ApiResponse[V2AssuranceGetclassifiedapplicationlistGetResponse]: + """v2_assurance_getclassifiedapplicationlist_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_get_app_names_post_request: (required) - :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -130316,9 +135904,8 @@ def v2_assurance_get_app_names_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_get_app_names_post_serialize( + _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( authorization=authorization, - v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -130326,7 +135913,7 @@ def v2_assurance_get_app_names_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetAppNamesPostResponse", + '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130340,10 +135927,9 @@ def v2_assurance_get_app_names_post_with_http_info( @validate_call - def v2_assurance_get_app_names_post_without_preload_content( + def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -130357,13 +135943,11 @@ def v2_assurance_get_app_names_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_get_app_names_post + """v2_assurance_getclassifiedapplicationlist_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_get_app_names_post_request: (required) - :type v2_assurance_get_app_names_post_request: V2AssuranceGetAppNamesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -130386,9 +135970,8 @@ def v2_assurance_get_app_names_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_get_app_names_post_serialize( + _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( authorization=authorization, - v2_assurance_get_app_names_post_request=v2_assurance_get_app_names_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -130396,7 +135979,7 @@ def v2_assurance_get_app_names_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetAppNamesPostResponse", + '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130405,10 +135988,9 @@ def v2_assurance_get_app_names_post_without_preload_content( return response_data.response - def _v2_assurance_get_app_names_post_serialize( + def _v2_assurance_getclassifiedapplicationlist_get_serialize( self, authorization, - v2_assurance_get_app_names_post_request, _request_auth, _content_type, _headers, @@ -130436,8 +136018,6 @@ def _v2_assurance_get_app_names_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_get_app_names_post_request is not None: - _body_params = v2_assurance_get_app_names_post_request # set the HTTP header `Accept` @@ -130448,19 +136028,6 @@ def _v2_assurance_get_app_names_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -130468,8 +136035,8 @@ def _v2_assurance_get_app_names_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/assurance/get-app-names', + method='GET', + resource_path='/v2/assurance/getclassifiedapplicationlist', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -130486,7 +136053,7 @@ def _v2_assurance_get_app_names_post_serialize( @validate_call - def v2_assurance_getclassifiedapplicationlist_get( + def v2_assurance_read_ai_adoption_approve_entries_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -130501,8 +136068,8 @@ def v2_assurance_getclassifiedapplicationlist_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceGetclassifiedapplicationlistGetResponse: - """v2_assurance_getclassifiedapplicationlist_get + ) -> V2AssuranceReadAiAdoptionApproveEntriesGetResponse: + """v2_assurance_read_ai_adoption_approve_entries_get :param authorization: Bearer token. Format: Bearer (required) @@ -130529,7 +136096,7 @@ def v2_assurance_getclassifiedapplicationlist_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( + _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -130538,7 +136105,7 @@ def v2_assurance_getclassifiedapplicationlist_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", + '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130552,7 +136119,7 @@ def v2_assurance_getclassifiedapplicationlist_get( @validate_call - def v2_assurance_getclassifiedapplicationlist_get_with_http_info( + def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -130567,8 +136134,8 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceGetclassifiedapplicationlistGetResponse]: - """v2_assurance_getclassifiedapplicationlist_get + ) -> ApiResponse[V2AssuranceReadAiAdoptionApproveEntriesGetResponse]: + """v2_assurance_read_ai_adoption_approve_entries_get :param authorization: Bearer token. Format: Bearer (required) @@ -130595,7 +136162,7 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( + _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -130604,7 +136171,7 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", + '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130618,7 +136185,7 @@ def v2_assurance_getclassifiedapplicationlist_get_with_http_info( @validate_call - def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( + def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -130634,7 +136201,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_getclassifiedapplicationlist_get + """v2_assurance_read_ai_adoption_approve_entries_get :param authorization: Bearer token. Format: Bearer (required) @@ -130661,7 +136228,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_getclassifiedapplicationlist_get_serialize( + _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -130670,7 +136237,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceGetclassifiedapplicationlistGetResponse", + '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130679,7 +136246,7 @@ def v2_assurance_getclassifiedapplicationlist_get_without_preload_content( return response_data.response - def _v2_assurance_getclassifiedapplicationlist_get_serialize( + def _v2_assurance_read_ai_adoption_approve_entries_get_serialize( self, authorization, _request_auth, @@ -130727,7 +136294,7 @@ def _v2_assurance_getclassifiedapplicationlist_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/assurance/getclassifiedapplicationlist', + resource_path='/v2/assurance/read-ai-adoption-approve-entries', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -130744,7 +136311,7 @@ def _v2_assurance_getclassifiedapplicationlist_get_serialize( @validate_call - def v2_assurance_read_ai_adoption_approve_entries_get( + def v2_assurance_read_dnsproxy_list_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -130759,8 +136326,8 @@ def v2_assurance_read_ai_adoption_approve_entries_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceReadAiAdoptionApproveEntriesGetResponse: - """v2_assurance_read_ai_adoption_approve_entries_get + ) -> V2AssuranceReadDnsproxyListGetResponse: + """v2_assurance_read_dnsproxy_list_get :param authorization: Bearer token. Format: Bearer (required) @@ -130787,7 +136354,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( + _param = self._v2_assurance_read_dnsproxy_list_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -130796,7 +136363,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", + '200': "V2AssuranceReadDnsproxyListGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130810,7 +136377,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get( @validate_call - def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( + def v2_assurance_read_dnsproxy_list_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -130825,8 +136392,8 @@ def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceReadAiAdoptionApproveEntriesGetResponse]: - """v2_assurance_read_ai_adoption_approve_entries_get + ) -> ApiResponse[V2AssuranceReadDnsproxyListGetResponse]: + """v2_assurance_read_dnsproxy_list_get :param authorization: Bearer token. Format: Bearer (required) @@ -130853,7 +136420,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( + _param = self._v2_assurance_read_dnsproxy_list_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -130862,7 +136429,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", + '200': "V2AssuranceReadDnsproxyListGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130876,7 +136443,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_with_http_info( @validate_call - def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( + def v2_assurance_read_dnsproxy_list_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -130892,7 +136459,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_read_ai_adoption_approve_entries_get + """v2_assurance_read_dnsproxy_list_get :param authorization: Bearer token. Format: Bearer (required) @@ -130919,7 +136486,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_ai_adoption_approve_entries_get_serialize( + _param = self._v2_assurance_read_dnsproxy_list_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -130928,7 +136495,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadAiAdoptionApproveEntriesGetResponse", + '200': "V2AssuranceReadDnsproxyListGetResponse", } response_data = self.api_client.call_api( *_param, @@ -130937,7 +136504,7 @@ def v2_assurance_read_ai_adoption_approve_entries_get_without_preload_content( return response_data.response - def _v2_assurance_read_ai_adoption_approve_entries_get_serialize( + def _v2_assurance_read_dnsproxy_list_get_serialize( self, authorization, _request_auth, @@ -130985,7 +136552,7 @@ def _v2_assurance_read_ai_adoption_approve_entries_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/assurance/read-ai-adoption-approve-entries', + resource_path='/v2/assurance/read-dnsproxy-list', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -131002,7 +136569,7 @@ def _v2_assurance_read_ai_adoption_approve_entries_get_serialize( @validate_call - def v2_assurance_read_dnsproxy_list_get( + def v2_assurance_read_user_report_list_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -131017,8 +136584,8 @@ def v2_assurance_read_dnsproxy_list_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceReadDnsproxyListGetResponse: - """v2_assurance_read_dnsproxy_list_get + ) -> V2AssuranceReadUserReportListGetResponse: + """v2_assurance_read_user_report_list_get :param authorization: Bearer token. Format: Bearer (required) @@ -131045,7 +136612,7 @@ def v2_assurance_read_dnsproxy_list_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_dnsproxy_list_get_serialize( + _param = self._v2_assurance_read_user_report_list_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -131054,7 +136621,7 @@ def v2_assurance_read_dnsproxy_list_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadDnsproxyListGetResponse", + '200': "V2AssuranceReadUserReportListGetResponse", } response_data = self.api_client.call_api( *_param, @@ -131068,7 +136635,7 @@ def v2_assurance_read_dnsproxy_list_get( @validate_call - def v2_assurance_read_dnsproxy_list_get_with_http_info( + def v2_assurance_read_user_report_list_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -131083,8 +136650,8 @@ def v2_assurance_read_dnsproxy_list_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceReadDnsproxyListGetResponse]: - """v2_assurance_read_dnsproxy_list_get + ) -> ApiResponse[V2AssuranceReadUserReportListGetResponse]: + """v2_assurance_read_user_report_list_get :param authorization: Bearer token. Format: Bearer (required) @@ -131111,7 +136678,7 @@ def v2_assurance_read_dnsproxy_list_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_dnsproxy_list_get_serialize( + _param = self._v2_assurance_read_user_report_list_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -131120,7 +136687,7 @@ def v2_assurance_read_dnsproxy_list_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadDnsproxyListGetResponse", + '200': "V2AssuranceReadUserReportListGetResponse", } response_data = self.api_client.call_api( *_param, @@ -131134,7 +136701,7 @@ def v2_assurance_read_dnsproxy_list_get_with_http_info( @validate_call - def v2_assurance_read_dnsproxy_list_get_without_preload_content( + def v2_assurance_read_user_report_list_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], _request_timeout: Union[ @@ -131150,7 +136717,7 @@ def v2_assurance_read_dnsproxy_list_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_read_dnsproxy_list_get + """v2_assurance_read_user_report_list_get :param authorization: Bearer token. Format: Bearer (required) @@ -131177,7 +136744,7 @@ def v2_assurance_read_dnsproxy_list_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_dnsproxy_list_get_serialize( + _param = self._v2_assurance_read_user_report_list_get_serialize( authorization=authorization, _request_auth=_request_auth, _content_type=_content_type, @@ -131186,7 +136753,7 @@ def v2_assurance_read_dnsproxy_list_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadDnsproxyListGetResponse", + '200': "V2AssuranceReadUserReportListGetResponse", } response_data = self.api_client.call_api( *_param, @@ -131195,7 +136762,7 @@ def v2_assurance_read_dnsproxy_list_get_without_preload_content( return response_data.response - def _v2_assurance_read_dnsproxy_list_get_serialize( + def _v2_assurance_read_user_report_list_get_serialize( self, authorization, _request_auth, @@ -131243,7 +136810,7 @@ def _v2_assurance_read_dnsproxy_list_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/assurance/read-dnsproxy-list', + resource_path='/v2/assurance/read-user-report-list', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -131260,9 +136827,10 @@ def _v2_assurance_read_dnsproxy_list_get_serialize( @validate_call - def v2_assurance_read_user_report_list_get( + def v2_assurance_scoredetails_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131275,12 +136843,14 @@ def v2_assurance_read_user_report_list_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceReadUserReportListGetResponse: - """v2_assurance_read_user_report_list_get + ) -> V2AssuranceScoredetailsPostResponse: + """v2_assurance_scoredetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_scoredetails_post_request: (required) + :type v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131303,8 +136873,9 @@ def v2_assurance_read_user_report_list_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_user_report_list_get_serialize( + _param = self._v2_assurance_scoredetails_post_serialize( authorization=authorization, + v2_assurance_scoredetails_post_request=v2_assurance_scoredetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131312,7 +136883,7 @@ def v2_assurance_read_user_report_list_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadUserReportListGetResponse", + '200': "V2AssuranceScoredetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131326,9 +136897,10 @@ def v2_assurance_read_user_report_list_get( @validate_call - def v2_assurance_read_user_report_list_get_with_http_info( + def v2_assurance_scoredetails_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131341,12 +136913,14 @@ def v2_assurance_read_user_report_list_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceReadUserReportListGetResponse]: - """v2_assurance_read_user_report_list_get + ) -> ApiResponse[V2AssuranceScoredetailsPostResponse]: + """v2_assurance_scoredetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_scoredetails_post_request: (required) + :type v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131369,8 +136943,9 @@ def v2_assurance_read_user_report_list_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_user_report_list_get_serialize( + _param = self._v2_assurance_scoredetails_post_serialize( authorization=authorization, + v2_assurance_scoredetails_post_request=v2_assurance_scoredetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131378,7 +136953,7 @@ def v2_assurance_read_user_report_list_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadUserReportListGetResponse", + '200': "V2AssuranceScoredetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131392,9 +136967,10 @@ def v2_assurance_read_user_report_list_get_with_http_info( @validate_call - def v2_assurance_read_user_report_list_get_without_preload_content( + def v2_assurance_scoredetails_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], + v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131408,11 +136984,13 @@ def v2_assurance_read_user_report_list_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_read_user_report_list_get + """v2_assurance_scoredetails_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str + :param v2_assurance_scoredetails_post_request: (required) + :type v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131435,8 +137013,9 @@ def v2_assurance_read_user_report_list_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_read_user_report_list_get_serialize( + _param = self._v2_assurance_scoredetails_post_serialize( authorization=authorization, + v2_assurance_scoredetails_post_request=v2_assurance_scoredetails_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131444,7 +137023,7 @@ def v2_assurance_read_user_report_list_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceReadUserReportListGetResponse", + '200': "V2AssuranceScoredetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131453,9 +137032,10 @@ def v2_assurance_read_user_report_list_get_without_preload_content( return response_data.response - def _v2_assurance_read_user_report_list_get_serialize( + def _v2_assurance_scoredetails_post_serialize( self, authorization, + v2_assurance_scoredetails_post_request, _request_auth, _content_type, _headers, @@ -131483,6 +137063,8 @@ def _v2_assurance_read_user_report_list_get_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_assurance_scoredetails_post_request is not None: + _body_params = v2_assurance_scoredetails_post_request # set the HTTP header `Accept` @@ -131493,6 +137075,19 @@ def _v2_assurance_read_user_report_list_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -131500,8 +137095,8 @@ def _v2_assurance_read_user_report_list_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/assurance/read-user-report-list', + method='POST', + resource_path='/v2/assurance/scoredetails', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -131518,10 +137113,10 @@ def _v2_assurance_read_user_report_list_get_serialize( @validate_call - def v2_assurance_scoredetails_post( + def v2_assurance_topology_client_session_details_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest, + v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131534,14 +137129,14 @@ def v2_assurance_scoredetails_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceScoredetailsPostResponse: - """v2_assurance_scoredetails_post + ) -> V2AssuranceTopologyClientSessionDetailsPostResponse: + """v2_assurance_topology_client_session_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_scoredetails_post_request: (required) - :type v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest + :param v2_assurance_topology_client_session_details_post_request: (required) + :type v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131564,9 +137159,9 @@ def v2_assurance_scoredetails_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_scoredetails_post_serialize( + _param = self._v2_assurance_topology_client_session_details_post_serialize( authorization=authorization, - v2_assurance_scoredetails_post_request=v2_assurance_scoredetails_post_request, + v2_assurance_topology_client_session_details_post_request=v2_assurance_topology_client_session_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131574,7 +137169,7 @@ def v2_assurance_scoredetails_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceScoredetailsPostResponse", + '200': "V2AssuranceTopologyClientSessionDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131588,10 +137183,10 @@ def v2_assurance_scoredetails_post( @validate_call - def v2_assurance_scoredetails_post_with_http_info( + def v2_assurance_topology_client_session_details_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest, + v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131604,14 +137199,14 @@ def v2_assurance_scoredetails_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceScoredetailsPostResponse]: - """v2_assurance_scoredetails_post + ) -> ApiResponse[V2AssuranceTopologyClientSessionDetailsPostResponse]: + """v2_assurance_topology_client_session_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_scoredetails_post_request: (required) - :type v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest + :param v2_assurance_topology_client_session_details_post_request: (required) + :type v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131634,9 +137229,9 @@ def v2_assurance_scoredetails_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_scoredetails_post_serialize( + _param = self._v2_assurance_topology_client_session_details_post_serialize( authorization=authorization, - v2_assurance_scoredetails_post_request=v2_assurance_scoredetails_post_request, + v2_assurance_topology_client_session_details_post_request=v2_assurance_topology_client_session_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131644,7 +137239,7 @@ def v2_assurance_scoredetails_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceScoredetailsPostResponse", + '200': "V2AssuranceTopologyClientSessionDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131658,10 +137253,10 @@ def v2_assurance_scoredetails_post_with_http_info( @validate_call - def v2_assurance_scoredetails_post_without_preload_content( + def v2_assurance_topology_client_session_details_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest, + v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131675,13 +137270,13 @@ def v2_assurance_scoredetails_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_scoredetails_post + """v2_assurance_topology_client_session_details_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_scoredetails_post_request: (required) - :type v2_assurance_scoredetails_post_request: V2AssuranceScoredetailsPostRequest + :param v2_assurance_topology_client_session_details_post_request: (required) + :type v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131704,9 +137299,9 @@ def v2_assurance_scoredetails_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_scoredetails_post_serialize( + _param = self._v2_assurance_topology_client_session_details_post_serialize( authorization=authorization, - v2_assurance_scoredetails_post_request=v2_assurance_scoredetails_post_request, + v2_assurance_topology_client_session_details_post_request=v2_assurance_topology_client_session_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131714,7 +137309,7 @@ def v2_assurance_scoredetails_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceScoredetailsPostResponse", + '200': "V2AssuranceTopologyClientSessionDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131723,10 +137318,10 @@ def v2_assurance_scoredetails_post_without_preload_content( return response_data.response - def _v2_assurance_scoredetails_post_serialize( + def _v2_assurance_topology_client_session_details_post_serialize( self, authorization, - v2_assurance_scoredetails_post_request, + v2_assurance_topology_client_session_details_post_request, _request_auth, _content_type, _headers, @@ -131754,8 +137349,8 @@ def _v2_assurance_scoredetails_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_scoredetails_post_request is not None: - _body_params = v2_assurance_scoredetails_post_request + if v2_assurance_topology_client_session_details_post_request is not None: + _body_params = v2_assurance_topology_client_session_details_post_request # set the HTTP header `Accept` @@ -131787,7 +137382,7 @@ def _v2_assurance_scoredetails_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/scoredetails', + resource_path='/v2/assurance/topology-client-session-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -131804,10 +137399,10 @@ def _v2_assurance_scoredetails_post_serialize( @validate_call - def v2_assurance_topology_client_session_details_post( + def v2_assurance_topology_client_sessions_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest, + v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131820,14 +137415,14 @@ def v2_assurance_topology_client_session_details_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologyClientSessionDetailsPostResponse: - """v2_assurance_topology_client_session_details_post + ) -> V2AssuranceTopologyClientSessionsPostResponse: + """v2_assurance_topology_client_sessions_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_session_details_post_request: (required) - :type v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest + :param v2_assurance_topology_client_sessions_post_request: (required) + :type v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131850,9 +137445,9 @@ def v2_assurance_topology_client_session_details_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_session_details_post_serialize( + _param = self._v2_assurance_topology_client_sessions_post_serialize( authorization=authorization, - v2_assurance_topology_client_session_details_post_request=v2_assurance_topology_client_session_details_post_request, + v2_assurance_topology_client_sessions_post_request=v2_assurance_topology_client_sessions_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131860,7 +137455,7 @@ def v2_assurance_topology_client_session_details_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSessionDetailsPostResponse", + '200': "V2AssuranceTopologyClientSessionsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131874,10 +137469,10 @@ def v2_assurance_topology_client_session_details_post( @validate_call - def v2_assurance_topology_client_session_details_post_with_http_info( + def v2_assurance_topology_client_sessions_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest, + v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131890,14 +137485,14 @@ def v2_assurance_topology_client_session_details_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologyClientSessionDetailsPostResponse]: - """v2_assurance_topology_client_session_details_post + ) -> ApiResponse[V2AssuranceTopologyClientSessionsPostResponse]: + """v2_assurance_topology_client_sessions_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_session_details_post_request: (required) - :type v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest + :param v2_assurance_topology_client_sessions_post_request: (required) + :type v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131920,9 +137515,9 @@ def v2_assurance_topology_client_session_details_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_session_details_post_serialize( + _param = self._v2_assurance_topology_client_sessions_post_serialize( authorization=authorization, - v2_assurance_topology_client_session_details_post_request=v2_assurance_topology_client_session_details_post_request, + v2_assurance_topology_client_sessions_post_request=v2_assurance_topology_client_sessions_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -131930,7 +137525,7 @@ def v2_assurance_topology_client_session_details_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSessionDetailsPostResponse", + '200': "V2AssuranceTopologyClientSessionsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -131944,10 +137539,10 @@ def v2_assurance_topology_client_session_details_post_with_http_info( @validate_call - def v2_assurance_topology_client_session_details_post_without_preload_content( + def v2_assurance_topology_client_sessions_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest, + v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -131961,13 +137556,13 @@ def v2_assurance_topology_client_session_details_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_client_session_details_post + """v2_assurance_topology_client_sessions_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_session_details_post_request: (required) - :type v2_assurance_topology_client_session_details_post_request: V2AssuranceTopologyClientSessionDetailsPostRequest + :param v2_assurance_topology_client_sessions_post_request: (required) + :type v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -131990,9 +137585,9 @@ def v2_assurance_topology_client_session_details_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_session_details_post_serialize( + _param = self._v2_assurance_topology_client_sessions_post_serialize( authorization=authorization, - v2_assurance_topology_client_session_details_post_request=v2_assurance_topology_client_session_details_post_request, + v2_assurance_topology_client_sessions_post_request=v2_assurance_topology_client_sessions_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132000,7 +137595,7 @@ def v2_assurance_topology_client_session_details_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSessionDetailsPostResponse", + '200': "V2AssuranceTopologyClientSessionsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132009,10 +137604,10 @@ def v2_assurance_topology_client_session_details_post_without_preload_content( return response_data.response - def _v2_assurance_topology_client_session_details_post_serialize( + def _v2_assurance_topology_client_sessions_post_serialize( self, authorization, - v2_assurance_topology_client_session_details_post_request, + v2_assurance_topology_client_sessions_post_request, _request_auth, _content_type, _headers, @@ -132040,8 +137635,8 @@ def _v2_assurance_topology_client_session_details_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_client_session_details_post_request is not None: - _body_params = v2_assurance_topology_client_session_details_post_request + if v2_assurance_topology_client_sessions_post_request is not None: + _body_params = v2_assurance_topology_client_sessions_post_request # set the HTTP header `Accept` @@ -132073,7 +137668,7 @@ def _v2_assurance_topology_client_session_details_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-client-session-details', + resource_path='/v2/assurance/topology-client-sessions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -132090,10 +137685,10 @@ def _v2_assurance_topology_client_session_details_post_serialize( @validate_call - def v2_assurance_topology_client_sessions_post( + def v2_assurance_topology_client_summaries_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest, + v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132106,14 +137701,14 @@ def v2_assurance_topology_client_sessions_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologyClientSessionsPostResponse: - """v2_assurance_topology_client_sessions_post + ) -> V2AssuranceTopologyClientSummariesPostResponse: + """v2_assurance_topology_client_summaries_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_sessions_post_request: (required) - :type v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest + :param v2_assurance_topology_client_summaries_post_request: (required) + :type v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132136,9 +137731,9 @@ def v2_assurance_topology_client_sessions_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_sessions_post_serialize( + _param = self._v2_assurance_topology_client_summaries_post_serialize( authorization=authorization, - v2_assurance_topology_client_sessions_post_request=v2_assurance_topology_client_sessions_post_request, + v2_assurance_topology_client_summaries_post_request=v2_assurance_topology_client_summaries_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132146,7 +137741,7 @@ def v2_assurance_topology_client_sessions_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSessionsPostResponse", + '200': "V2AssuranceTopologyClientSummariesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132160,10 +137755,10 @@ def v2_assurance_topology_client_sessions_post( @validate_call - def v2_assurance_topology_client_sessions_post_with_http_info( + def v2_assurance_topology_client_summaries_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest, + v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132176,14 +137771,14 @@ def v2_assurance_topology_client_sessions_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologyClientSessionsPostResponse]: - """v2_assurance_topology_client_sessions_post + ) -> ApiResponse[V2AssuranceTopologyClientSummariesPostResponse]: + """v2_assurance_topology_client_summaries_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_sessions_post_request: (required) - :type v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest + :param v2_assurance_topology_client_summaries_post_request: (required) + :type v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132206,9 +137801,9 @@ def v2_assurance_topology_client_sessions_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_sessions_post_serialize( + _param = self._v2_assurance_topology_client_summaries_post_serialize( authorization=authorization, - v2_assurance_topology_client_sessions_post_request=v2_assurance_topology_client_sessions_post_request, + v2_assurance_topology_client_summaries_post_request=v2_assurance_topology_client_summaries_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132216,7 +137811,7 @@ def v2_assurance_topology_client_sessions_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSessionsPostResponse", + '200': "V2AssuranceTopologyClientSummariesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132230,10 +137825,10 @@ def v2_assurance_topology_client_sessions_post_with_http_info( @validate_call - def v2_assurance_topology_client_sessions_post_without_preload_content( + def v2_assurance_topology_client_summaries_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest, + v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132247,13 +137842,13 @@ def v2_assurance_topology_client_sessions_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_client_sessions_post + """v2_assurance_topology_client_summaries_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_sessions_post_request: (required) - :type v2_assurance_topology_client_sessions_post_request: V2AssuranceTopologyClientSessionsPostRequest + :param v2_assurance_topology_client_summaries_post_request: (required) + :type v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132276,9 +137871,9 @@ def v2_assurance_topology_client_sessions_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_sessions_post_serialize( + _param = self._v2_assurance_topology_client_summaries_post_serialize( authorization=authorization, - v2_assurance_topology_client_sessions_post_request=v2_assurance_topology_client_sessions_post_request, + v2_assurance_topology_client_summaries_post_request=v2_assurance_topology_client_summaries_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132286,7 +137881,7 @@ def v2_assurance_topology_client_sessions_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSessionsPostResponse", + '200': "V2AssuranceTopologyClientSummariesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132295,10 +137890,10 @@ def v2_assurance_topology_client_sessions_post_without_preload_content( return response_data.response - def _v2_assurance_topology_client_sessions_post_serialize( + def _v2_assurance_topology_client_summaries_post_serialize( self, authorization, - v2_assurance_topology_client_sessions_post_request, + v2_assurance_topology_client_summaries_post_request, _request_auth, _content_type, _headers, @@ -132326,8 +137921,8 @@ def _v2_assurance_topology_client_sessions_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_client_sessions_post_request is not None: - _body_params = v2_assurance_topology_client_sessions_post_request + if v2_assurance_topology_client_summaries_post_request is not None: + _body_params = v2_assurance_topology_client_summaries_post_request # set the HTTP header `Accept` @@ -132359,7 +137954,7 @@ def _v2_assurance_topology_client_sessions_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-client-sessions', + resource_path='/v2/assurance/topology-client-summaries', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -132376,10 +137971,10 @@ def _v2_assurance_topology_client_sessions_post_serialize( @validate_call - def v2_assurance_topology_client_summaries_post( + def v2_assurance_topology_inventory_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest, + v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132392,14 +137987,14 @@ def v2_assurance_topology_client_summaries_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologyClientSummariesPostResponse: - """v2_assurance_topology_client_summaries_post + ) -> V2AssuranceTopologyInventoryPostResponse: + """v2_assurance_topology_inventory_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_summaries_post_request: (required) - :type v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest + :param v2_assurance_topology_inventory_post_request: (required) + :type v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132422,9 +138017,9 @@ def v2_assurance_topology_client_summaries_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_summaries_post_serialize( + _param = self._v2_assurance_topology_inventory_post_serialize( authorization=authorization, - v2_assurance_topology_client_summaries_post_request=v2_assurance_topology_client_summaries_post_request, + v2_assurance_topology_inventory_post_request=v2_assurance_topology_inventory_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132432,7 +138027,7 @@ def v2_assurance_topology_client_summaries_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSummariesPostResponse", + '200': "V2AssuranceTopologyInventoryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132446,10 +138041,10 @@ def v2_assurance_topology_client_summaries_post( @validate_call - def v2_assurance_topology_client_summaries_post_with_http_info( + def v2_assurance_topology_inventory_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest, + v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132462,14 +138057,14 @@ def v2_assurance_topology_client_summaries_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologyClientSummariesPostResponse]: - """v2_assurance_topology_client_summaries_post + ) -> ApiResponse[V2AssuranceTopologyInventoryPostResponse]: + """v2_assurance_topology_inventory_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_summaries_post_request: (required) - :type v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest + :param v2_assurance_topology_inventory_post_request: (required) + :type v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132492,9 +138087,9 @@ def v2_assurance_topology_client_summaries_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_summaries_post_serialize( + _param = self._v2_assurance_topology_inventory_post_serialize( authorization=authorization, - v2_assurance_topology_client_summaries_post_request=v2_assurance_topology_client_summaries_post_request, + v2_assurance_topology_inventory_post_request=v2_assurance_topology_inventory_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132502,7 +138097,7 @@ def v2_assurance_topology_client_summaries_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSummariesPostResponse", + '200': "V2AssuranceTopologyInventoryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132516,10 +138111,10 @@ def v2_assurance_topology_client_summaries_post_with_http_info( @validate_call - def v2_assurance_topology_client_summaries_post_without_preload_content( + def v2_assurance_topology_inventory_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest, + v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132533,13 +138128,13 @@ def v2_assurance_topology_client_summaries_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_client_summaries_post + """v2_assurance_topology_inventory_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_client_summaries_post_request: (required) - :type v2_assurance_topology_client_summaries_post_request: V2AssuranceTopologyClientSummariesPostRequest + :param v2_assurance_topology_inventory_post_request: (required) + :type v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132562,9 +138157,9 @@ def v2_assurance_topology_client_summaries_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_client_summaries_post_serialize( + _param = self._v2_assurance_topology_inventory_post_serialize( authorization=authorization, - v2_assurance_topology_client_summaries_post_request=v2_assurance_topology_client_summaries_post_request, + v2_assurance_topology_inventory_post_request=v2_assurance_topology_inventory_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132572,7 +138167,7 @@ def v2_assurance_topology_client_summaries_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyClientSummariesPostResponse", + '200': "V2AssuranceTopologyInventoryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132581,10 +138176,10 @@ def v2_assurance_topology_client_summaries_post_without_preload_content( return response_data.response - def _v2_assurance_topology_client_summaries_post_serialize( + def _v2_assurance_topology_inventory_post_serialize( self, authorization, - v2_assurance_topology_client_summaries_post_request, + v2_assurance_topology_inventory_post_request, _request_auth, _content_type, _headers, @@ -132612,8 +138207,8 @@ def _v2_assurance_topology_client_summaries_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_client_summaries_post_request is not None: - _body_params = v2_assurance_topology_client_summaries_post_request + if v2_assurance_topology_inventory_post_request is not None: + _body_params = v2_assurance_topology_inventory_post_request # set the HTTP header `Accept` @@ -132645,7 +138240,7 @@ def _v2_assurance_topology_client_summaries_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-client-summaries', + resource_path='/v2/assurance/topology-inventory', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -132662,10 +138257,10 @@ def _v2_assurance_topology_client_summaries_post_serialize( @validate_call - def v2_assurance_topology_inventory_post( + def v2_assurance_topology_overview_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest, + v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132678,14 +138273,14 @@ def v2_assurance_topology_inventory_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologyInventoryPostResponse: - """v2_assurance_topology_inventory_post + ) -> V2AssuranceTopologyOverviewPostResponse: + """v2_assurance_topology_overview_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_inventory_post_request: (required) - :type v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest + :param v2_assurance_topology_overview_post_request: (required) + :type v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132708,9 +138303,9 @@ def v2_assurance_topology_inventory_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_inventory_post_serialize( + _param = self._v2_assurance_topology_overview_post_serialize( authorization=authorization, - v2_assurance_topology_inventory_post_request=v2_assurance_topology_inventory_post_request, + v2_assurance_topology_overview_post_request=v2_assurance_topology_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132718,7 +138313,7 @@ def v2_assurance_topology_inventory_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyInventoryPostResponse", + '200': "V2AssuranceTopologyOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132732,10 +138327,10 @@ def v2_assurance_topology_inventory_post( @validate_call - def v2_assurance_topology_inventory_post_with_http_info( + def v2_assurance_topology_overview_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest, + v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132748,14 +138343,14 @@ def v2_assurance_topology_inventory_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologyInventoryPostResponse]: - """v2_assurance_topology_inventory_post + ) -> ApiResponse[V2AssuranceTopologyOverviewPostResponse]: + """v2_assurance_topology_overview_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_inventory_post_request: (required) - :type v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest + :param v2_assurance_topology_overview_post_request: (required) + :type v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132778,9 +138373,9 @@ def v2_assurance_topology_inventory_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_inventory_post_serialize( + _param = self._v2_assurance_topology_overview_post_serialize( authorization=authorization, - v2_assurance_topology_inventory_post_request=v2_assurance_topology_inventory_post_request, + v2_assurance_topology_overview_post_request=v2_assurance_topology_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132788,7 +138383,7 @@ def v2_assurance_topology_inventory_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyInventoryPostResponse", + '200': "V2AssuranceTopologyOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132802,10 +138397,10 @@ def v2_assurance_topology_inventory_post_with_http_info( @validate_call - def v2_assurance_topology_inventory_post_without_preload_content( + def v2_assurance_topology_overview_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest, + v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132819,13 +138414,13 @@ def v2_assurance_topology_inventory_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_inventory_post + """v2_assurance_topology_overview_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_inventory_post_request: (required) - :type v2_assurance_topology_inventory_post_request: V2AssuranceTopologyInventoryPostRequest + :param v2_assurance_topology_overview_post_request: (required) + :type v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132848,9 +138443,9 @@ def v2_assurance_topology_inventory_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_inventory_post_serialize( + _param = self._v2_assurance_topology_overview_post_serialize( authorization=authorization, - v2_assurance_topology_inventory_post_request=v2_assurance_topology_inventory_post_request, + v2_assurance_topology_overview_post_request=v2_assurance_topology_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -132858,7 +138453,7 @@ def v2_assurance_topology_inventory_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyInventoryPostResponse", + '200': "V2AssuranceTopologyOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -132867,10 +138462,10 @@ def v2_assurance_topology_inventory_post_without_preload_content( return response_data.response - def _v2_assurance_topology_inventory_post_serialize( + def _v2_assurance_topology_overview_post_serialize( self, authorization, - v2_assurance_topology_inventory_post_request, + v2_assurance_topology_overview_post_request, _request_auth, _content_type, _headers, @@ -132898,8 +138493,8 @@ def _v2_assurance_topology_inventory_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_inventory_post_request is not None: - _body_params = v2_assurance_topology_inventory_post_request + if v2_assurance_topology_overview_post_request is not None: + _body_params = v2_assurance_topology_overview_post_request # set the HTTP header `Accept` @@ -132931,7 +138526,7 @@ def _v2_assurance_topology_inventory_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-inventory', + resource_path='/v2/assurance/topology-overview', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -132948,10 +138543,10 @@ def _v2_assurance_topology_inventory_post_serialize( @validate_call - def v2_assurance_topology_overview_post( + def v2_assurance_topology_region_summary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest, + v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -132964,14 +138559,14 @@ def v2_assurance_topology_overview_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologyOverviewPostResponse: - """v2_assurance_topology_overview_post + ) -> V2AssuranceTopologyRegionSummaryPostResponse: + """v2_assurance_topology_region_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_overview_post_request: (required) - :type v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest + :param v2_assurance_topology_region_summary_post_request: (required) + :type v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -132994,9 +138589,9 @@ def v2_assurance_topology_overview_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_overview_post_serialize( + _param = self._v2_assurance_topology_region_summary_post_serialize( authorization=authorization, - v2_assurance_topology_overview_post_request=v2_assurance_topology_overview_post_request, + v2_assurance_topology_region_summary_post_request=v2_assurance_topology_region_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133004,7 +138599,7 @@ def v2_assurance_topology_overview_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyOverviewPostResponse", + '200': "V2AssuranceTopologyRegionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133018,10 +138613,10 @@ def v2_assurance_topology_overview_post( @validate_call - def v2_assurance_topology_overview_post_with_http_info( + def v2_assurance_topology_region_summary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest, + v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133034,14 +138629,14 @@ def v2_assurance_topology_overview_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologyOverviewPostResponse]: - """v2_assurance_topology_overview_post + ) -> ApiResponse[V2AssuranceTopologyRegionSummaryPostResponse]: + """v2_assurance_topology_region_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_overview_post_request: (required) - :type v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest + :param v2_assurance_topology_region_summary_post_request: (required) + :type v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133064,9 +138659,9 @@ def v2_assurance_topology_overview_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_overview_post_serialize( + _param = self._v2_assurance_topology_region_summary_post_serialize( authorization=authorization, - v2_assurance_topology_overview_post_request=v2_assurance_topology_overview_post_request, + v2_assurance_topology_region_summary_post_request=v2_assurance_topology_region_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133074,7 +138669,7 @@ def v2_assurance_topology_overview_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyOverviewPostResponse", + '200': "V2AssuranceTopologyRegionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133088,10 +138683,10 @@ def v2_assurance_topology_overview_post_with_http_info( @validate_call - def v2_assurance_topology_overview_post_without_preload_content( + def v2_assurance_topology_region_summary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest, + v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133105,13 +138700,13 @@ def v2_assurance_topology_overview_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_overview_post + """v2_assurance_topology_region_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_overview_post_request: (required) - :type v2_assurance_topology_overview_post_request: V2AssuranceTopologyOverviewPostRequest + :param v2_assurance_topology_region_summary_post_request: (required) + :type v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133134,9 +138729,9 @@ def v2_assurance_topology_overview_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_overview_post_serialize( + _param = self._v2_assurance_topology_region_summary_post_serialize( authorization=authorization, - v2_assurance_topology_overview_post_request=v2_assurance_topology_overview_post_request, + v2_assurance_topology_region_summary_post_request=v2_assurance_topology_region_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133144,7 +138739,7 @@ def v2_assurance_topology_overview_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyOverviewPostResponse", + '200': "V2AssuranceTopologyRegionSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133153,10 +138748,10 @@ def v2_assurance_topology_overview_post_without_preload_content( return response_data.response - def _v2_assurance_topology_overview_post_serialize( + def _v2_assurance_topology_region_summary_post_serialize( self, authorization, - v2_assurance_topology_overview_post_request, + v2_assurance_topology_region_summary_post_request, _request_auth, _content_type, _headers, @@ -133184,8 +138779,8 @@ def _v2_assurance_topology_overview_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_overview_post_request is not None: - _body_params = v2_assurance_topology_overview_post_request + if v2_assurance_topology_region_summary_post_request is not None: + _body_params = v2_assurance_topology_region_summary_post_request # set the HTTP header `Accept` @@ -133217,7 +138812,7 @@ def _v2_assurance_topology_overview_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-overview', + resource_path='/v2/assurance/topology-region-summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -133234,10 +138829,10 @@ def _v2_assurance_topology_overview_post_serialize( @validate_call - def v2_assurance_topology_region_summary_post( + def v2_assurance_topology_site_summaries_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest, + v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133250,14 +138845,14 @@ def v2_assurance_topology_region_summary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologyRegionSummaryPostResponse: - """v2_assurance_topology_region_summary_post + ) -> V2AssuranceTopologySiteSummariesPostResponse: + """v2_assurance_topology_site_summaries_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_region_summary_post_request: (required) - :type v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest + :param v2_assurance_topology_site_summaries_post_request: (required) + :type v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133280,9 +138875,9 @@ def v2_assurance_topology_region_summary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_region_summary_post_serialize( + _param = self._v2_assurance_topology_site_summaries_post_serialize( authorization=authorization, - v2_assurance_topology_region_summary_post_request=v2_assurance_topology_region_summary_post_request, + v2_assurance_topology_site_summaries_post_request=v2_assurance_topology_site_summaries_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133290,7 +138885,7 @@ def v2_assurance_topology_region_summary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyRegionSummaryPostResponse", + '200': "V2AssuranceTopologySiteSummariesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133304,10 +138899,10 @@ def v2_assurance_topology_region_summary_post( @validate_call - def v2_assurance_topology_region_summary_post_with_http_info( + def v2_assurance_topology_site_summaries_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest, + v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133320,14 +138915,14 @@ def v2_assurance_topology_region_summary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologyRegionSummaryPostResponse]: - """v2_assurance_topology_region_summary_post + ) -> ApiResponse[V2AssuranceTopologySiteSummariesPostResponse]: + """v2_assurance_topology_site_summaries_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_region_summary_post_request: (required) - :type v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest + :param v2_assurance_topology_site_summaries_post_request: (required) + :type v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133350,9 +138945,9 @@ def v2_assurance_topology_region_summary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_region_summary_post_serialize( + _param = self._v2_assurance_topology_site_summaries_post_serialize( authorization=authorization, - v2_assurance_topology_region_summary_post_request=v2_assurance_topology_region_summary_post_request, + v2_assurance_topology_site_summaries_post_request=v2_assurance_topology_site_summaries_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133360,7 +138955,7 @@ def v2_assurance_topology_region_summary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyRegionSummaryPostResponse", + '200': "V2AssuranceTopologySiteSummariesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133374,10 +138969,10 @@ def v2_assurance_topology_region_summary_post_with_http_info( @validate_call - def v2_assurance_topology_region_summary_post_without_preload_content( + def v2_assurance_topology_site_summaries_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest, + v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133391,13 +138986,13 @@ def v2_assurance_topology_region_summary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_region_summary_post + """v2_assurance_topology_site_summaries_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_region_summary_post_request: (required) - :type v2_assurance_topology_region_summary_post_request: V2AssuranceTopologyRegionSummaryPostRequest + :param v2_assurance_topology_site_summaries_post_request: (required) + :type v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133420,9 +139015,9 @@ def v2_assurance_topology_region_summary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_region_summary_post_serialize( + _param = self._v2_assurance_topology_site_summaries_post_serialize( authorization=authorization, - v2_assurance_topology_region_summary_post_request=v2_assurance_topology_region_summary_post_request, + v2_assurance_topology_site_summaries_post_request=v2_assurance_topology_site_summaries_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133430,7 +139025,7 @@ def v2_assurance_topology_region_summary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologyRegionSummaryPostResponse", + '200': "V2AssuranceTopologySiteSummariesPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133439,10 +139034,10 @@ def v2_assurance_topology_region_summary_post_without_preload_content( return response_data.response - def _v2_assurance_topology_region_summary_post_serialize( + def _v2_assurance_topology_site_summaries_post_serialize( self, authorization, - v2_assurance_topology_region_summary_post_request, + v2_assurance_topology_site_summaries_post_request, _request_auth, _content_type, _headers, @@ -133470,8 +139065,8 @@ def _v2_assurance_topology_region_summary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_region_summary_post_request is not None: - _body_params = v2_assurance_topology_region_summary_post_request + if v2_assurance_topology_site_summaries_post_request is not None: + _body_params = v2_assurance_topology_site_summaries_post_request # set the HTTP header `Accept` @@ -133503,7 +139098,7 @@ def _v2_assurance_topology_region_summary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-region-summary', + resource_path='/v2/assurance/topology-site-summaries', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -133520,10 +139115,10 @@ def _v2_assurance_topology_region_summary_post_serialize( @validate_call - def v2_assurance_topology_site_summaries_post( + def v2_assurance_unclassifiedapplicationprofilesummary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest, + v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133536,14 +139131,14 @@ def v2_assurance_topology_site_summaries_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceTopologySiteSummariesPostResponse: - """v2_assurance_topology_site_summaries_post + ) -> V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse: + """v2_assurance_unclassifiedapplicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_site_summaries_post_request: (required) - :type v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest + :param v2_assurance_unclassifiedapplicationprofilesummary_post_request: (required) + :type v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133566,9 +139161,9 @@ def v2_assurance_topology_site_summaries_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_site_summaries_post_serialize( + _param = self._v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( authorization=authorization, - v2_assurance_topology_site_summaries_post_request=v2_assurance_topology_site_summaries_post_request, + v2_assurance_unclassifiedapplicationprofilesummary_post_request=v2_assurance_unclassifiedapplicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133576,7 +139171,7 @@ def v2_assurance_topology_site_summaries_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologySiteSummariesPostResponse", + '200': "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133590,10 +139185,10 @@ def v2_assurance_topology_site_summaries_post( @validate_call - def v2_assurance_topology_site_summaries_post_with_http_info( + def v2_assurance_unclassifiedapplicationprofilesummary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest, + v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133606,14 +139201,14 @@ def v2_assurance_topology_site_summaries_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceTopologySiteSummariesPostResponse]: - """v2_assurance_topology_site_summaries_post + ) -> ApiResponse[V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse]: + """v2_assurance_unclassifiedapplicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_site_summaries_post_request: (required) - :type v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest + :param v2_assurance_unclassifiedapplicationprofilesummary_post_request: (required) + :type v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133636,9 +139231,9 @@ def v2_assurance_topology_site_summaries_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_site_summaries_post_serialize( + _param = self._v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( authorization=authorization, - v2_assurance_topology_site_summaries_post_request=v2_assurance_topology_site_summaries_post_request, + v2_assurance_unclassifiedapplicationprofilesummary_post_request=v2_assurance_unclassifiedapplicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133646,7 +139241,7 @@ def v2_assurance_topology_site_summaries_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologySiteSummariesPostResponse", + '200': "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133660,10 +139255,10 @@ def v2_assurance_topology_site_summaries_post_with_http_info( @validate_call - def v2_assurance_topology_site_summaries_post_without_preload_content( + def v2_assurance_unclassifiedapplicationprofilesummary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest, + v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133677,13 +139272,13 @@ def v2_assurance_topology_site_summaries_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_topology_site_summaries_post + """v2_assurance_unclassifiedapplicationprofilesummary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_topology_site_summaries_post_request: (required) - :type v2_assurance_topology_site_summaries_post_request: V2AssuranceTopologySiteSummariesPostRequest + :param v2_assurance_unclassifiedapplicationprofilesummary_post_request: (required) + :type v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133706,9 +139301,9 @@ def v2_assurance_topology_site_summaries_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_topology_site_summaries_post_serialize( + _param = self._v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( authorization=authorization, - v2_assurance_topology_site_summaries_post_request=v2_assurance_topology_site_summaries_post_request, + v2_assurance_unclassifiedapplicationprofilesummary_post_request=v2_assurance_unclassifiedapplicationprofilesummary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133716,7 +139311,7 @@ def v2_assurance_topology_site_summaries_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceTopologySiteSummariesPostResponse", + '200': "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -133725,10 +139320,10 @@ def v2_assurance_topology_site_summaries_post_without_preload_content( return response_data.response - def _v2_assurance_topology_site_summaries_post_serialize( + def _v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( self, authorization, - v2_assurance_topology_site_summaries_post_request, + v2_assurance_unclassifiedapplicationprofilesummary_post_request, _request_auth, _content_type, _headers, @@ -133756,8 +139351,8 @@ def _v2_assurance_topology_site_summaries_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_topology_site_summaries_post_request is not None: - _body_params = v2_assurance_topology_site_summaries_post_request + if v2_assurance_unclassifiedapplicationprofilesummary_post_request is not None: + _body_params = v2_assurance_unclassifiedapplicationprofilesummary_post_request # set the HTTP header `Accept` @@ -133789,7 +139384,7 @@ def _v2_assurance_topology_site_summaries_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/topology-site-summaries', + resource_path='/v2/assurance/unclassifiedapplicationprofilesummary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -133806,10 +139401,10 @@ def _v2_assurance_topology_site_summaries_post_serialize( @validate_call - def v2_assurance_unclassifiedapplicationprofilesummary_post( + def v2_assurance_update_ai_adoption_approve_entry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest, + v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133822,14 +139417,14 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse: - """v2_assurance_unclassifiedapplicationprofilesummary_post + ) -> object: + """v2_assurance_update_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_unclassifiedapplicationprofilesummary_post_request: (required) - :type v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest + :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133852,9 +139447,9 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( + _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_unclassifiedapplicationprofilesummary_post_request=v2_assurance_unclassifiedapplicationprofilesummary_post_request, + v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133862,7 +139457,7 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -133876,10 +139471,10 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post( @validate_call - def v2_assurance_unclassifiedapplicationprofilesummary_post_with_http_info( + def v2_assurance_update_ai_adoption_approve_entry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest, + v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133892,14 +139487,14 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse]: - """v2_assurance_unclassifiedapplicationprofilesummary_post + ) -> ApiResponse[object]: + """v2_assurance_update_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_unclassifiedapplicationprofilesummary_post_request: (required) - :type v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest + :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133922,9 +139517,9 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( + _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_unclassifiedapplicationprofilesummary_post_request=v2_assurance_unclassifiedapplicationprofilesummary_post_request, + v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -133932,7 +139527,7 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -133946,10 +139541,10 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_with_http_info( @validate_call - def v2_assurance_unclassifiedapplicationprofilesummary_post_without_preload_content( + def v2_assurance_update_ai_adoption_approve_entry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest, + v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133963,13 +139558,13 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_without_preload_cont _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_unclassifiedapplicationprofilesummary_post + """v2_assurance_update_ai_adoption_approve_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_unclassifiedapplicationprofilesummary_post_request: (required) - :type v2_assurance_unclassifiedapplicationprofilesummary_post_request: V2AssuranceUnclassifiedapplicationprofilesummaryPostRequest + :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) + :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -133992,9 +139587,9 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_without_preload_cont :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( + _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( authorization=authorization, - v2_assurance_unclassifiedapplicationprofilesummary_post_request=v2_assurance_unclassifiedapplicationprofilesummary_post_request, + v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134002,7 +139597,7 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_without_preload_cont ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AssuranceUnclassifiedapplicationprofilesummaryPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -134011,10 +139606,10 @@ def v2_assurance_unclassifiedapplicationprofilesummary_post_without_preload_cont return response_data.response - def _v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( + def _v2_assurance_update_ai_adoption_approve_entry_post_serialize( self, authorization, - v2_assurance_unclassifiedapplicationprofilesummary_post_request, + v2_assurance_update_ai_adoption_approve_entry_post_request, _request_auth, _content_type, _headers, @@ -134042,8 +139637,8 @@ def _v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_unclassifiedapplicationprofilesummary_post_request is not None: - _body_params = v2_assurance_unclassifiedapplicationprofilesummary_post_request + if v2_assurance_update_ai_adoption_approve_entry_post_request is not None: + _body_params = v2_assurance_update_ai_adoption_approve_entry_post_request # set the HTTP header `Accept` @@ -134075,7 +139670,7 @@ def _v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/unclassifiedapplicationprofilesummary', + resource_path='/v2/assurance/update-ai-adoption-approve-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -134092,10 +139687,10 @@ def _v2_assurance_unclassifiedapplicationprofilesummary_post_serialize( @validate_call - def v2_assurance_update_ai_adoption_approve_entry_post( + def v2_assurance_update_dnsproxy_entry_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, + v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134109,13 +139704,13 @@ def v2_assurance_update_ai_adoption_approve_entry_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assurance_update_ai_adoption_approve_entry_post + """v2_assurance_update_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) - :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + :param v2_assurance_update_dnsproxy_entry_post_request: (required) + :type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134138,9 +139733,9 @@ def v2_assurance_update_ai_adoption_approve_entry_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( + _param = self._v2_assurance_update_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, + v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134162,10 +139757,10 @@ def v2_assurance_update_ai_adoption_approve_entry_post( @validate_call - def v2_assurance_update_ai_adoption_approve_entry_post_with_http_info( + def v2_assurance_update_dnsproxy_entry_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, + v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134179,13 +139774,13 @@ def v2_assurance_update_ai_adoption_approve_entry_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assurance_update_ai_adoption_approve_entry_post + """v2_assurance_update_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) - :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + :param v2_assurance_update_dnsproxy_entry_post_request: (required) + :type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134208,9 +139803,9 @@ def v2_assurance_update_ai_adoption_approve_entry_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( + _param = self._v2_assurance_update_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, + v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134232,10 +139827,10 @@ def v2_assurance_update_ai_adoption_approve_entry_post_with_http_info( @validate_call - def v2_assurance_update_ai_adoption_approve_entry_post_without_preload_content( + def v2_assurance_update_dnsproxy_entry_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest, + v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134249,13 +139844,13 @@ def v2_assurance_update_ai_adoption_approve_entry_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_update_ai_adoption_approve_entry_post + """v2_assurance_update_dnsproxy_entry_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_update_ai_adoption_approve_entry_post_request: (required) - :type v2_assurance_update_ai_adoption_approve_entry_post_request: V2AssuranceUpdateAiAdoptionApproveEntryPostRequest + :param v2_assurance_update_dnsproxy_entry_post_request: (required) + :type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134278,9 +139873,9 @@ def v2_assurance_update_ai_adoption_approve_entry_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_update_ai_adoption_approve_entry_post_serialize( + _param = self._v2_assurance_update_dnsproxy_entry_post_serialize( authorization=authorization, - v2_assurance_update_ai_adoption_approve_entry_post_request=v2_assurance_update_ai_adoption_approve_entry_post_request, + v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134297,10 +139892,10 @@ def v2_assurance_update_ai_adoption_approve_entry_post_without_preload_content( return response_data.response - def _v2_assurance_update_ai_adoption_approve_entry_post_serialize( + def _v2_assurance_update_dnsproxy_entry_post_serialize( self, authorization, - v2_assurance_update_ai_adoption_approve_entry_post_request, + v2_assurance_update_dnsproxy_entry_post_request, _request_auth, _content_type, _headers, @@ -134328,8 +139923,8 @@ def _v2_assurance_update_ai_adoption_approve_entry_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_update_ai_adoption_approve_entry_post_request is not None: - _body_params = v2_assurance_update_ai_adoption_approve_entry_post_request + if v2_assurance_update_dnsproxy_entry_post_request is not None: + _body_params = v2_assurance_update_dnsproxy_entry_post_request # set the HTTP header `Accept` @@ -134361,7 +139956,7 @@ def _v2_assurance_update_ai_adoption_approve_entry_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/update-ai-adoption-approve-entry', + resource_path='/v2/assurance/update-dnsproxy-entry', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -134378,10 +139973,10 @@ def _v2_assurance_update_ai_adoption_approve_entry_post_serialize( @validate_call - def v2_assurance_update_dnsproxy_entry_post( + def v2_assurance_updateclassifiedapplication_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest, + v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134395,13 +139990,13 @@ def v2_assurance_update_dnsproxy_entry_post( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_assurance_update_dnsproxy_entry_post + """v2_assurance_updateclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_update_dnsproxy_entry_post_request: (required) - :type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest + :param v2_assurance_updateclassifiedapplication_post_request: (required) + :type v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134424,9 +140019,9 @@ def v2_assurance_update_dnsproxy_entry_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_update_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_updateclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request, + v2_assurance_updateclassifiedapplication_post_request=v2_assurance_updateclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134448,10 +140043,10 @@ def v2_assurance_update_dnsproxy_entry_post( @validate_call - def v2_assurance_update_dnsproxy_entry_post_with_http_info( + def v2_assurance_updateclassifiedapplication_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest, + v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134465,13 +140060,13 @@ def v2_assurance_update_dnsproxy_entry_post_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_assurance_update_dnsproxy_entry_post + """v2_assurance_updateclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_update_dnsproxy_entry_post_request: (required) - :type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest + :param v2_assurance_updateclassifiedapplication_post_request: (required) + :type v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134494,9 +140089,9 @@ def v2_assurance_update_dnsproxy_entry_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_update_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_updateclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request, + v2_assurance_updateclassifiedapplication_post_request=v2_assurance_updateclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134518,10 +140113,10 @@ def v2_assurance_update_dnsproxy_entry_post_with_http_info( @validate_call - def v2_assurance_update_dnsproxy_entry_post_without_preload_content( + def v2_assurance_updateclassifiedapplication_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest, + v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134535,13 +140130,13 @@ def v2_assurance_update_dnsproxy_entry_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_update_dnsproxy_entry_post + """v2_assurance_updateclassifiedapplication_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_update_dnsproxy_entry_post_request: (required) - :type v2_assurance_update_dnsproxy_entry_post_request: V2AssuranceUpdateDnsproxyEntryPostRequest + :param v2_assurance_updateclassifiedapplication_post_request: (required) + :type v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134564,9 +140159,9 @@ def v2_assurance_update_dnsproxy_entry_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_update_dnsproxy_entry_post_serialize( + _param = self._v2_assurance_updateclassifiedapplication_post_serialize( authorization=authorization, - v2_assurance_update_dnsproxy_entry_post_request=v2_assurance_update_dnsproxy_entry_post_request, + v2_assurance_updateclassifiedapplication_post_request=v2_assurance_updateclassifiedapplication_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134583,10 +140178,10 @@ def v2_assurance_update_dnsproxy_entry_post_without_preload_content( return response_data.response - def _v2_assurance_update_dnsproxy_entry_post_serialize( + def _v2_assurance_updateclassifiedapplication_post_serialize( self, authorization, - v2_assurance_update_dnsproxy_entry_post_request, + v2_assurance_updateclassifiedapplication_post_request, _request_auth, _content_type, _headers, @@ -134614,8 +140209,8 @@ def _v2_assurance_update_dnsproxy_entry_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_update_dnsproxy_entry_post_request is not None: - _body_params = v2_assurance_update_dnsproxy_entry_post_request + if v2_assurance_updateclassifiedapplication_post_request is not None: + _body_params = v2_assurance_updateclassifiedapplication_post_request # set the HTTP header `Accept` @@ -134647,7 +140242,7 @@ def _v2_assurance_update_dnsproxy_entry_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/update-dnsproxy-entry', + resource_path='/v2/assurance/updateclassifiedapplication', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -134664,10 +140259,10 @@ def _v2_assurance_update_dnsproxy_entry_post_serialize( @validate_call - def v2_assurance_updateclassifiedapplication_post( + def v2_audit_logs_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest, + v2_audit_logs_post_request: V2AuditLogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134680,14 +140275,14 @@ def v2_assurance_updateclassifiedapplication_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_assurance_updateclassifiedapplication_post + ) -> V2AuditLogsPostResponse: + """v2_audit_logs_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_updateclassifiedapplication_post_request: (required) - :type v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest + :param v2_audit_logs_post_request: (required) + :type v2_audit_logs_post_request: V2AuditLogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134710,9 +140305,9 @@ def v2_assurance_updateclassifiedapplication_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_updateclassifiedapplication_post_serialize( + _param = self._v2_audit_logs_post_serialize( authorization=authorization, - v2_assurance_updateclassifiedapplication_post_request=v2_assurance_updateclassifiedapplication_post_request, + v2_audit_logs_post_request=v2_audit_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134720,7 +140315,7 @@ def v2_assurance_updateclassifiedapplication_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AuditLogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -134734,10 +140329,10 @@ def v2_assurance_updateclassifiedapplication_post( @validate_call - def v2_assurance_updateclassifiedapplication_post_with_http_info( + def v2_audit_logs_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest, + v2_audit_logs_post_request: V2AuditLogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134750,14 +140345,14 @@ def v2_assurance_updateclassifiedapplication_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_assurance_updateclassifiedapplication_post + ) -> ApiResponse[V2AuditLogsPostResponse]: + """v2_audit_logs_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_updateclassifiedapplication_post_request: (required) - :type v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest + :param v2_audit_logs_post_request: (required) + :type v2_audit_logs_post_request: V2AuditLogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134780,9 +140375,9 @@ def v2_assurance_updateclassifiedapplication_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_updateclassifiedapplication_post_serialize( + _param = self._v2_audit_logs_post_serialize( authorization=authorization, - v2_assurance_updateclassifiedapplication_post_request=v2_assurance_updateclassifiedapplication_post_request, + v2_audit_logs_post_request=v2_audit_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134790,7 +140385,7 @@ def v2_assurance_updateclassifiedapplication_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AuditLogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -134804,10 +140399,10 @@ def v2_assurance_updateclassifiedapplication_post_with_http_info( @validate_call - def v2_assurance_updateclassifiedapplication_post_without_preload_content( + def v2_audit_logs_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest, + v2_audit_logs_post_request: V2AuditLogsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134821,13 +140416,13 @@ def v2_assurance_updateclassifiedapplication_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_assurance_updateclassifiedapplication_post + """v2_audit_logs_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_assurance_updateclassifiedapplication_post_request: (required) - :type v2_assurance_updateclassifiedapplication_post_request: V2AssuranceUpdateclassifiedapplicationPostRequest + :param v2_audit_logs_post_request: (required) + :type v2_audit_logs_post_request: V2AuditLogsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134850,9 +140445,9 @@ def v2_assurance_updateclassifiedapplication_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_assurance_updateclassifiedapplication_post_serialize( + _param = self._v2_audit_logs_post_serialize( authorization=authorization, - v2_assurance_updateclassifiedapplication_post_request=v2_assurance_updateclassifiedapplication_post_request, + v2_audit_logs_post_request=v2_audit_logs_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -134860,7 +140455,7 @@ def v2_assurance_updateclassifiedapplication_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2AuditLogsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -134869,10 +140464,10 @@ def v2_assurance_updateclassifiedapplication_post_without_preload_content( return response_data.response - def _v2_assurance_updateclassifiedapplication_post_serialize( + def _v2_audit_logs_post_serialize( self, authorization, - v2_assurance_updateclassifiedapplication_post_request, + v2_audit_logs_post_request, _request_auth, _content_type, _headers, @@ -134900,8 +140495,8 @@ def _v2_assurance_updateclassifiedapplication_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_assurance_updateclassifiedapplication_post_request is not None: - _body_params = v2_assurance_updateclassifiedapplication_post_request + if v2_audit_logs_post_request is not None: + _body_params = v2_audit_logs_post_request # set the HTTP header `Accept` @@ -134933,7 +140528,7 @@ def _v2_assurance_updateclassifiedapplication_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/assurance/updateclassifiedapplication', + resource_path='/v2/audit/logs', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -134950,10 +140545,10 @@ def _v2_assurance_updateclassifiedapplication_post_serialize( @validate_call - def v2_audit_logs_post( + def v2_childalertlist_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_audit_logs_post_request: V2AuditLogsPostRequest, + v2_childalertlist_post_request: V2ChildalertlistPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -134966,14 +140561,14 @@ def v2_audit_logs_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2AuditLogsPostResponse: - """v2_audit_logs_post + ) -> V2ChildalertlistPostResponse: + """v2_childalertlist_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_audit_logs_post_request: (required) - :type v2_audit_logs_post_request: V2AuditLogsPostRequest + :param v2_childalertlist_post_request: (required) + :type v2_childalertlist_post_request: V2ChildalertlistPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -134996,9 +140591,9 @@ def v2_audit_logs_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_audit_logs_post_serialize( + _param = self._v2_childalertlist_post_serialize( authorization=authorization, - v2_audit_logs_post_request=v2_audit_logs_post_request, + v2_childalertlist_post_request=v2_childalertlist_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135006,7 +140601,7 @@ def v2_audit_logs_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AuditLogsPostResponse", + '200': "V2ChildalertlistPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135020,10 +140615,10 @@ def v2_audit_logs_post( @validate_call - def v2_audit_logs_post_with_http_info( + def v2_childalertlist_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_audit_logs_post_request: V2AuditLogsPostRequest, + v2_childalertlist_post_request: V2ChildalertlistPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135036,14 +140631,14 @@ def v2_audit_logs_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2AuditLogsPostResponse]: - """v2_audit_logs_post + ) -> ApiResponse[V2ChildalertlistPostResponse]: + """v2_childalertlist_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_audit_logs_post_request: (required) - :type v2_audit_logs_post_request: V2AuditLogsPostRequest + :param v2_childalertlist_post_request: (required) + :type v2_childalertlist_post_request: V2ChildalertlistPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135066,9 +140661,9 @@ def v2_audit_logs_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_audit_logs_post_serialize( + _param = self._v2_childalertlist_post_serialize( authorization=authorization, - v2_audit_logs_post_request=v2_audit_logs_post_request, + v2_childalertlist_post_request=v2_childalertlist_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135076,7 +140671,7 @@ def v2_audit_logs_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AuditLogsPostResponse", + '200': "V2ChildalertlistPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135090,10 +140685,10 @@ def v2_audit_logs_post_with_http_info( @validate_call - def v2_audit_logs_post_without_preload_content( + def v2_childalertlist_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_audit_logs_post_request: V2AuditLogsPostRequest, + v2_childalertlist_post_request: V2ChildalertlistPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135107,13 +140702,13 @@ def v2_audit_logs_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_audit_logs_post + """v2_childalertlist_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_audit_logs_post_request: (required) - :type v2_audit_logs_post_request: V2AuditLogsPostRequest + :param v2_childalertlist_post_request: (required) + :type v2_childalertlist_post_request: V2ChildalertlistPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135136,9 +140731,9 @@ def v2_audit_logs_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_audit_logs_post_serialize( + _param = self._v2_childalertlist_post_serialize( authorization=authorization, - v2_audit_logs_post_request=v2_audit_logs_post_request, + v2_childalertlist_post_request=v2_childalertlist_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135146,7 +140741,7 @@ def v2_audit_logs_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2AuditLogsPostResponse", + '200': "V2ChildalertlistPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135155,10 +140750,10 @@ def v2_audit_logs_post_without_preload_content( return response_data.response - def _v2_audit_logs_post_serialize( + def _v2_childalertlist_post_serialize( self, authorization, - v2_audit_logs_post_request, + v2_childalertlist_post_request, _request_auth, _content_type, _headers, @@ -135186,8 +140781,8 @@ def _v2_audit_logs_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_audit_logs_post_request is not None: - _body_params = v2_audit_logs_post_request + if v2_childalertlist_post_request is not None: + _body_params = v2_childalertlist_post_request # set the HTTP header `Accept` @@ -135219,7 +140814,7 @@ def _v2_audit_logs_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/audit/logs', + resource_path='/v2/childalertlist', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -135236,10 +140831,11 @@ def _v2_audit_logs_post_serialize( @validate_call - def v2_childalertlist_post( + def v2_device_device_id_lan_segments_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_childalertlist_post_request: V2ChildalertlistPostRequest, + device_id: StrictInt, + v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135252,14 +140848,17 @@ def v2_childalertlist_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ChildalertlistPostResponse: - """v2_childalertlist_post + ) -> V2DeviceDeviceIdLanSegmentsPostResponse: + """v2_device_device_id_lan_segments_post + Get route count for all the LAN Segments in a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_childalertlist_post_request: (required) - :type v2_childalertlist_post_request: V2ChildalertlistPostRequest + :param device_id: (required) + :type device_id: int + :param v2_device_device_id_lan_segments_post_request: (required) + :type v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135282,9 +140881,10 @@ def v2_childalertlist_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_childalertlist_post_serialize( + _param = self._v2_device_device_id_lan_segments_post_serialize( authorization=authorization, - v2_childalertlist_post_request=v2_childalertlist_post_request, + device_id=device_id, + v2_device_device_id_lan_segments_post_request=v2_device_device_id_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135292,7 +140892,7 @@ def v2_childalertlist_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ChildalertlistPostResponse", + '200': "V2DeviceDeviceIdLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135306,10 +140906,11 @@ def v2_childalertlist_post( @validate_call - def v2_childalertlist_post_with_http_info( + def v2_device_device_id_lan_segments_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_childalertlist_post_request: V2ChildalertlistPostRequest, + device_id: StrictInt, + v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135322,14 +140923,17 @@ def v2_childalertlist_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ChildalertlistPostResponse]: - """v2_childalertlist_post + ) -> ApiResponse[V2DeviceDeviceIdLanSegmentsPostResponse]: + """v2_device_device_id_lan_segments_post + Get route count for all the LAN Segments in a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_childalertlist_post_request: (required) - :type v2_childalertlist_post_request: V2ChildalertlistPostRequest + :param device_id: (required) + :type device_id: int + :param v2_device_device_id_lan_segments_post_request: (required) + :type v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135352,9 +140956,10 @@ def v2_childalertlist_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_childalertlist_post_serialize( + _param = self._v2_device_device_id_lan_segments_post_serialize( authorization=authorization, - v2_childalertlist_post_request=v2_childalertlist_post_request, + device_id=device_id, + v2_device_device_id_lan_segments_post_request=v2_device_device_id_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135362,7 +140967,7 @@ def v2_childalertlist_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ChildalertlistPostResponse", + '200': "V2DeviceDeviceIdLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135376,10 +140981,11 @@ def v2_childalertlist_post_with_http_info( @validate_call - def v2_childalertlist_post_without_preload_content( + def v2_device_device_id_lan_segments_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_childalertlist_post_request: V2ChildalertlistPostRequest, + device_id: StrictInt, + v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135393,13 +140999,16 @@ def v2_childalertlist_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_childalertlist_post + """v2_device_device_id_lan_segments_post + Get route count for all the LAN Segments in a device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_childalertlist_post_request: (required) - :type v2_childalertlist_post_request: V2ChildalertlistPostRequest + :param device_id: (required) + :type device_id: int + :param v2_device_device_id_lan_segments_post_request: (required) + :type v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135422,9 +141031,10 @@ def v2_childalertlist_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_childalertlist_post_serialize( + _param = self._v2_device_device_id_lan_segments_post_serialize( authorization=authorization, - v2_childalertlist_post_request=v2_childalertlist_post_request, + device_id=device_id, + v2_device_device_id_lan_segments_post_request=v2_device_device_id_lan_segments_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135432,7 +141042,7 @@ def v2_childalertlist_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ChildalertlistPostResponse", + '200': "V2DeviceDeviceIdLanSegmentsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135441,10 +141051,11 @@ def v2_childalertlist_post_without_preload_content( return response_data.response - def _v2_childalertlist_post_serialize( + def _v2_device_device_id_lan_segments_post_serialize( self, authorization, - v2_childalertlist_post_request, + device_id, + v2_device_device_id_lan_segments_post_request, _request_auth, _content_type, _headers, @@ -135466,14 +141077,16 @@ def _v2_childalertlist_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if device_id is not None: + _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_childalertlist_post_request is not None: - _body_params = v2_childalertlist_post_request + if v2_device_device_id_lan_segments_post_request is not None: + _body_params = v2_device_device_id_lan_segments_post_request # set the HTTP header `Accept` @@ -135505,7 +141118,7 @@ def _v2_childalertlist_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/childalertlist', + resource_path='/v2/device/{deviceId}/lan-segments', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -135522,11 +141135,11 @@ def _v2_childalertlist_post_serialize( @validate_call - def v2_device_device_id_lan_segments_post( + def v2_device_device_id_topology_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], device_id: StrictInt, - v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest, + v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135539,17 +141152,17 @@ def v2_device_device_id_lan_segments_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2DeviceDeviceIdLanSegmentsPostResponse: - """v2_device_device_id_lan_segments_post + ) -> V2DeviceDeviceIdTopologyPostResponse: + """v2_device_device_id_topology_post - Get route count for all the LAN Segments in a device + Get the device topology :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param device_id: (required) :type device_id: int - :param v2_device_device_id_lan_segments_post_request: (required) - :type v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest + :param v2_device_device_id_topology_post_request: (required) + :type v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135572,10 +141185,10 @@ def v2_device_device_id_lan_segments_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_device_device_id_lan_segments_post_serialize( + _param = self._v2_device_device_id_topology_post_serialize( authorization=authorization, device_id=device_id, - v2_device_device_id_lan_segments_post_request=v2_device_device_id_lan_segments_post_request, + v2_device_device_id_topology_post_request=v2_device_device_id_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135583,7 +141196,7 @@ def v2_device_device_id_lan_segments_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2DeviceDeviceIdLanSegmentsPostResponse", + '200': "V2DeviceDeviceIdTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135597,11 +141210,11 @@ def v2_device_device_id_lan_segments_post( @validate_call - def v2_device_device_id_lan_segments_post_with_http_info( + def v2_device_device_id_topology_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], device_id: StrictInt, - v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest, + v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135614,17 +141227,17 @@ def v2_device_device_id_lan_segments_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2DeviceDeviceIdLanSegmentsPostResponse]: - """v2_device_device_id_lan_segments_post + ) -> ApiResponse[V2DeviceDeviceIdTopologyPostResponse]: + """v2_device_device_id_topology_post - Get route count for all the LAN Segments in a device + Get the device topology :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param device_id: (required) :type device_id: int - :param v2_device_device_id_lan_segments_post_request: (required) - :type v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest + :param v2_device_device_id_topology_post_request: (required) + :type v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135647,10 +141260,10 @@ def v2_device_device_id_lan_segments_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_device_device_id_lan_segments_post_serialize( + _param = self._v2_device_device_id_topology_post_serialize( authorization=authorization, device_id=device_id, - v2_device_device_id_lan_segments_post_request=v2_device_device_id_lan_segments_post_request, + v2_device_device_id_topology_post_request=v2_device_device_id_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135658,7 +141271,7 @@ def v2_device_device_id_lan_segments_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2DeviceDeviceIdLanSegmentsPostResponse", + '200': "V2DeviceDeviceIdTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135672,11 +141285,11 @@ def v2_device_device_id_lan_segments_post_with_http_info( @validate_call - def v2_device_device_id_lan_segments_post_without_preload_content( + def v2_device_device_id_topology_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], device_id: StrictInt, - v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest, + v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135690,16 +141303,16 @@ def v2_device_device_id_lan_segments_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_device_device_id_lan_segments_post + """v2_device_device_id_topology_post - Get route count for all the LAN Segments in a device + Get the device topology :param authorization: Bearer token. Format: Bearer (required) :type authorization: str :param device_id: (required) :type device_id: int - :param v2_device_device_id_lan_segments_post_request: (required) - :type v2_device_device_id_lan_segments_post_request: V2DeviceDeviceIdLanSegmentsPostRequest + :param v2_device_device_id_topology_post_request: (required) + :type v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135722,10 +141335,10 @@ def v2_device_device_id_lan_segments_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_device_device_id_lan_segments_post_serialize( + _param = self._v2_device_device_id_topology_post_serialize( authorization=authorization, device_id=device_id, - v2_device_device_id_lan_segments_post_request=v2_device_device_id_lan_segments_post_request, + v2_device_device_id_topology_post_request=v2_device_device_id_topology_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135733,7 +141346,7 @@ def v2_device_device_id_lan_segments_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2DeviceDeviceIdLanSegmentsPostResponse", + '200': "V2DeviceDeviceIdTopologyPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135742,11 +141355,11 @@ def v2_device_device_id_lan_segments_post_without_preload_content( return response_data.response - def _v2_device_device_id_lan_segments_post_serialize( + def _v2_device_device_id_topology_post_serialize( self, authorization, device_id, - v2_device_device_id_lan_segments_post_request, + v2_device_device_id_topology_post_request, _request_auth, _content_type, _headers, @@ -135776,8 +141389,8 @@ def _v2_device_device_id_lan_segments_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_device_device_id_lan_segments_post_request is not None: - _body_params = v2_device_device_id_lan_segments_post_request + if v2_device_device_id_topology_post_request is not None: + _body_params = v2_device_device_id_topology_post_request # set the HTTP header `Accept` @@ -135809,7 +141422,7 @@ def _v2_device_device_id_lan_segments_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/device/{deviceId}/lan-segments', + resource_path='/v2/device/{deviceId}/topology', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -135826,11 +141439,10 @@ def _v2_device_device_id_lan_segments_post_serialize( @validate_call - def v2_device_device_id_topology_post( + def v2_extranet_consumers_usage_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest, + v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135843,17 +141455,15 @@ def v2_device_device_id_topology_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2DeviceDeviceIdTopologyPostResponse: - """v2_device_device_id_topology_post + ) -> V2ExtranetConsumersUsageTopPostResponse: + """v2_extranet_consumers_usage_top_post - Get the device topology + Get extranet service top consumer usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v2_device_device_id_topology_post_request: (required) - :type v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest + :param v2_extranet_consumers_usage_top_post_request: (required) + :type v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135876,10 +141486,9 @@ def v2_device_device_id_topology_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_device_device_id_topology_post_serialize( + _param = self._v2_extranet_consumers_usage_top_post_serialize( authorization=authorization, - device_id=device_id, - v2_device_device_id_topology_post_request=v2_device_device_id_topology_post_request, + v2_extranet_consumers_usage_top_post_request=v2_extranet_consumers_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135887,7 +141496,7 @@ def v2_device_device_id_topology_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2DeviceDeviceIdTopologyPostResponse", + '200': "V2ExtranetConsumersUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135901,11 +141510,10 @@ def v2_device_device_id_topology_post( @validate_call - def v2_device_device_id_topology_post_with_http_info( + def v2_extranet_consumers_usage_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest, + v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135918,17 +141526,15 @@ def v2_device_device_id_topology_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2DeviceDeviceIdTopologyPostResponse]: - """v2_device_device_id_topology_post + ) -> ApiResponse[V2ExtranetConsumersUsageTopPostResponse]: + """v2_extranet_consumers_usage_top_post - Get the device topology + Get extranet service top consumer usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v2_device_device_id_topology_post_request: (required) - :type v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest + :param v2_extranet_consumers_usage_top_post_request: (required) + :type v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -135951,10 +141557,9 @@ def v2_device_device_id_topology_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_device_device_id_topology_post_serialize( + _param = self._v2_extranet_consumers_usage_top_post_serialize( authorization=authorization, - device_id=device_id, - v2_device_device_id_topology_post_request=v2_device_device_id_topology_post_request, + v2_extranet_consumers_usage_top_post_request=v2_extranet_consumers_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -135962,7 +141567,7 @@ def v2_device_device_id_topology_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2DeviceDeviceIdTopologyPostResponse", + '200': "V2ExtranetConsumersUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -135976,11 +141581,10 @@ def v2_device_device_id_topology_post_with_http_info( @validate_call - def v2_device_device_id_topology_post_without_preload_content( + def v2_extranet_consumers_usage_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - device_id: StrictInt, - v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest, + v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -135994,16 +141598,14 @@ def v2_device_device_id_topology_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_device_device_id_topology_post + """v2_extranet_consumers_usage_top_post - Get the device topology + Get extranet service top consumer usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param device_id: (required) - :type device_id: int - :param v2_device_device_id_topology_post_request: (required) - :type v2_device_device_id_topology_post_request: V2DeviceDeviceIdTopologyPostRequest + :param v2_extranet_consumers_usage_top_post_request: (required) + :type v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136026,10 +141628,9 @@ def v2_device_device_id_topology_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_device_device_id_topology_post_serialize( + _param = self._v2_extranet_consumers_usage_top_post_serialize( authorization=authorization, - device_id=device_id, - v2_device_device_id_topology_post_request=v2_device_device_id_topology_post_request, + v2_extranet_consumers_usage_top_post_request=v2_extranet_consumers_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136037,7 +141638,7 @@ def v2_device_device_id_topology_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2DeviceDeviceIdTopologyPostResponse", + '200': "V2ExtranetConsumersUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136046,11 +141647,10 @@ def v2_device_device_id_topology_post_without_preload_content( return response_data.response - def _v2_device_device_id_topology_post_serialize( + def _v2_extranet_consumers_usage_top_post_serialize( self, authorization, - device_id, - v2_device_device_id_topology_post_request, + v2_extranet_consumers_usage_top_post_request, _request_auth, _content_type, _headers, @@ -136072,16 +141672,14 @@ def _v2_device_device_id_topology_post_serialize( _body_params: Optional[bytes] = None # process the path parameters - if device_id is not None: - _path_params['deviceId'] = device_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_device_device_id_topology_post_request is not None: - _body_params = v2_device_device_id_topology_post_request + if v2_extranet_consumers_usage_top_post_request is not None: + _body_params = v2_extranet_consumers_usage_top_post_request # set the HTTP header `Accept` @@ -136113,7 +141711,7 @@ def _v2_device_device_id_topology_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/device/{deviceId}/topology', + resource_path='/v2/extranet/consumers-usage/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -136130,10 +141728,10 @@ def _v2_device_device_id_topology_post_serialize( @validate_call - def v2_extranet_consumers_usage_top_post( + def v2_extranet_lan_segments_usage_top_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest, + v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136146,15 +141744,15 @@ def v2_extranet_consumers_usage_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetConsumersUsageTopPostResponse: - """v2_extranet_consumers_usage_top_post + ) -> V2ExtranetLanSegmentsUsageTopPostResponse: + """v2_extranet_lan_segments_usage_top_post - Get extranet service top consumer usage stats + Get extranet service top lan segment usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_consumers_usage_top_post_request: (required) - :type v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest + :param v2_extranet_lan_segments_usage_top_post_request: (required) + :type v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136177,9 +141775,9 @@ def v2_extranet_consumers_usage_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_consumers_usage_top_post_serialize( + _param = self._v2_extranet_lan_segments_usage_top_post_serialize( authorization=authorization, - v2_extranet_consumers_usage_top_post_request=v2_extranet_consumers_usage_top_post_request, + v2_extranet_lan_segments_usage_top_post_request=v2_extranet_lan_segments_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136187,7 +141785,7 @@ def v2_extranet_consumers_usage_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetConsumersUsageTopPostResponse", + '200': "V2ExtranetLanSegmentsUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136201,10 +141799,10 @@ def v2_extranet_consumers_usage_top_post( @validate_call - def v2_extranet_consumers_usage_top_post_with_http_info( + def v2_extranet_lan_segments_usage_top_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest, + v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136217,15 +141815,15 @@ def v2_extranet_consumers_usage_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetConsumersUsageTopPostResponse]: - """v2_extranet_consumers_usage_top_post + ) -> ApiResponse[V2ExtranetLanSegmentsUsageTopPostResponse]: + """v2_extranet_lan_segments_usage_top_post - Get extranet service top consumer usage stats + Get extranet service top lan segment usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_consumers_usage_top_post_request: (required) - :type v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest + :param v2_extranet_lan_segments_usage_top_post_request: (required) + :type v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136248,9 +141846,9 @@ def v2_extranet_consumers_usage_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_consumers_usage_top_post_serialize( + _param = self._v2_extranet_lan_segments_usage_top_post_serialize( authorization=authorization, - v2_extranet_consumers_usage_top_post_request=v2_extranet_consumers_usage_top_post_request, + v2_extranet_lan_segments_usage_top_post_request=v2_extranet_lan_segments_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136258,7 +141856,7 @@ def v2_extranet_consumers_usage_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetConsumersUsageTopPostResponse", + '200': "V2ExtranetLanSegmentsUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136272,10 +141870,10 @@ def v2_extranet_consumers_usage_top_post_with_http_info( @validate_call - def v2_extranet_consumers_usage_top_post_without_preload_content( + def v2_extranet_lan_segments_usage_top_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest, + v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136289,14 +141887,14 @@ def v2_extranet_consumers_usage_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranet_consumers_usage_top_post + """v2_extranet_lan_segments_usage_top_post - Get extranet service top consumer usage stats + Get extranet service top lan segment usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_consumers_usage_top_post_request: (required) - :type v2_extranet_consumers_usage_top_post_request: V2ExtranetConsumersUsageTopPostRequest + :param v2_extranet_lan_segments_usage_top_post_request: (required) + :type v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136319,9 +141917,9 @@ def v2_extranet_consumers_usage_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_consumers_usage_top_post_serialize( + _param = self._v2_extranet_lan_segments_usage_top_post_serialize( authorization=authorization, - v2_extranet_consumers_usage_top_post_request=v2_extranet_consumers_usage_top_post_request, + v2_extranet_lan_segments_usage_top_post_request=v2_extranet_lan_segments_usage_top_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136329,7 +141927,7 @@ def v2_extranet_consumers_usage_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetConsumersUsageTopPostResponse", + '200': "V2ExtranetLanSegmentsUsageTopPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136338,10 +141936,10 @@ def v2_extranet_consumers_usage_top_post_without_preload_content( return response_data.response - def _v2_extranet_consumers_usage_top_post_serialize( + def _v2_extranet_lan_segments_usage_top_post_serialize( self, authorization, - v2_extranet_consumers_usage_top_post_request, + v2_extranet_lan_segments_usage_top_post_request, _request_auth, _content_type, _headers, @@ -136369,8 +141967,8 @@ def _v2_extranet_consumers_usage_top_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranet_consumers_usage_top_post_request is not None: - _body_params = v2_extranet_consumers_usage_top_post_request + if v2_extranet_lan_segments_usage_top_post_request is not None: + _body_params = v2_extranet_lan_segments_usage_top_post_request # set the HTTP header `Accept` @@ -136402,7 +142000,7 @@ def _v2_extranet_consumers_usage_top_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/extranet/consumers-usage/top', + resource_path='/v2/extranet/lan-segments-usage/top', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -136419,10 +142017,10 @@ def _v2_extranet_consumers_usage_top_post_serialize( @validate_call - def v2_extranet_lan_segments_usage_top_post( + def v2_extranet_service_overtime_consumption_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest, + v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136435,15 +142033,15 @@ def v2_extranet_lan_segments_usage_top_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetLanSegmentsUsageTopPostResponse: - """v2_extranet_lan_segments_usage_top_post + ) -> V2ExtranetServiceOvertimeConsumptionPostResponse: + """v2_extranet_service_overtime_consumption_post - Get extranet service top lan segment usage stats + Get extranet service cumulative consumption over timewindow :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_lan_segments_usage_top_post_request: (required) - :type v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest + :param v2_extranet_service_overtime_consumption_post_request: (required) + :type v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136466,9 +142064,9 @@ def v2_extranet_lan_segments_usage_top_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_lan_segments_usage_top_post_serialize( + _param = self._v2_extranet_service_overtime_consumption_post_serialize( authorization=authorization, - v2_extranet_lan_segments_usage_top_post_request=v2_extranet_lan_segments_usage_top_post_request, + v2_extranet_service_overtime_consumption_post_request=v2_extranet_service_overtime_consumption_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136476,7 +142074,7 @@ def v2_extranet_lan_segments_usage_top_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetLanSegmentsUsageTopPostResponse", + '200': "V2ExtranetServiceOvertimeConsumptionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136490,10 +142088,10 @@ def v2_extranet_lan_segments_usage_top_post( @validate_call - def v2_extranet_lan_segments_usage_top_post_with_http_info( + def v2_extranet_service_overtime_consumption_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest, + v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136506,15 +142104,15 @@ def v2_extranet_lan_segments_usage_top_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetLanSegmentsUsageTopPostResponse]: - """v2_extranet_lan_segments_usage_top_post + ) -> ApiResponse[V2ExtranetServiceOvertimeConsumptionPostResponse]: + """v2_extranet_service_overtime_consumption_post - Get extranet service top lan segment usage stats + Get extranet service cumulative consumption over timewindow :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_lan_segments_usage_top_post_request: (required) - :type v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest + :param v2_extranet_service_overtime_consumption_post_request: (required) + :type v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136537,9 +142135,9 @@ def v2_extranet_lan_segments_usage_top_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_lan_segments_usage_top_post_serialize( + _param = self._v2_extranet_service_overtime_consumption_post_serialize( authorization=authorization, - v2_extranet_lan_segments_usage_top_post_request=v2_extranet_lan_segments_usage_top_post_request, + v2_extranet_service_overtime_consumption_post_request=v2_extranet_service_overtime_consumption_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136547,7 +142145,7 @@ def v2_extranet_lan_segments_usage_top_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetLanSegmentsUsageTopPostResponse", + '200': "V2ExtranetServiceOvertimeConsumptionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136561,10 +142159,10 @@ def v2_extranet_lan_segments_usage_top_post_with_http_info( @validate_call - def v2_extranet_lan_segments_usage_top_post_without_preload_content( + def v2_extranet_service_overtime_consumption_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest, + v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136578,14 +142176,14 @@ def v2_extranet_lan_segments_usage_top_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranet_lan_segments_usage_top_post + """v2_extranet_service_overtime_consumption_post - Get extranet service top lan segment usage stats + Get extranet service cumulative consumption over timewindow :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_lan_segments_usage_top_post_request: (required) - :type v2_extranet_lan_segments_usage_top_post_request: V2ExtranetLanSegmentsUsageTopPostRequest + :param v2_extranet_service_overtime_consumption_post_request: (required) + :type v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136608,9 +142206,9 @@ def v2_extranet_lan_segments_usage_top_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_lan_segments_usage_top_post_serialize( + _param = self._v2_extranet_service_overtime_consumption_post_serialize( authorization=authorization, - v2_extranet_lan_segments_usage_top_post_request=v2_extranet_lan_segments_usage_top_post_request, + v2_extranet_service_overtime_consumption_post_request=v2_extranet_service_overtime_consumption_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136618,7 +142216,7 @@ def v2_extranet_lan_segments_usage_top_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetLanSegmentsUsageTopPostResponse", + '200': "V2ExtranetServiceOvertimeConsumptionPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136627,10 +142225,10 @@ def v2_extranet_lan_segments_usage_top_post_without_preload_content( return response_data.response - def _v2_extranet_lan_segments_usage_top_post_serialize( + def _v2_extranet_service_overtime_consumption_post_serialize( self, authorization, - v2_extranet_lan_segments_usage_top_post_request, + v2_extranet_service_overtime_consumption_post_request, _request_auth, _content_type, _headers, @@ -136658,8 +142256,8 @@ def _v2_extranet_lan_segments_usage_top_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranet_lan_segments_usage_top_post_request is not None: - _body_params = v2_extranet_lan_segments_usage_top_post_request + if v2_extranet_service_overtime_consumption_post_request is not None: + _body_params = v2_extranet_service_overtime_consumption_post_request # set the HTTP header `Accept` @@ -136691,7 +142289,7 @@ def _v2_extranet_lan_segments_usage_top_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/extranet/lan-segments-usage/top', + resource_path='/v2/extranet/service-overtime-consumption', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -136708,10 +142306,10 @@ def _v2_extranet_lan_segments_usage_top_post_serialize( @validate_call - def v2_extranet_service_overtime_consumption_post( + def v2_extranet_sites_consumption_overview_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest, + v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136724,15 +142322,15 @@ def v2_extranet_service_overtime_consumption_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetServiceOvertimeConsumptionPostResponse: - """v2_extranet_service_overtime_consumption_post + ) -> V2ExtranetSitesConsumptionOverviewPostResponse: + """v2_extranet_sites_consumption_overview_post - Get extranet service cumulative consumption over timewindow + Get extranet service consumption overview over timewindow :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_service_overtime_consumption_post_request: (required) - :type v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest + :param v2_extranet_sites_consumption_overview_post_request: (required) + :type v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136755,9 +142353,9 @@ def v2_extranet_service_overtime_consumption_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_service_overtime_consumption_post_serialize( + _param = self._v2_extranet_sites_consumption_overview_post_serialize( authorization=authorization, - v2_extranet_service_overtime_consumption_post_request=v2_extranet_service_overtime_consumption_post_request, + v2_extranet_sites_consumption_overview_post_request=v2_extranet_sites_consumption_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136765,7 +142363,7 @@ def v2_extranet_service_overtime_consumption_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetServiceOvertimeConsumptionPostResponse", + '200': "V2ExtranetSitesConsumptionOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136779,10 +142377,10 @@ def v2_extranet_service_overtime_consumption_post( @validate_call - def v2_extranet_service_overtime_consumption_post_with_http_info( + def v2_extranet_sites_consumption_overview_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest, + v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136795,15 +142393,15 @@ def v2_extranet_service_overtime_consumption_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetServiceOvertimeConsumptionPostResponse]: - """v2_extranet_service_overtime_consumption_post + ) -> ApiResponse[V2ExtranetSitesConsumptionOverviewPostResponse]: + """v2_extranet_sites_consumption_overview_post - Get extranet service cumulative consumption over timewindow + Get extranet service consumption overview over timewindow :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_service_overtime_consumption_post_request: (required) - :type v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest + :param v2_extranet_sites_consumption_overview_post_request: (required) + :type v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136826,9 +142424,9 @@ def v2_extranet_service_overtime_consumption_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_service_overtime_consumption_post_serialize( + _param = self._v2_extranet_sites_consumption_overview_post_serialize( authorization=authorization, - v2_extranet_service_overtime_consumption_post_request=v2_extranet_service_overtime_consumption_post_request, + v2_extranet_sites_consumption_overview_post_request=v2_extranet_sites_consumption_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136836,7 +142434,7 @@ def v2_extranet_service_overtime_consumption_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetServiceOvertimeConsumptionPostResponse", + '200': "V2ExtranetSitesConsumptionOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136850,10 +142448,10 @@ def v2_extranet_service_overtime_consumption_post_with_http_info( @validate_call - def v2_extranet_service_overtime_consumption_post_without_preload_content( + def v2_extranet_sites_consumption_overview_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest, + v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -136867,14 +142465,14 @@ def v2_extranet_service_overtime_consumption_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranet_service_overtime_consumption_post + """v2_extranet_sites_consumption_overview_post - Get extranet service cumulative consumption over timewindow + Get extranet service consumption overview over timewindow :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_service_overtime_consumption_post_request: (required) - :type v2_extranet_service_overtime_consumption_post_request: V2ExtranetServiceOvertimeConsumptionPostRequest + :param v2_extranet_sites_consumption_overview_post_request: (required) + :type v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -136897,9 +142495,9 @@ def v2_extranet_service_overtime_consumption_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_service_overtime_consumption_post_serialize( + _param = self._v2_extranet_sites_consumption_overview_post_serialize( authorization=authorization, - v2_extranet_service_overtime_consumption_post_request=v2_extranet_service_overtime_consumption_post_request, + v2_extranet_sites_consumption_overview_post_request=v2_extranet_sites_consumption_overview_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -136907,7 +142505,7 @@ def v2_extranet_service_overtime_consumption_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetServiceOvertimeConsumptionPostResponse", + '200': "V2ExtranetSitesConsumptionOverviewPostResponse", } response_data = self.api_client.call_api( *_param, @@ -136916,10 +142514,10 @@ def v2_extranet_service_overtime_consumption_post_without_preload_content( return response_data.response - def _v2_extranet_service_overtime_consumption_post_serialize( + def _v2_extranet_sites_consumption_overview_post_serialize( self, authorization, - v2_extranet_service_overtime_consumption_post_request, + v2_extranet_sites_consumption_overview_post_request, _request_auth, _content_type, _headers, @@ -136947,8 +142545,8 @@ def _v2_extranet_service_overtime_consumption_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranet_service_overtime_consumption_post_request is not None: - _body_params = v2_extranet_service_overtime_consumption_post_request + if v2_extranet_sites_consumption_overview_post_request is not None: + _body_params = v2_extranet_sites_consumption_overview_post_request # set the HTTP header `Accept` @@ -136980,7 +142578,7 @@ def _v2_extranet_service_overtime_consumption_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/extranet/service-overtime-consumption', + resource_path='/v2/extranet/sites-consumption-overview', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -136997,10 +142595,10 @@ def _v2_extranet_service_overtime_consumption_post_serialize( @validate_call - def v2_extranet_sites_consumption_overview_post( + def v2_extranet_sites_usage_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest, + v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137013,15 +142611,15 @@ def v2_extranet_sites_consumption_overview_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetSitesConsumptionOverviewPostResponse: - """v2_extranet_sites_consumption_overview_post + ) -> V2ExtranetSitesUsagePostResponse: + """v2_extranet_sites_usage_post - Get extranet service consumption overview over timewindow + Get extranet service sites usage stats v2 :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_sites_consumption_overview_post_request: (required) - :type v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest + :param v2_extranet_sites_usage_post_request: (required) + :type v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137044,9 +142642,9 @@ def v2_extranet_sites_consumption_overview_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_sites_consumption_overview_post_serialize( + _param = self._v2_extranet_sites_usage_post_serialize( authorization=authorization, - v2_extranet_sites_consumption_overview_post_request=v2_extranet_sites_consumption_overview_post_request, + v2_extranet_sites_usage_post_request=v2_extranet_sites_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137054,7 +142652,7 @@ def v2_extranet_sites_consumption_overview_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetSitesConsumptionOverviewPostResponse", + '200': "V2ExtranetSitesUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -137068,10 +142666,10 @@ def v2_extranet_sites_consumption_overview_post( @validate_call - def v2_extranet_sites_consumption_overview_post_with_http_info( + def v2_extranet_sites_usage_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest, + v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137084,15 +142682,15 @@ def v2_extranet_sites_consumption_overview_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetSitesConsumptionOverviewPostResponse]: - """v2_extranet_sites_consumption_overview_post + ) -> ApiResponse[V2ExtranetSitesUsagePostResponse]: + """v2_extranet_sites_usage_post - Get extranet service consumption overview over timewindow + Get extranet service sites usage stats v2 :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_sites_consumption_overview_post_request: (required) - :type v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest + :param v2_extranet_sites_usage_post_request: (required) + :type v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137115,9 +142713,9 @@ def v2_extranet_sites_consumption_overview_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_sites_consumption_overview_post_serialize( + _param = self._v2_extranet_sites_usage_post_serialize( authorization=authorization, - v2_extranet_sites_consumption_overview_post_request=v2_extranet_sites_consumption_overview_post_request, + v2_extranet_sites_usage_post_request=v2_extranet_sites_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137125,7 +142723,7 @@ def v2_extranet_sites_consumption_overview_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetSitesConsumptionOverviewPostResponse", + '200': "V2ExtranetSitesUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -137139,10 +142737,10 @@ def v2_extranet_sites_consumption_overview_post_with_http_info( @validate_call - def v2_extranet_sites_consumption_overview_post_without_preload_content( + def v2_extranet_sites_usage_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest, + v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137156,14 +142754,14 @@ def v2_extranet_sites_consumption_overview_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranet_sites_consumption_overview_post + """v2_extranet_sites_usage_post - Get extranet service consumption overview over timewindow + Get extranet service sites usage stats v2 :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_sites_consumption_overview_post_request: (required) - :type v2_extranet_sites_consumption_overview_post_request: V2ExtranetSitesConsumptionOverviewPostRequest + :param v2_extranet_sites_usage_post_request: (required) + :type v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137186,9 +142784,9 @@ def v2_extranet_sites_consumption_overview_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_sites_consumption_overview_post_serialize( + _param = self._v2_extranet_sites_usage_post_serialize( authorization=authorization, - v2_extranet_sites_consumption_overview_post_request=v2_extranet_sites_consumption_overview_post_request, + v2_extranet_sites_usage_post_request=v2_extranet_sites_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137196,7 +142794,7 @@ def v2_extranet_sites_consumption_overview_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetSitesConsumptionOverviewPostResponse", + '200': "V2ExtranetSitesUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -137205,10 +142803,10 @@ def v2_extranet_sites_consumption_overview_post_without_preload_content( return response_data.response - def _v2_extranet_sites_consumption_overview_post_serialize( + def _v2_extranet_sites_usage_post_serialize( self, authorization, - v2_extranet_sites_consumption_overview_post_request, + v2_extranet_sites_usage_post_request, _request_auth, _content_type, _headers, @@ -137236,8 +142834,8 @@ def _v2_extranet_sites_consumption_overview_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranet_sites_consumption_overview_post_request is not None: - _body_params = v2_extranet_sites_consumption_overview_post_request + if v2_extranet_sites_usage_post_request is not None: + _body_params = v2_extranet_sites_usage_post_request # set the HTTP header `Accept` @@ -137269,7 +142867,7 @@ def _v2_extranet_sites_consumption_overview_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/extranet/sites-consumption-overview', + resource_path='/v2/extranet/sites-usage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -137286,10 +142884,10 @@ def _v2_extranet_sites_consumption_overview_post_serialize( @validate_call - def v2_extranet_sites_usage_post( + def v2_extranet_total_usage_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest, + v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137302,15 +142900,15 @@ def v2_extranet_sites_usage_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetSitesUsagePostResponse: - """v2_extranet_sites_usage_post + ) -> V2ExtranetTotalUsagePostResponse: + """v2_extranet_total_usage_post - Get extranet service sites usage stats v2 + Get extranet service total usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_sites_usage_post_request: (required) - :type v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest + :param v2_extranet_total_usage_post_request: (required) + :type v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137333,9 +142931,9 @@ def v2_extranet_sites_usage_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_sites_usage_post_serialize( + _param = self._v2_extranet_total_usage_post_serialize( authorization=authorization, - v2_extranet_sites_usage_post_request=v2_extranet_sites_usage_post_request, + v2_extranet_total_usage_post_request=v2_extranet_total_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137343,7 +142941,7 @@ def v2_extranet_sites_usage_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetSitesUsagePostResponse", + '200': "V2ExtranetTotalUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -137357,10 +142955,10 @@ def v2_extranet_sites_usage_post( @validate_call - def v2_extranet_sites_usage_post_with_http_info( + def v2_extranet_total_usage_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest, + v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137373,15 +142971,15 @@ def v2_extranet_sites_usage_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetSitesUsagePostResponse]: - """v2_extranet_sites_usage_post + ) -> ApiResponse[V2ExtranetTotalUsagePostResponse]: + """v2_extranet_total_usage_post - Get extranet service sites usage stats v2 + Get extranet service total usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_sites_usage_post_request: (required) - :type v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest + :param v2_extranet_total_usage_post_request: (required) + :type v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137404,9 +143002,9 @@ def v2_extranet_sites_usage_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_sites_usage_post_serialize( + _param = self._v2_extranet_total_usage_post_serialize( authorization=authorization, - v2_extranet_sites_usage_post_request=v2_extranet_sites_usage_post_request, + v2_extranet_total_usage_post_request=v2_extranet_total_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137414,7 +143012,7 @@ def v2_extranet_sites_usage_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetSitesUsagePostResponse", + '200': "V2ExtranetTotalUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -137428,10 +143026,10 @@ def v2_extranet_sites_usage_post_with_http_info( @validate_call - def v2_extranet_sites_usage_post_without_preload_content( + def v2_extranet_total_usage_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest, + v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137445,14 +143043,14 @@ def v2_extranet_sites_usage_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranet_sites_usage_post + """v2_extranet_total_usage_post - Get extranet service sites usage stats v2 + Get extranet service total usage stats :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_sites_usage_post_request: (required) - :type v2_extranet_sites_usage_post_request: V2ExtranetSitesUsagePostRequest + :param v2_extranet_total_usage_post_request: (required) + :type v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137475,9 +143073,9 @@ def v2_extranet_sites_usage_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_sites_usage_post_serialize( + _param = self._v2_extranet_total_usage_post_serialize( authorization=authorization, - v2_extranet_sites_usage_post_request=v2_extranet_sites_usage_post_request, + v2_extranet_total_usage_post_request=v2_extranet_total_usage_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137485,7 +143083,7 @@ def v2_extranet_sites_usage_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetSitesUsagePostResponse", + '200': "V2ExtranetTotalUsagePostResponse", } response_data = self.api_client.call_api( *_param, @@ -137494,10 +143092,10 @@ def v2_extranet_sites_usage_post_without_preload_content( return response_data.response - def _v2_extranet_sites_usage_post_serialize( + def _v2_extranet_total_usage_post_serialize( self, authorization, - v2_extranet_sites_usage_post_request, + v2_extranet_total_usage_post_request, _request_auth, _content_type, _headers, @@ -137525,8 +143123,8 @@ def _v2_extranet_sites_usage_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranet_sites_usage_post_request is not None: - _body_params = v2_extranet_sites_usage_post_request + if v2_extranet_total_usage_post_request is not None: + _body_params = v2_extranet_total_usage_post_request # set the HTTP header `Accept` @@ -137558,7 +143156,7 @@ def _v2_extranet_sites_usage_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/extranet/sites-usage', + resource_path='/v2/extranet/total-usage', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -137575,10 +143173,10 @@ def _v2_extranet_sites_usage_post_serialize( @validate_call - def v2_extranet_total_usage_post( + def v2_extranets_monitoring_consumers_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest, + v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137591,15 +143189,15 @@ def v2_extranet_total_usage_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetTotalUsagePostResponse: - """v2_extranet_total_usage_post + ) -> V2ExtranetsMonitoringConsumersPostResponse: + """v2_extranets_monitoring_consumers_post - Get extranet service total usage stats + Get consumer list for b2b producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_total_usage_post_request: (required) - :type v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest + :param v2_extranets_monitoring_consumers_post_request: (required) + :type v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137622,9 +143220,9 @@ def v2_extranet_total_usage_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_total_usage_post_serialize( + _param = self._v2_extranets_monitoring_consumers_post_serialize( authorization=authorization, - v2_extranet_total_usage_post_request=v2_extranet_total_usage_post_request, + v2_extranets_monitoring_consumers_post_request=v2_extranets_monitoring_consumers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137632,7 +143230,7 @@ def v2_extranet_total_usage_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetTotalUsagePostResponse", + '200': "V2ExtranetsMonitoringConsumersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -137646,10 +143244,10 @@ def v2_extranet_total_usage_post( @validate_call - def v2_extranet_total_usage_post_with_http_info( + def v2_extranets_monitoring_consumers_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest, + v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137662,15 +143260,15 @@ def v2_extranet_total_usage_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetTotalUsagePostResponse]: - """v2_extranet_total_usage_post + ) -> ApiResponse[V2ExtranetsMonitoringConsumersPostResponse]: + """v2_extranets_monitoring_consumers_post - Get extranet service total usage stats + Get consumer list for b2b producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_total_usage_post_request: (required) - :type v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest + :param v2_extranets_monitoring_consumers_post_request: (required) + :type v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137693,9 +143291,9 @@ def v2_extranet_total_usage_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_total_usage_post_serialize( + _param = self._v2_extranets_monitoring_consumers_post_serialize( authorization=authorization, - v2_extranet_total_usage_post_request=v2_extranet_total_usage_post_request, + v2_extranets_monitoring_consumers_post_request=v2_extranets_monitoring_consumers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137703,7 +143301,7 @@ def v2_extranet_total_usage_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetTotalUsagePostResponse", + '200': "V2ExtranetsMonitoringConsumersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -137717,10 +143315,10 @@ def v2_extranet_total_usage_post_with_http_info( @validate_call - def v2_extranet_total_usage_post_without_preload_content( + def v2_extranets_monitoring_consumers_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest, + v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137734,14 +143332,14 @@ def v2_extranet_total_usage_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranet_total_usage_post + """v2_extranets_monitoring_consumers_post - Get extranet service total usage stats + Get consumer list for b2b producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranet_total_usage_post_request: (required) - :type v2_extranet_total_usage_post_request: V2ExtranetTotalUsagePostRequest + :param v2_extranets_monitoring_consumers_post_request: (required) + :type v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137764,9 +143362,9 @@ def v2_extranet_total_usage_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranet_total_usage_post_serialize( + _param = self._v2_extranets_monitoring_consumers_post_serialize( authorization=authorization, - v2_extranet_total_usage_post_request=v2_extranet_total_usage_post_request, + v2_extranets_monitoring_consumers_post_request=v2_extranets_monitoring_consumers_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137774,7 +143372,7 @@ def v2_extranet_total_usage_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetTotalUsagePostResponse", + '200': "V2ExtranetsMonitoringConsumersPostResponse", } response_data = self.api_client.call_api( *_param, @@ -137783,10 +143381,10 @@ def v2_extranet_total_usage_post_without_preload_content( return response_data.response - def _v2_extranet_total_usage_post_serialize( + def _v2_extranets_monitoring_consumers_post_serialize( self, authorization, - v2_extranet_total_usage_post_request, + v2_extranets_monitoring_consumers_post_request, _request_auth, _content_type, _headers, @@ -137814,8 +143412,8 @@ def _v2_extranet_total_usage_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranet_total_usage_post_request is not None: - _body_params = v2_extranet_total_usage_post_request + if v2_extranets_monitoring_consumers_post_request is not None: + _body_params = v2_extranets_monitoring_consumers_post_request # set the HTTP header `Accept` @@ -137847,7 +143445,7 @@ def _v2_extranet_total_usage_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/extranet/total-usage', + resource_path='/v2/extranets-monitoring/consumers', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -137864,10 +143462,10 @@ def _v2_extranet_total_usage_post_serialize( @validate_call - def v2_extranets_monitoring_consumers_post( + def v2_integration_getall_enterprise_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest, + enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137880,15 +143478,14 @@ def v2_extranets_monitoring_consumers_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2ExtranetsMonitoringConsumersPostResponse: - """v2_extranets_monitoring_consumers_post + ) -> V2IntegrationGetallEnterpriseIdGetResponse: + """v2_integration_getall_enterprise_id_get - Get consumer list for b2b producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranets_monitoring_consumers_post_request: (required) - :type v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest + :param enterprise_id: Enterprise id (required) + :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137911,9 +143508,9 @@ def v2_extranets_monitoring_consumers_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranets_monitoring_consumers_post_serialize( + _param = self._v2_integration_getall_enterprise_id_get_serialize( authorization=authorization, - v2_extranets_monitoring_consumers_post_request=v2_extranets_monitoring_consumers_post_request, + enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137921,7 +143518,7 @@ def v2_extranets_monitoring_consumers_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetsMonitoringConsumersPostResponse", + '200': "V2IntegrationGetallEnterpriseIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -137935,10 +143532,10 @@ def v2_extranets_monitoring_consumers_post( @validate_call - def v2_extranets_monitoring_consumers_post_with_http_info( + def v2_integration_getall_enterprise_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest, + enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -137951,15 +143548,14 @@ def v2_extranets_monitoring_consumers_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2ExtranetsMonitoringConsumersPostResponse]: - """v2_extranets_monitoring_consumers_post + ) -> ApiResponse[V2IntegrationGetallEnterpriseIdGetResponse]: + """v2_integration_getall_enterprise_id_get - Get consumer list for b2b producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranets_monitoring_consumers_post_request: (required) - :type v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest + :param enterprise_id: Enterprise id (required) + :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -137982,9 +143578,9 @@ def v2_extranets_monitoring_consumers_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranets_monitoring_consumers_post_serialize( + _param = self._v2_integration_getall_enterprise_id_get_serialize( authorization=authorization, - v2_extranets_monitoring_consumers_post_request=v2_extranets_monitoring_consumers_post_request, + enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -137992,7 +143588,7 @@ def v2_extranets_monitoring_consumers_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetsMonitoringConsumersPostResponse", + '200': "V2IntegrationGetallEnterpriseIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -138006,10 +143602,10 @@ def v2_extranets_monitoring_consumers_post_with_http_info( @validate_call - def v2_extranets_monitoring_consumers_post_without_preload_content( + def v2_integration_getall_enterprise_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest, + enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138023,14 +143619,13 @@ def v2_extranets_monitoring_consumers_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_extranets_monitoring_consumers_post + """v2_integration_getall_enterprise_id_get - Get consumer list for b2b producer service :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_extranets_monitoring_consumers_post_request: (required) - :type v2_extranets_monitoring_consumers_post_request: V2ExtranetsMonitoringConsumersPostRequest + :param enterprise_id: Enterprise id (required) + :type enterprise_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138053,9 +143648,9 @@ def v2_extranets_monitoring_consumers_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_extranets_monitoring_consumers_post_serialize( + _param = self._v2_integration_getall_enterprise_id_get_serialize( authorization=authorization, - v2_extranets_monitoring_consumers_post_request=v2_extranets_monitoring_consumers_post_request, + enterprise_id=enterprise_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138063,7 +143658,7 @@ def v2_extranets_monitoring_consumers_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2ExtranetsMonitoringConsumersPostResponse", + '200': "V2IntegrationGetallEnterpriseIdGetResponse", } response_data = self.api_client.call_api( *_param, @@ -138072,10 +143667,10 @@ def v2_extranets_monitoring_consumers_post_without_preload_content( return response_data.response - def _v2_extranets_monitoring_consumers_post_serialize( + def _v2_integration_getall_enterprise_id_get_serialize( self, authorization, - v2_extranets_monitoring_consumers_post_request, + enterprise_id, _request_auth, _content_type, _headers, @@ -138097,14 +143692,14 @@ def _v2_extranets_monitoring_consumers_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if enterprise_id is not None: + _path_params['enterpriseId'] = enterprise_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_extranets_monitoring_consumers_post_request is not None: - _body_params = v2_extranets_monitoring_consumers_post_request # set the HTTP header `Accept` @@ -138115,19 +143710,6 @@ def _v2_extranets_monitoring_consumers_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -138135,8 +143717,8 @@ def _v2_extranets_monitoring_consumers_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/extranets-monitoring/consumers', + method='GET', + resource_path='/v2/integration/getall/{enterpriseId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -138153,10 +143735,10 @@ def _v2_extranets_monitoring_consumers_post_serialize( @validate_call - def v2_integration_getall_enterprise_id_get( + def v2_integration_integration_id_delete( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], + integration_id: Annotated[StrictInt, Field(description="ID of the integration to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138169,14 +143751,14 @@ def v2_integration_getall_enterprise_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2IntegrationGetallEnterpriseIdGetResponse: - """v2_integration_getall_enterprise_id_get + ) -> object: + """v2_integration_integration_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: Enterprise id (required) - :type enterprise_id: int + :param integration_id: ID of the integration to be deleted (required) + :type integration_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138199,9 +143781,9 @@ def v2_integration_getall_enterprise_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_getall_enterprise_id_get_serialize( + _param = self._v2_integration_integration_id_delete_serialize( authorization=authorization, - enterprise_id=enterprise_id, + integration_id=integration_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138209,7 +143791,7 @@ def v2_integration_getall_enterprise_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2IntegrationGetallEnterpriseIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -138223,10 +143805,10 @@ def v2_integration_getall_enterprise_id_get( @validate_call - def v2_integration_getall_enterprise_id_get_with_http_info( + def v2_integration_integration_id_delete_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], + integration_id: Annotated[StrictInt, Field(description="ID of the integration to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138239,14 +143821,14 @@ def v2_integration_getall_enterprise_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2IntegrationGetallEnterpriseIdGetResponse]: - """v2_integration_getall_enterprise_id_get + ) -> ApiResponse[object]: + """v2_integration_integration_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: Enterprise id (required) - :type enterprise_id: int + :param integration_id: ID of the integration to be deleted (required) + :type integration_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138269,9 +143851,9 @@ def v2_integration_getall_enterprise_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_getall_enterprise_id_get_serialize( + _param = self._v2_integration_integration_id_delete_serialize( authorization=authorization, - enterprise_id=enterprise_id, + integration_id=integration_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138279,7 +143861,7 @@ def v2_integration_getall_enterprise_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2IntegrationGetallEnterpriseIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -138293,10 +143875,10 @@ def v2_integration_getall_enterprise_id_get_with_http_info( @validate_call - def v2_integration_getall_enterprise_id_get_without_preload_content( + def v2_integration_integration_id_delete_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], + integration_id: Annotated[StrictInt, Field(description="ID of the integration to be deleted")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138310,13 +143892,13 @@ def v2_integration_getall_enterprise_id_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_integration_getall_enterprise_id_get + """v2_integration_integration_id_delete :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: Enterprise id (required) - :type enterprise_id: int + :param integration_id: ID of the integration to be deleted (required) + :type integration_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138339,9 +143921,9 @@ def v2_integration_getall_enterprise_id_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_getall_enterprise_id_get_serialize( + _param = self._v2_integration_integration_id_delete_serialize( authorization=authorization, - enterprise_id=enterprise_id, + integration_id=integration_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138349,7 +143931,7 @@ def v2_integration_getall_enterprise_id_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2IntegrationGetallEnterpriseIdGetResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -138358,10 +143940,10 @@ def v2_integration_getall_enterprise_id_get_without_preload_content( return response_data.response - def _v2_integration_getall_enterprise_id_get_serialize( + def _v2_integration_integration_id_delete_serialize( self, authorization, - enterprise_id, + integration_id, _request_auth, _content_type, _headers, @@ -138383,8 +143965,8 @@ def _v2_integration_getall_enterprise_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if enterprise_id is not None: - _path_params['enterpriseId'] = enterprise_id + if integration_id is not None: + _path_params['integrationId'] = integration_id # process the query parameters # process the header parameters if authorization is not None: @@ -138408,8 +143990,8 @@ def _v2_integration_getall_enterprise_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/integration/getall/{enterpriseId}', + method='DELETE', + resource_path='/v2/integration/{integrationId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -138426,10 +144008,11 @@ def _v2_integration_getall_enterprise_id_get_serialize( @validate_call - def v2_integration_integration_id_delete( + def v2_integration_integration_id_put( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - integration_id: Annotated[StrictInt, Field(description="ID of the integration to be deleted")], + integration_id: Annotated[StrictInt, Field(description="integration id")], + v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138443,13 +144026,15 @@ def v2_integration_integration_id_delete( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> object: - """v2_integration_integration_id_delete + """v2_integration_integration_id_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param integration_id: ID of the integration to be deleted (required) + :param integration_id: integration id (required) :type integration_id: int + :param v2_integration_integration_id_put_request: (required) + :type v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138472,9 +144057,10 @@ def v2_integration_integration_id_delete( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_integration_id_delete_serialize( + _param = self._v2_integration_integration_id_put_serialize( authorization=authorization, integration_id=integration_id, + v2_integration_integration_id_put_request=v2_integration_integration_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138496,10 +144082,11 @@ def v2_integration_integration_id_delete( @validate_call - def v2_integration_integration_id_delete_with_http_info( + def v2_integration_integration_id_put_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - integration_id: Annotated[StrictInt, Field(description="ID of the integration to be deleted")], + integration_id: Annotated[StrictInt, Field(description="integration id")], + v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138513,13 +144100,15 @@ def v2_integration_integration_id_delete_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[object]: - """v2_integration_integration_id_delete + """v2_integration_integration_id_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param integration_id: ID of the integration to be deleted (required) + :param integration_id: integration id (required) :type integration_id: int + :param v2_integration_integration_id_put_request: (required) + :type v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138542,9 +144131,10 @@ def v2_integration_integration_id_delete_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_integration_id_delete_serialize( + _param = self._v2_integration_integration_id_put_serialize( authorization=authorization, integration_id=integration_id, + v2_integration_integration_id_put_request=v2_integration_integration_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138566,10 +144156,11 @@ def v2_integration_integration_id_delete_with_http_info( @validate_call - def v2_integration_integration_id_delete_without_preload_content( + def v2_integration_integration_id_put_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - integration_id: Annotated[StrictInt, Field(description="ID of the integration to be deleted")], + integration_id: Annotated[StrictInt, Field(description="integration id")], + v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138583,13 +144174,15 @@ def v2_integration_integration_id_delete_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_integration_integration_id_delete + """v2_integration_integration_id_put :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param integration_id: ID of the integration to be deleted (required) + :param integration_id: integration id (required) :type integration_id: int + :param v2_integration_integration_id_put_request: (required) + :type v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138612,9 +144205,10 @@ def v2_integration_integration_id_delete_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_integration_id_delete_serialize( + _param = self._v2_integration_integration_id_put_serialize( authorization=authorization, integration_id=integration_id, + v2_integration_integration_id_put_request=v2_integration_integration_id_put_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138631,10 +144225,11 @@ def v2_integration_integration_id_delete_without_preload_content( return response_data.response - def _v2_integration_integration_id_delete_serialize( + def _v2_integration_integration_id_put_serialize( self, authorization, integration_id, + v2_integration_integration_id_put_request, _request_auth, _content_type, _headers, @@ -138664,6 +144259,8 @@ def _v2_integration_integration_id_delete_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_integration_integration_id_put_request is not None: + _body_params = v2_integration_integration_id_put_request # set the HTTP header `Accept` @@ -138674,6 +144271,19 @@ def _v2_integration_integration_id_delete_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -138681,7 +144291,7 @@ def _v2_integration_integration_id_delete_serialize( ] return self.api_client.param_serialize( - method='DELETE', + method='PUT', resource_path='/v2/integration/{integrationId}', path_params=_path_params, query_params=_query_params, @@ -138699,11 +144309,10 @@ def _v2_integration_integration_id_delete_serialize( @validate_call - def v2_integration_integration_id_put( + def v2_integration_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - integration_id: Annotated[StrictInt, Field(description="integration id")], - v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest, + v2_integration_post_request: V2IntegrationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138716,16 +144325,14 @@ def v2_integration_integration_id_put( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_integration_integration_id_put + ) -> V2IntegrationPostResponse: + """v2_integration_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param integration_id: integration id (required) - :type integration_id: int - :param v2_integration_integration_id_put_request: (required) - :type v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest + :param v2_integration_post_request: (required) + :type v2_integration_post_request: V2IntegrationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138748,10 +144355,9 @@ def v2_integration_integration_id_put( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_integration_id_put_serialize( + _param = self._v2_integration_post_serialize( authorization=authorization, - integration_id=integration_id, - v2_integration_integration_id_put_request=v2_integration_integration_id_put_request, + v2_integration_post_request=v2_integration_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138759,7 +144365,7 @@ def v2_integration_integration_id_put( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2IntegrationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -138773,11 +144379,10 @@ def v2_integration_integration_id_put( @validate_call - def v2_integration_integration_id_put_with_http_info( + def v2_integration_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - integration_id: Annotated[StrictInt, Field(description="integration id")], - v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest, + v2_integration_post_request: V2IntegrationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138790,16 +144395,14 @@ def v2_integration_integration_id_put_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_integration_integration_id_put + ) -> ApiResponse[V2IntegrationPostResponse]: + """v2_integration_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param integration_id: integration id (required) - :type integration_id: int - :param v2_integration_integration_id_put_request: (required) - :type v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest + :param v2_integration_post_request: (required) + :type v2_integration_post_request: V2IntegrationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138822,10 +144425,9 @@ def v2_integration_integration_id_put_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_integration_id_put_serialize( + _param = self._v2_integration_post_serialize( authorization=authorization, - integration_id=integration_id, - v2_integration_integration_id_put_request=v2_integration_integration_id_put_request, + v2_integration_post_request=v2_integration_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138833,7 +144435,7 @@ def v2_integration_integration_id_put_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2IntegrationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -138847,11 +144449,10 @@ def v2_integration_integration_id_put_with_http_info( @validate_call - def v2_integration_integration_id_put_without_preload_content( + def v2_integration_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - integration_id: Annotated[StrictInt, Field(description="integration id")], - v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest, + v2_integration_post_request: V2IntegrationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -138865,15 +144466,13 @@ def v2_integration_integration_id_put_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_integration_integration_id_put + """v2_integration_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param integration_id: integration id (required) - :type integration_id: int - :param v2_integration_integration_id_put_request: (required) - :type v2_integration_integration_id_put_request: V2IntegrationIntegrationIdPutRequest + :param v2_integration_post_request: (required) + :type v2_integration_post_request: V2IntegrationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -138896,10 +144495,9 @@ def v2_integration_integration_id_put_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_integration_id_put_serialize( + _param = self._v2_integration_post_serialize( authorization=authorization, - integration_id=integration_id, - v2_integration_integration_id_put_request=v2_integration_integration_id_put_request, + v2_integration_post_request=v2_integration_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -138907,7 +144505,7 @@ def v2_integration_integration_id_put_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2IntegrationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -138916,11 +144514,10 @@ def v2_integration_integration_id_put_without_preload_content( return response_data.response - def _v2_integration_integration_id_put_serialize( + def _v2_integration_post_serialize( self, authorization, - integration_id, - v2_integration_integration_id_put_request, + v2_integration_post_request, _request_auth, _content_type, _headers, @@ -138942,16 +144539,14 @@ def _v2_integration_integration_id_put_serialize( _body_params: Optional[bytes] = None # process the path parameters - if integration_id is not None: - _path_params['integrationId'] = integration_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_integration_integration_id_put_request is not None: - _body_params = v2_integration_integration_id_put_request + if v2_integration_post_request is not None: + _body_params = v2_integration_post_request # set the HTTP header `Accept` @@ -138982,8 +144577,8 @@ def _v2_integration_integration_id_put_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v2/integration/{integrationId}', + method='POST', + resource_path='/v2/integration/', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -139000,10 +144595,11 @@ def _v2_integration_integration_id_put_serialize( @validate_call - def v2_integration_post( + def v2_integration_test_enterprise_id_integration_id_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_integration_post_request: V2IntegrationPostRequest, + enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], + integration_id: Annotated[StrictInt, Field(description="Integration id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139016,14 +144612,16 @@ def v2_integration_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2IntegrationPostResponse: - """v2_integration_post + ) -> object: + """v2_integration_test_enterprise_id_integration_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_integration_post_request: (required) - :type v2_integration_post_request: V2IntegrationPostRequest + :param enterprise_id: Enterprise id (required) + :type enterprise_id: int + :param integration_id: Integration id (required) + :type integration_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139046,9 +144644,10 @@ def v2_integration_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_post_serialize( + _param = self._v2_integration_test_enterprise_id_integration_id_get_serialize( authorization=authorization, - v2_integration_post_request=v2_integration_post_request, + enterprise_id=enterprise_id, + integration_id=integration_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139056,7 +144655,7 @@ def v2_integration_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2IntegrationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -139070,10 +144669,11 @@ def v2_integration_post( @validate_call - def v2_integration_post_with_http_info( + def v2_integration_test_enterprise_id_integration_id_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_integration_post_request: V2IntegrationPostRequest, + enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], + integration_id: Annotated[StrictInt, Field(description="Integration id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139086,14 +144686,16 @@ def v2_integration_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2IntegrationPostResponse]: - """v2_integration_post + ) -> ApiResponse[object]: + """v2_integration_test_enterprise_id_integration_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_integration_post_request: (required) - :type v2_integration_post_request: V2IntegrationPostRequest + :param enterprise_id: Enterprise id (required) + :type enterprise_id: int + :param integration_id: Integration id (required) + :type integration_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139116,9 +144718,10 @@ def v2_integration_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_post_serialize( + _param = self._v2_integration_test_enterprise_id_integration_id_get_serialize( authorization=authorization, - v2_integration_post_request=v2_integration_post_request, + enterprise_id=enterprise_id, + integration_id=integration_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139126,7 +144729,7 @@ def v2_integration_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2IntegrationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -139140,10 +144743,11 @@ def v2_integration_post_with_http_info( @validate_call - def v2_integration_post_without_preload_content( + def v2_integration_test_enterprise_id_integration_id_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_integration_post_request: V2IntegrationPostRequest, + enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], + integration_id: Annotated[StrictInt, Field(description="Integration id")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139157,13 +144761,15 @@ def v2_integration_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_integration_post + """v2_integration_test_enterprise_id_integration_id_get :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_integration_post_request: (required) - :type v2_integration_post_request: V2IntegrationPostRequest + :param enterprise_id: Enterprise id (required) + :type enterprise_id: int + :param integration_id: Integration id (required) + :type integration_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139186,9 +144792,10 @@ def v2_integration_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_post_serialize( + _param = self._v2_integration_test_enterprise_id_integration_id_get_serialize( authorization=authorization, - v2_integration_post_request=v2_integration_post_request, + enterprise_id=enterprise_id, + integration_id=integration_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139196,7 +144803,7 @@ def v2_integration_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2IntegrationPostResponse", + '200': "object", } response_data = self.api_client.call_api( *_param, @@ -139205,10 +144812,11 @@ def v2_integration_post_without_preload_content( return response_data.response - def _v2_integration_post_serialize( + def _v2_integration_test_enterprise_id_integration_id_get_serialize( self, authorization, - v2_integration_post_request, + enterprise_id, + integration_id, _request_auth, _content_type, _headers, @@ -139230,14 +144838,16 @@ def _v2_integration_post_serialize( _body_params: Optional[bytes] = None # process the path parameters + if enterprise_id is not None: + _path_params['enterpriseId'] = enterprise_id + if integration_id is not None: + _path_params['integrationId'] = integration_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_integration_post_request is not None: - _body_params = v2_integration_post_request # set the HTTP header `Accept` @@ -139248,19 +144858,6 @@ def _v2_integration_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -139268,8 +144865,8 @@ def _v2_integration_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/integration/', + method='GET', + resource_path='/v2/integration/test/{enterpriseId}/{integrationId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -139286,11 +144883,10 @@ def _v2_integration_post_serialize( @validate_call - def v2_integration_test_enterprise_id_integration_id_get( + def v2_monitoring_bfd_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], - integration_id: Annotated[StrictInt, Field(description="Integration id")], + v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139303,16 +144899,14 @@ def v2_integration_test_enterprise_id_integration_id_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> object: - """v2_integration_test_enterprise_id_integration_id_get + ) -> V2MonitoringBfdPostResponse: + """v2_monitoring_bfd_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: Enterprise id (required) - :type enterprise_id: int - :param integration_id: Integration id (required) - :type integration_id: int + :param v2_monitoring_bfd_post_request: (required) + :type v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139335,10 +144929,9 @@ def v2_integration_test_enterprise_id_integration_id_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_test_enterprise_id_integration_id_get_serialize( + _param = self._v2_monitoring_bfd_post_serialize( authorization=authorization, - enterprise_id=enterprise_id, - integration_id=integration_id, + v2_monitoring_bfd_post_request=v2_monitoring_bfd_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139346,7 +144939,7 @@ def v2_integration_test_enterprise_id_integration_id_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2MonitoringBfdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139360,11 +144953,10 @@ def v2_integration_test_enterprise_id_integration_id_get( @validate_call - def v2_integration_test_enterprise_id_integration_id_get_with_http_info( + def v2_monitoring_bfd_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], - integration_id: Annotated[StrictInt, Field(description="Integration id")], + v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139377,16 +144969,14 @@ def v2_integration_test_enterprise_id_integration_id_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[object]: - """v2_integration_test_enterprise_id_integration_id_get + ) -> ApiResponse[V2MonitoringBfdPostResponse]: + """v2_monitoring_bfd_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: Enterprise id (required) - :type enterprise_id: int - :param integration_id: Integration id (required) - :type integration_id: int + :param v2_monitoring_bfd_post_request: (required) + :type v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139409,10 +144999,9 @@ def v2_integration_test_enterprise_id_integration_id_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_test_enterprise_id_integration_id_get_serialize( + _param = self._v2_monitoring_bfd_post_serialize( authorization=authorization, - enterprise_id=enterprise_id, - integration_id=integration_id, + v2_monitoring_bfd_post_request=v2_monitoring_bfd_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139420,7 +145009,7 @@ def v2_integration_test_enterprise_id_integration_id_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2MonitoringBfdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139434,11 +145023,10 @@ def v2_integration_test_enterprise_id_integration_id_get_with_http_info( @validate_call - def v2_integration_test_enterprise_id_integration_id_get_without_preload_content( + def v2_monitoring_bfd_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - enterprise_id: Annotated[StrictInt, Field(description="Enterprise id")], - integration_id: Annotated[StrictInt, Field(description="Integration id")], + v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139452,15 +145040,13 @@ def v2_integration_test_enterprise_id_integration_id_get_without_preload_content _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_integration_test_enterprise_id_integration_id_get + """v2_monitoring_bfd_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param enterprise_id: Enterprise id (required) - :type enterprise_id: int - :param integration_id: Integration id (required) - :type integration_id: int + :param v2_monitoring_bfd_post_request: (required) + :type v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139483,10 +145069,9 @@ def v2_integration_test_enterprise_id_integration_id_get_without_preload_content :return: Returns the result object. """ # noqa: E501 - _param = self._v2_integration_test_enterprise_id_integration_id_get_serialize( + _param = self._v2_monitoring_bfd_post_serialize( authorization=authorization, - enterprise_id=enterprise_id, - integration_id=integration_id, + v2_monitoring_bfd_post_request=v2_monitoring_bfd_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139494,7 +145079,7 @@ def v2_integration_test_enterprise_id_integration_id_get_without_preload_content ) _response_types_map: Dict[str, Optional[str]] = { - '200': "object", + '200': "V2MonitoringBfdPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139503,11 +145088,10 @@ def v2_integration_test_enterprise_id_integration_id_get_without_preload_content return response_data.response - def _v2_integration_test_enterprise_id_integration_id_get_serialize( + def _v2_monitoring_bfd_post_serialize( self, authorization, - enterprise_id, - integration_id, + v2_monitoring_bfd_post_request, _request_auth, _content_type, _headers, @@ -139529,16 +145113,14 @@ def _v2_integration_test_enterprise_id_integration_id_get_serialize( _body_params: Optional[bytes] = None # process the path parameters - if enterprise_id is not None: - _path_params['enterpriseId'] = enterprise_id - if integration_id is not None: - _path_params['integrationId'] = integration_id # process the query parameters # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_monitoring_bfd_post_request is not None: + _body_params = v2_monitoring_bfd_post_request # set the HTTP header `Accept` @@ -139549,6 +145131,19 @@ def _v2_integration_test_enterprise_id_integration_id_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -139556,8 +145151,8 @@ def _v2_integration_test_enterprise_id_integration_id_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/integration/test/{enterpriseId}/{integrationId}', + method='POST', + resource_path='/v2/monitoring/bfd', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -139574,10 +145169,10 @@ def _v2_integration_test_enterprise_id_integration_id_get_serialize( @validate_call - def v2_monitoring_bfd_post( + def v2_monitoring_bgp_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest, + v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139590,14 +145185,14 @@ def v2_monitoring_bfd_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringBfdPostResponse: - """v2_monitoring_bfd_post + ) -> V2MonitoringBgpPostResponse: + """v2_monitoring_bgp_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_bfd_post_request: (required) - :type v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest + :param v2_monitoring_bgp_post_request: (required) + :type v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139620,9 +145215,9 @@ def v2_monitoring_bfd_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_bfd_post_serialize( + _param = self._v2_monitoring_bgp_post_serialize( authorization=authorization, - v2_monitoring_bfd_post_request=v2_monitoring_bfd_post_request, + v2_monitoring_bgp_post_request=v2_monitoring_bgp_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139630,7 +145225,7 @@ def v2_monitoring_bfd_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringBfdPostResponse", + '200': "V2MonitoringBgpPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139644,10 +145239,10 @@ def v2_monitoring_bfd_post( @validate_call - def v2_monitoring_bfd_post_with_http_info( + def v2_monitoring_bgp_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest, + v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139660,14 +145255,14 @@ def v2_monitoring_bfd_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringBfdPostResponse]: - """v2_monitoring_bfd_post + ) -> ApiResponse[V2MonitoringBgpPostResponse]: + """v2_monitoring_bgp_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_bfd_post_request: (required) - :type v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest + :param v2_monitoring_bgp_post_request: (required) + :type v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139690,9 +145285,9 @@ def v2_monitoring_bfd_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_bfd_post_serialize( + _param = self._v2_monitoring_bgp_post_serialize( authorization=authorization, - v2_monitoring_bfd_post_request=v2_monitoring_bfd_post_request, + v2_monitoring_bgp_post_request=v2_monitoring_bgp_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139700,7 +145295,7 @@ def v2_monitoring_bfd_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringBfdPostResponse", + '200': "V2MonitoringBgpPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139714,10 +145309,10 @@ def v2_monitoring_bfd_post_with_http_info( @validate_call - def v2_monitoring_bfd_post_without_preload_content( + def v2_monitoring_bgp_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest, + v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139731,13 +145326,13 @@ def v2_monitoring_bfd_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_bfd_post + """v2_monitoring_bgp_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_bfd_post_request: (required) - :type v2_monitoring_bfd_post_request: V2MonitoringBfdPostRequest + :param v2_monitoring_bgp_post_request: (required) + :type v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139760,9 +145355,9 @@ def v2_monitoring_bfd_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_bfd_post_serialize( + _param = self._v2_monitoring_bgp_post_serialize( authorization=authorization, - v2_monitoring_bfd_post_request=v2_monitoring_bfd_post_request, + v2_monitoring_bgp_post_request=v2_monitoring_bgp_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139770,7 +145365,7 @@ def v2_monitoring_bfd_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringBfdPostResponse", + '200': "V2MonitoringBgpPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139779,10 +145374,10 @@ def v2_monitoring_bfd_post_without_preload_content( return response_data.response - def _v2_monitoring_bfd_post_serialize( + def _v2_monitoring_bgp_post_serialize( self, authorization, - v2_monitoring_bfd_post_request, + v2_monitoring_bgp_post_request, _request_auth, _content_type, _headers, @@ -139810,8 +145405,8 @@ def _v2_monitoring_bfd_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_bfd_post_request is not None: - _body_params = v2_monitoring_bfd_post_request + if v2_monitoring_bgp_post_request is not None: + _body_params = v2_monitoring_bgp_post_request # set the HTTP header `Accept` @@ -139843,7 +145438,7 @@ def _v2_monitoring_bfd_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/monitoring/bfd', + resource_path='/v2/monitoring/bgp', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -139860,10 +145455,10 @@ def _v2_monitoring_bfd_post_serialize( @validate_call - def v2_monitoring_bgp_post( + def v2_monitoring_circuits_bandwidth_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest, + v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139876,14 +145471,14 @@ def v2_monitoring_bgp_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringBgpPostResponse: - """v2_monitoring_bgp_post + ) -> V2MonitoringCircuitsBandwidthPostResponse: + """v2_monitoring_circuits_bandwidth_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_bgp_post_request: (required) - :type v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest + :param v2_monitoring_circuits_bandwidth_post_request: (required) + :type v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139906,9 +145501,9 @@ def v2_monitoring_bgp_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_bgp_post_serialize( + _param = self._v2_monitoring_circuits_bandwidth_post_serialize( authorization=authorization, - v2_monitoring_bgp_post_request=v2_monitoring_bgp_post_request, + v2_monitoring_circuits_bandwidth_post_request=v2_monitoring_circuits_bandwidth_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139916,7 +145511,7 @@ def v2_monitoring_bgp_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringBgpPostResponse", + '200': "V2MonitoringCircuitsBandwidthPostResponse", } response_data = self.api_client.call_api( *_param, @@ -139930,10 +145525,10 @@ def v2_monitoring_bgp_post( @validate_call - def v2_monitoring_bgp_post_with_http_info( + def v2_monitoring_circuits_bandwidth_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest, + v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -139946,14 +145541,14 @@ def v2_monitoring_bgp_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringBgpPostResponse]: - """v2_monitoring_bgp_post + ) -> ApiResponse[V2MonitoringCircuitsBandwidthPostResponse]: + """v2_monitoring_circuits_bandwidth_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_bgp_post_request: (required) - :type v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest + :param v2_monitoring_circuits_bandwidth_post_request: (required) + :type v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -139976,9 +145571,9 @@ def v2_monitoring_bgp_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_bgp_post_serialize( + _param = self._v2_monitoring_circuits_bandwidth_post_serialize( authorization=authorization, - v2_monitoring_bgp_post_request=v2_monitoring_bgp_post_request, + v2_monitoring_circuits_bandwidth_post_request=v2_monitoring_circuits_bandwidth_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -139986,7 +145581,7 @@ def v2_monitoring_bgp_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringBgpPostResponse", + '200': "V2MonitoringCircuitsBandwidthPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140000,10 +145595,10 @@ def v2_monitoring_bgp_post_with_http_info( @validate_call - def v2_monitoring_bgp_post_without_preload_content( + def v2_monitoring_circuits_bandwidth_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest, + v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140017,13 +145612,13 @@ def v2_monitoring_bgp_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_bgp_post + """v2_monitoring_circuits_bandwidth_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_bgp_post_request: (required) - :type v2_monitoring_bgp_post_request: V2MonitoringBgpPostRequest + :param v2_monitoring_circuits_bandwidth_post_request: (required) + :type v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140046,9 +145641,9 @@ def v2_monitoring_bgp_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_bgp_post_serialize( + _param = self._v2_monitoring_circuits_bandwidth_post_serialize( authorization=authorization, - v2_monitoring_bgp_post_request=v2_monitoring_bgp_post_request, + v2_monitoring_circuits_bandwidth_post_request=v2_monitoring_circuits_bandwidth_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140056,7 +145651,7 @@ def v2_monitoring_bgp_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringBgpPostResponse", + '200': "V2MonitoringCircuitsBandwidthPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140065,10 +145660,10 @@ def v2_monitoring_bgp_post_without_preload_content( return response_data.response - def _v2_monitoring_bgp_post_serialize( + def _v2_monitoring_circuits_bandwidth_post_serialize( self, authorization, - v2_monitoring_bgp_post_request, + v2_monitoring_circuits_bandwidth_post_request, _request_auth, _content_type, _headers, @@ -140096,8 +145691,8 @@ def _v2_monitoring_bgp_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_bgp_post_request is not None: - _body_params = v2_monitoring_bgp_post_request + if v2_monitoring_circuits_bandwidth_post_request is not None: + _body_params = v2_monitoring_circuits_bandwidth_post_request # set the HTTP header `Accept` @@ -140129,7 +145724,7 @@ def _v2_monitoring_bgp_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/monitoring/bgp', + resource_path='/v2/monitoring/circuits/bandwidth', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -140146,10 +145741,10 @@ def _v2_monitoring_bgp_post_serialize( @validate_call - def v2_monitoring_circuits_bandwidth_post( + def v2_monitoring_circuits_summary_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest, + v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140162,14 +145757,14 @@ def v2_monitoring_circuits_bandwidth_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringCircuitsBandwidthPostResponse: - """v2_monitoring_circuits_bandwidth_post + ) -> V2MonitoringCircuitsSummaryPostResponse: + """v2_monitoring_circuits_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_bandwidth_post_request: (required) - :type v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest + :param v2_monitoring_circuits_summary_post_request: (required) + :type v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140192,9 +145787,9 @@ def v2_monitoring_circuits_bandwidth_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_bandwidth_post_serialize( + _param = self._v2_monitoring_circuits_summary_post_serialize( authorization=authorization, - v2_monitoring_circuits_bandwidth_post_request=v2_monitoring_circuits_bandwidth_post_request, + v2_monitoring_circuits_summary_post_request=v2_monitoring_circuits_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140202,7 +145797,7 @@ def v2_monitoring_circuits_bandwidth_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsBandwidthPostResponse", + '200': "V2MonitoringCircuitsSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140216,10 +145811,10 @@ def v2_monitoring_circuits_bandwidth_post( @validate_call - def v2_monitoring_circuits_bandwidth_post_with_http_info( + def v2_monitoring_circuits_summary_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest, + v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140232,14 +145827,14 @@ def v2_monitoring_circuits_bandwidth_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringCircuitsBandwidthPostResponse]: - """v2_monitoring_circuits_bandwidth_post + ) -> ApiResponse[V2MonitoringCircuitsSummaryPostResponse]: + """v2_monitoring_circuits_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_bandwidth_post_request: (required) - :type v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest + :param v2_monitoring_circuits_summary_post_request: (required) + :type v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140262,9 +145857,9 @@ def v2_monitoring_circuits_bandwidth_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_bandwidth_post_serialize( + _param = self._v2_monitoring_circuits_summary_post_serialize( authorization=authorization, - v2_monitoring_circuits_bandwidth_post_request=v2_monitoring_circuits_bandwidth_post_request, + v2_monitoring_circuits_summary_post_request=v2_monitoring_circuits_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140272,7 +145867,7 @@ def v2_monitoring_circuits_bandwidth_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsBandwidthPostResponse", + '200': "V2MonitoringCircuitsSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140286,10 +145881,10 @@ def v2_monitoring_circuits_bandwidth_post_with_http_info( @validate_call - def v2_monitoring_circuits_bandwidth_post_without_preload_content( + def v2_monitoring_circuits_summary_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest, + v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140303,13 +145898,13 @@ def v2_monitoring_circuits_bandwidth_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_circuits_bandwidth_post + """v2_monitoring_circuits_summary_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_bandwidth_post_request: (required) - :type v2_monitoring_circuits_bandwidth_post_request: V2MonitoringCircuitsBandwidthPostRequest + :param v2_monitoring_circuits_summary_post_request: (required) + :type v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140332,9 +145927,9 @@ def v2_monitoring_circuits_bandwidth_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_bandwidth_post_serialize( + _param = self._v2_monitoring_circuits_summary_post_serialize( authorization=authorization, - v2_monitoring_circuits_bandwidth_post_request=v2_monitoring_circuits_bandwidth_post_request, + v2_monitoring_circuits_summary_post_request=v2_monitoring_circuits_summary_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140342,7 +145937,7 @@ def v2_monitoring_circuits_bandwidth_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsBandwidthPostResponse", + '200': "V2MonitoringCircuitsSummaryPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140351,10 +145946,10 @@ def v2_monitoring_circuits_bandwidth_post_without_preload_content( return response_data.response - def _v2_monitoring_circuits_bandwidth_post_serialize( + def _v2_monitoring_circuits_summary_post_serialize( self, authorization, - v2_monitoring_circuits_bandwidth_post_request, + v2_monitoring_circuits_summary_post_request, _request_auth, _content_type, _headers, @@ -140382,8 +145977,8 @@ def _v2_monitoring_circuits_bandwidth_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_circuits_bandwidth_post_request is not None: - _body_params = v2_monitoring_circuits_bandwidth_post_request + if v2_monitoring_circuits_summary_post_request is not None: + _body_params = v2_monitoring_circuits_summary_post_request # set the HTTP header `Accept` @@ -140415,7 +146010,7 @@ def _v2_monitoring_circuits_bandwidth_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/monitoring/circuits/bandwidth', + resource_path='/v2/monitoring/circuits/summary', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -140432,10 +146027,10 @@ def _v2_monitoring_circuits_bandwidth_post_serialize( @validate_call - def v2_monitoring_circuits_summary_post( + def v2_monitoring_circuits_utilization_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest, + v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140448,14 +146043,14 @@ def v2_monitoring_circuits_summary_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringCircuitsSummaryPostResponse: - """v2_monitoring_circuits_summary_post + ) -> V2MonitoringCircuitsUtilizationPostResponse: + """v2_monitoring_circuits_utilization_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_summary_post_request: (required) - :type v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest + :param v2_monitoring_circuits_utilization_post_request: (required) + :type v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140478,9 +146073,9 @@ def v2_monitoring_circuits_summary_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_summary_post_serialize( + _param = self._v2_monitoring_circuits_utilization_post_serialize( authorization=authorization, - v2_monitoring_circuits_summary_post_request=v2_monitoring_circuits_summary_post_request, + v2_monitoring_circuits_utilization_post_request=v2_monitoring_circuits_utilization_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140488,7 +146083,7 @@ def v2_monitoring_circuits_summary_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsSummaryPostResponse", + '200': "V2MonitoringCircuitsUtilizationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140502,10 +146097,10 @@ def v2_monitoring_circuits_summary_post( @validate_call - def v2_monitoring_circuits_summary_post_with_http_info( + def v2_monitoring_circuits_utilization_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest, + v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140518,14 +146113,14 @@ def v2_monitoring_circuits_summary_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringCircuitsSummaryPostResponse]: - """v2_monitoring_circuits_summary_post + ) -> ApiResponse[V2MonitoringCircuitsUtilizationPostResponse]: + """v2_monitoring_circuits_utilization_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_summary_post_request: (required) - :type v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest + :param v2_monitoring_circuits_utilization_post_request: (required) + :type v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140548,9 +146143,9 @@ def v2_monitoring_circuits_summary_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_summary_post_serialize( + _param = self._v2_monitoring_circuits_utilization_post_serialize( authorization=authorization, - v2_monitoring_circuits_summary_post_request=v2_monitoring_circuits_summary_post_request, + v2_monitoring_circuits_utilization_post_request=v2_monitoring_circuits_utilization_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140558,7 +146153,7 @@ def v2_monitoring_circuits_summary_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsSummaryPostResponse", + '200': "V2MonitoringCircuitsUtilizationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140572,10 +146167,10 @@ def v2_monitoring_circuits_summary_post_with_http_info( @validate_call - def v2_monitoring_circuits_summary_post_without_preload_content( + def v2_monitoring_circuits_utilization_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest, + v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140589,13 +146184,13 @@ def v2_monitoring_circuits_summary_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_circuits_summary_post + """v2_monitoring_circuits_utilization_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_summary_post_request: (required) - :type v2_monitoring_circuits_summary_post_request: V2MonitoringCircuitsSummaryPostRequest + :param v2_monitoring_circuits_utilization_post_request: (required) + :type v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140618,9 +146213,9 @@ def v2_monitoring_circuits_summary_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_summary_post_serialize( + _param = self._v2_monitoring_circuits_utilization_post_serialize( authorization=authorization, - v2_monitoring_circuits_summary_post_request=v2_monitoring_circuits_summary_post_request, + v2_monitoring_circuits_utilization_post_request=v2_monitoring_circuits_utilization_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140628,7 +146223,7 @@ def v2_monitoring_circuits_summary_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsSummaryPostResponse", + '200': "V2MonitoringCircuitsUtilizationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140637,10 +146232,10 @@ def v2_monitoring_circuits_summary_post_without_preload_content( return response_data.response - def _v2_monitoring_circuits_summary_post_serialize( + def _v2_monitoring_circuits_utilization_post_serialize( self, authorization, - v2_monitoring_circuits_summary_post_request, + v2_monitoring_circuits_utilization_post_request, _request_auth, _content_type, _headers, @@ -140668,8 +146263,8 @@ def _v2_monitoring_circuits_summary_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_circuits_summary_post_request is not None: - _body_params = v2_monitoring_circuits_summary_post_request + if v2_monitoring_circuits_utilization_post_request is not None: + _body_params = v2_monitoring_circuits_utilization_post_request # set the HTTP header `Accept` @@ -140701,7 +146296,7 @@ def _v2_monitoring_circuits_summary_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/monitoring/circuits/summary', + resource_path='/v2/monitoring/circuits/utilization', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -140718,10 +146313,10 @@ def _v2_monitoring_circuits_summary_post_serialize( @validate_call - def v2_monitoring_circuits_utilization_post( + def v2_monitoring_circuits_visualization_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest, + v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140734,14 +146329,14 @@ def v2_monitoring_circuits_utilization_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringCircuitsUtilizationPostResponse: - """v2_monitoring_circuits_utilization_post + ) -> V2MonitoringCircuitsVisualizationPostResponse: + """v2_monitoring_circuits_visualization_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_utilization_post_request: (required) - :type v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest + :param v2_monitoring_circuits_visualization_post_request: (required) + :type v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140764,9 +146359,9 @@ def v2_monitoring_circuits_utilization_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_utilization_post_serialize( + _param = self._v2_monitoring_circuits_visualization_post_serialize( authorization=authorization, - v2_monitoring_circuits_utilization_post_request=v2_monitoring_circuits_utilization_post_request, + v2_monitoring_circuits_visualization_post_request=v2_monitoring_circuits_visualization_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140774,7 +146369,7 @@ def v2_monitoring_circuits_utilization_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsUtilizationPostResponse", + '200': "V2MonitoringCircuitsVisualizationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140788,10 +146383,10 @@ def v2_monitoring_circuits_utilization_post( @validate_call - def v2_monitoring_circuits_utilization_post_with_http_info( + def v2_monitoring_circuits_visualization_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest, + v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140804,14 +146399,14 @@ def v2_monitoring_circuits_utilization_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringCircuitsUtilizationPostResponse]: - """v2_monitoring_circuits_utilization_post + ) -> ApiResponse[V2MonitoringCircuitsVisualizationPostResponse]: + """v2_monitoring_circuits_visualization_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_utilization_post_request: (required) - :type v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest + :param v2_monitoring_circuits_visualization_post_request: (required) + :type v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140834,9 +146429,9 @@ def v2_monitoring_circuits_utilization_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_utilization_post_serialize( + _param = self._v2_monitoring_circuits_visualization_post_serialize( authorization=authorization, - v2_monitoring_circuits_utilization_post_request=v2_monitoring_circuits_utilization_post_request, + v2_monitoring_circuits_visualization_post_request=v2_monitoring_circuits_visualization_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140844,7 +146439,7 @@ def v2_monitoring_circuits_utilization_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsUtilizationPostResponse", + '200': "V2MonitoringCircuitsVisualizationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140858,10 +146453,10 @@ def v2_monitoring_circuits_utilization_post_with_http_info( @validate_call - def v2_monitoring_circuits_utilization_post_without_preload_content( + def v2_monitoring_circuits_visualization_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest, + v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -140875,13 +146470,13 @@ def v2_monitoring_circuits_utilization_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_circuits_utilization_post + """v2_monitoring_circuits_visualization_post :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_utilization_post_request: (required) - :type v2_monitoring_circuits_utilization_post_request: V2MonitoringCircuitsUtilizationPostRequest + :param v2_monitoring_circuits_visualization_post_request: (required) + :type v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -140904,9 +146499,9 @@ def v2_monitoring_circuits_utilization_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_utilization_post_serialize( + _param = self._v2_monitoring_circuits_visualization_post_serialize( authorization=authorization, - v2_monitoring_circuits_utilization_post_request=v2_monitoring_circuits_utilization_post_request, + v2_monitoring_circuits_visualization_post_request=v2_monitoring_circuits_visualization_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -140914,7 +146509,7 @@ def v2_monitoring_circuits_utilization_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsUtilizationPostResponse", + '200': "V2MonitoringCircuitsVisualizationPostResponse", } response_data = self.api_client.call_api( *_param, @@ -140923,10 +146518,10 @@ def v2_monitoring_circuits_utilization_post_without_preload_content( return response_data.response - def _v2_monitoring_circuits_utilization_post_serialize( + def _v2_monitoring_circuits_visualization_post_serialize( self, authorization, - v2_monitoring_circuits_utilization_post_request, + v2_monitoring_circuits_visualization_post_request, _request_auth, _content_type, _headers, @@ -140954,8 +146549,8 @@ def _v2_monitoring_circuits_utilization_post_serialize( _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_circuits_utilization_post_request is not None: - _body_params = v2_monitoring_circuits_utilization_post_request + if v2_monitoring_circuits_visualization_post_request is not None: + _body_params = v2_monitoring_circuits_visualization_post_request # set the HTTP header `Accept` @@ -140987,7 +146582,7 @@ def _v2_monitoring_circuits_utilization_post_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2/monitoring/circuits/utilization', + resource_path='/v2/monitoring/circuits/visualization', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -141004,10 +146599,11 @@ def _v2_monitoring_circuits_utilization_post_serialize( @validate_call - def v2_monitoring_circuits_visualization_post( + def v2_monitoring_extranet_edge_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest, + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141020,14 +146616,17 @@ def v2_monitoring_circuits_visualization_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringCircuitsVisualizationPostResponse: - """v2_monitoring_circuits_visualization_post + ) -> V2MonitoringExtranetEdgeStatusGetResponse: + """v2_monitoring_extranet_edge_status_get + Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_visualization_post_request: (required) - :type v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141050,9 +146649,10 @@ def v2_monitoring_circuits_visualization_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_visualization_post_serialize( + _param = self._v2_monitoring_extranet_edge_status_get_serialize( authorization=authorization, - v2_monitoring_circuits_visualization_post_request=v2_monitoring_circuits_visualization_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141060,7 +146660,7 @@ def v2_monitoring_circuits_visualization_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsVisualizationPostResponse", + '200': "V2MonitoringExtranetEdgeStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141074,10 +146674,11 @@ def v2_monitoring_circuits_visualization_post( @validate_call - def v2_monitoring_circuits_visualization_post_with_http_info( + def v2_monitoring_extranet_edge_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest, + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141090,14 +146691,17 @@ def v2_monitoring_circuits_visualization_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringCircuitsVisualizationPostResponse]: - """v2_monitoring_circuits_visualization_post + ) -> ApiResponse[V2MonitoringExtranetEdgeStatusGetResponse]: + """v2_monitoring_extranet_edge_status_get + Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_visualization_post_request: (required) - :type v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141120,9 +146724,10 @@ def v2_monitoring_circuits_visualization_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_visualization_post_serialize( + _param = self._v2_monitoring_extranet_edge_status_get_serialize( authorization=authorization, - v2_monitoring_circuits_visualization_post_request=v2_monitoring_circuits_visualization_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141130,7 +146735,7 @@ def v2_monitoring_circuits_visualization_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsVisualizationPostResponse", + '200': "V2MonitoringExtranetEdgeStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141144,10 +146749,11 @@ def v2_monitoring_circuits_visualization_post_with_http_info( @validate_call - def v2_monitoring_circuits_visualization_post_without_preload_content( + def v2_monitoring_extranet_edge_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest, + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141161,13 +146767,16 @@ def v2_monitoring_circuits_visualization_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_circuits_visualization_post + """v2_monitoring_extranet_edge_status_get + Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_circuits_visualization_post_request: (required) - :type v2_monitoring_circuits_visualization_post_request: V2MonitoringCircuitsVisualizationPostRequest + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141190,9 +146799,10 @@ def v2_monitoring_circuits_visualization_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_circuits_visualization_post_serialize( + _param = self._v2_monitoring_extranet_edge_status_get_serialize( authorization=authorization, - v2_monitoring_circuits_visualization_post_request=v2_monitoring_circuits_visualization_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141200,7 +146810,7 @@ def v2_monitoring_circuits_visualization_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringCircuitsVisualizationPostResponse", + '200': "V2MonitoringExtranetEdgeStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141209,10 +146819,11 @@ def v2_monitoring_circuits_visualization_post_without_preload_content( return response_data.response - def _v2_monitoring_circuits_visualization_post_serialize( + def _v2_monitoring_extranet_edge_status_get_serialize( self, authorization, - v2_monitoring_circuits_visualization_post_request, + id, + is_provider, _request_auth, _content_type, _headers, @@ -141235,13 +146846,19 @@ def _v2_monitoring_circuits_visualization_post_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_circuits_visualization_post_request is not None: - _body_params = v2_monitoring_circuits_visualization_post_request # set the HTTP header `Accept` @@ -141252,19 +146869,6 @@ def _v2_monitoring_circuits_visualization_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -141272,8 +146876,8 @@ def _v2_monitoring_circuits_visualization_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/monitoring/circuits/visualization', + method='GET', + resource_path='/v2/monitoring/extranet/edge-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -141290,11 +146894,10 @@ def _v2_monitoring_circuits_visualization_post_serialize( @validate_call - def v2_monitoring_extranet_edge_status_get( + def v2_monitoring_extranet_log_details_post( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], - is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141307,17 +146910,15 @@ def v2_monitoring_extranet_edge_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringExtranetEdgeStatusGetResponse: - """v2_monitoring_extranet_edge_status_get + ) -> V2MonitoringExtranetLogDetailsPostResponse: + """v2_monitoring_extranet_log_details_post - Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. + Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) - :type id: int - :param is_provider: whether the entity is a provider or consumer (required) - :type is_provider: bool + :param v2_monitoring_extranet_log_details_post_request: (required) + :type v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141340,10 +146941,9 @@ def v2_monitoring_extranet_edge_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_edge_status_get_serialize( + _param = self._v2_monitoring_extranet_log_details_post_serialize( authorization=authorization, - id=id, - is_provider=is_provider, + v2_monitoring_extranet_log_details_post_request=v2_monitoring_extranet_log_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141351,7 +146951,7 @@ def v2_monitoring_extranet_edge_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetEdgeStatusGetResponse", + '200': "V2MonitoringExtranetLogDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -141365,11 +146965,10 @@ def v2_monitoring_extranet_edge_status_get( @validate_call - def v2_monitoring_extranet_edge_status_get_with_http_info( + def v2_monitoring_extranet_log_details_post_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], - is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141382,17 +146981,15 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringExtranetEdgeStatusGetResponse]: - """v2_monitoring_extranet_edge_status_get + ) -> ApiResponse[V2MonitoringExtranetLogDetailsPostResponse]: + """v2_monitoring_extranet_log_details_post - Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. + Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) - :type id: int - :param is_provider: whether the entity is a provider or consumer (required) - :type is_provider: bool + :param v2_monitoring_extranet_log_details_post_request: (required) + :type v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141415,10 +147012,9 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_edge_status_get_serialize( + _param = self._v2_monitoring_extranet_log_details_post_serialize( authorization=authorization, - id=id, - is_provider=is_provider, + v2_monitoring_extranet_log_details_post_request=v2_monitoring_extranet_log_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141426,7 +147022,7 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetEdgeStatusGetResponse", + '200': "V2MonitoringExtranetLogDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -141440,11 +147036,10 @@ def v2_monitoring_extranet_edge_status_get_with_http_info( @validate_call - def v2_monitoring_extranet_edge_status_get_without_preload_content( + def v2_monitoring_extranet_log_details_post_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], - is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141458,16 +147053,14 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_extranet_edge_status_get + """v2_monitoring_extranet_log_details_post - Returns connectivity status for individual edges/gateways in extranet/ b2b application service monitoring. Provides granular view of which specific edges can reach server IP addresses. Shows per-edge connectivity status including healthy, impaired, or down states. Helps identify specific edge-level connectivity issues within sites. + Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) - :type id: int - :param is_provider: whether the entity is a provider or consumer (required) - :type is_provider: bool + :param v2_monitoring_extranet_log_details_post_request: (required) + :type v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141490,10 +147083,9 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_edge_status_get_serialize( + _param = self._v2_monitoring_extranet_log_details_post_serialize( authorization=authorization, - id=id, - is_provider=is_provider, + v2_monitoring_extranet_log_details_post_request=v2_monitoring_extranet_log_details_post_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141501,7 +147093,7 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetEdgeStatusGetResponse", + '200': "V2MonitoringExtranetLogDetailsPostResponse", } response_data = self.api_client.call_api( *_param, @@ -141510,11 +147102,10 @@ def v2_monitoring_extranet_edge_status_get_without_preload_content( return response_data.response - def _v2_monitoring_extranet_edge_status_get_serialize( + def _v2_monitoring_extranet_log_details_post_serialize( self, authorization, - id, - is_provider, + v2_monitoring_extranet_log_details_post_request, _request_auth, _content_type, _headers, @@ -141537,19 +147128,13 @@ def _v2_monitoring_extranet_edge_status_get_serialize( # process the path parameters # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - - if is_provider is not None: - - _query_params.append(('isProvider', is_provider)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter + if v2_monitoring_extranet_log_details_post_request is not None: + _body_params = v2_monitoring_extranet_log_details_post_request # set the HTTP header `Accept` @@ -141560,6 +147145,19 @@ def _v2_monitoring_extranet_edge_status_get_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -141567,8 +147165,8 @@ def _v2_monitoring_extranet_edge_status_get_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v2/monitoring/extranet/edge-status', + method='POST', + resource_path='/v2/monitoring/extranet/log-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -141585,10 +147183,11 @@ def _v2_monitoring_extranet_edge_status_get_serialize( @validate_call - def v2_monitoring_extranet_log_details_post( + def v2_monitoring_extranet_service_status_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest, + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141601,15 +147200,17 @@ def v2_monitoring_extranet_log_details_post( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringExtranetLogDetailsPostResponse: - """v2_monitoring_extranet_log_details_post + ) -> V2MonitoringExtranetServiceStatusDetailsGetResponse: + """v2_monitoring_extranet_service_status_details_get - Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. + Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_extranet_log_details_post_request: (required) - :type v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141632,9 +147233,10 @@ def v2_monitoring_extranet_log_details_post( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_log_details_post_serialize( + _param = self._v2_monitoring_extranet_service_status_details_get_serialize( authorization=authorization, - v2_monitoring_extranet_log_details_post_request=v2_monitoring_extranet_log_details_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141642,7 +147244,7 @@ def v2_monitoring_extranet_log_details_post( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetLogDetailsPostResponse", + '200': "V2MonitoringExtranetServiceStatusDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141656,10 +147258,11 @@ def v2_monitoring_extranet_log_details_post( @validate_call - def v2_monitoring_extranet_log_details_post_with_http_info( + def v2_monitoring_extranet_service_status_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest, + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141672,15 +147275,17 @@ def v2_monitoring_extranet_log_details_post_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringExtranetLogDetailsPostResponse]: - """v2_monitoring_extranet_log_details_post + ) -> ApiResponse[V2MonitoringExtranetServiceStatusDetailsGetResponse]: + """v2_monitoring_extranet_service_status_details_get - Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. + Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_extranet_log_details_post_request: (required) - :type v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141703,9 +147308,10 @@ def v2_monitoring_extranet_log_details_post_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_log_details_post_serialize( + _param = self._v2_monitoring_extranet_service_status_details_get_serialize( authorization=authorization, - v2_monitoring_extranet_log_details_post_request=v2_monitoring_extranet_log_details_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141713,7 +147319,7 @@ def v2_monitoring_extranet_log_details_post_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetLogDetailsPostResponse", + '200': "V2MonitoringExtranetServiceStatusDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141727,10 +147333,11 @@ def v2_monitoring_extranet_log_details_post_with_http_info( @validate_call - def v2_monitoring_extranet_log_details_post_without_preload_content( + def v2_monitoring_extranet_service_status_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest, + id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], + is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -141744,14 +147351,16 @@ def v2_monitoring_extranet_log_details_post_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_extranet_log_details_post + """v2_monitoring_extranet_service_status_details_get - Returns connectivity logs for service monitoring. Includes timestamps for when connectivity from an edge/gateway to a Server IP address was lost or regained. + Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param v2_monitoring_extranet_log_details_post_request: (required) - :type v2_monitoring_extranet_log_details_post_request: V2MonitoringExtranetLogDetailsPostRequest + :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) + :type id: int + :param is_provider: whether the entity is a provider or consumer (required) + :type is_provider: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -141774,9 +147383,10 @@ def v2_monitoring_extranet_log_details_post_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_log_details_post_serialize( + _param = self._v2_monitoring_extranet_service_status_details_get_serialize( authorization=authorization, - v2_monitoring_extranet_log_details_post_request=v2_monitoring_extranet_log_details_post_request, + id=id, + is_provider=is_provider, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -141784,7 +147394,7 @@ def v2_monitoring_extranet_log_details_post_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetLogDetailsPostResponse", + '200': "V2MonitoringExtranetServiceStatusDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141793,10 +147403,11 @@ def v2_monitoring_extranet_log_details_post_without_preload_content( return response_data.response - def _v2_monitoring_extranet_log_details_post_serialize( + def _v2_monitoring_extranet_service_status_details_get_serialize( self, authorization, - v2_monitoring_extranet_log_details_post_request, + id, + is_provider, _request_auth, _content_type, _headers, @@ -141819,13 +147430,19 @@ def _v2_monitoring_extranet_log_details_post_serialize( # process the path parameters # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if is_provider is not None: + + _query_params.append(('isProvider', is_provider)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization # process the form parameters # process the body parameter - if v2_monitoring_extranet_log_details_post_request is not None: - _body_params = v2_monitoring_extranet_log_details_post_request # set the HTTP header `Accept` @@ -141836,19 +147453,6 @@ def _v2_monitoring_extranet_log_details_post_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -141856,8 +147460,8 @@ def _v2_monitoring_extranet_log_details_post_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v2/monitoring/extranet/log-details', + method='GET', + resource_path='/v2/monitoring/extranet/service-status/details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -141874,7 +147478,7 @@ def _v2_monitoring_extranet_log_details_post_serialize( @validate_call - def v2_monitoring_extranet_service_status_details_get( + def v2_monitoring_extranet_service_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], @@ -141891,10 +147495,10 @@ def v2_monitoring_extranet_service_status_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringExtranetServiceStatusDetailsGetResponse: - """v2_monitoring_extranet_service_status_details_get + ) -> V2MonitoringExtranetServiceStatusGetResponse: + """v2_monitoring_extranet_service_status_get - Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. + Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -141924,7 +147528,7 @@ def v2_monitoring_extranet_service_status_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_service_status_details_get_serialize( + _param = self._v2_monitoring_extranet_service_status_get_serialize( authorization=authorization, id=id, is_provider=is_provider, @@ -141935,7 +147539,7 @@ def v2_monitoring_extranet_service_status_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetServiceStatusDetailsGetResponse", + '200': "V2MonitoringExtranetServiceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -141949,7 +147553,7 @@ def v2_monitoring_extranet_service_status_details_get( @validate_call - def v2_monitoring_extranet_service_status_details_get_with_http_info( + def v2_monitoring_extranet_service_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], @@ -141966,10 +147570,10 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringExtranetServiceStatusDetailsGetResponse]: - """v2_monitoring_extranet_service_status_details_get + ) -> ApiResponse[V2MonitoringExtranetServiceStatusGetResponse]: + """v2_monitoring_extranet_service_status_get - Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. + Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -141999,7 +147603,7 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_service_status_details_get_serialize( + _param = self._v2_monitoring_extranet_service_status_get_serialize( authorization=authorization, id=id, is_provider=is_provider, @@ -142010,7 +147614,7 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetServiceStatusDetailsGetResponse", + '200': "V2MonitoringExtranetServiceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142024,7 +147628,7 @@ def v2_monitoring_extranet_service_status_details_get_with_http_info( @validate_call - def v2_monitoring_extranet_service_status_details_get_without_preload_content( + def v2_monitoring_extranet_service_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], @@ -142042,9 +147646,9 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_extranet_service_status_details_get + """v2_monitoring_extranet_service_status_get - Returns a list of Site-to-ServerIPAddress statuses for a particular producer of consumer. Each element contains a Site object (with site information) and a mapping of Server Ip addresses to the corresponding Reachability status.Healthy status indicates all the edges/gateways within the Site can reach all the Server IP addresses.Impaired status indicates that some of the edges/gateways within the Site can reach only a subset of Server IP addresses.Down status indicates that none of the edges/gateways within the Site can reach any of the Server IP addresses. + Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142074,7 +147678,7 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_service_status_details_get_serialize( + _param = self._v2_monitoring_extranet_service_status_get_serialize( authorization=authorization, id=id, is_provider=is_provider, @@ -142085,7 +147689,7 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetServiceStatusDetailsGetResponse", + '200': "V2MonitoringExtranetServiceStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142094,7 +147698,7 @@ def v2_monitoring_extranet_service_status_details_get_without_preload_content( return response_data.response - def _v2_monitoring_extranet_service_status_details_get_serialize( + def _v2_monitoring_extranet_service_status_get_serialize( self, authorization, id, @@ -142152,7 +147756,7 @@ def _v2_monitoring_extranet_service_status_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/monitoring/extranet/service-status/details', + resource_path='/v2/monitoring/extranet/service-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -142169,7 +147773,7 @@ def _v2_monitoring_extranet_service_status_details_get_serialize( @validate_call - def v2_monitoring_extranet_service_status_get( + def v2_monitoring_extranet_site_status_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], @@ -142186,10 +147790,10 @@ def v2_monitoring_extranet_service_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringExtranetServiceStatusGetResponse: - """v2_monitoring_extranet_service_status_get + ) -> V2MonitoringExtranetSiteStatusGetResponse: + """v2_monitoring_extranet_site_status_get - Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. + Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142219,7 +147823,7 @@ def v2_monitoring_extranet_service_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_service_status_get_serialize( + _param = self._v2_monitoring_extranet_site_status_get_serialize( authorization=authorization, id=id, is_provider=is_provider, @@ -142230,7 +147834,7 @@ def v2_monitoring_extranet_service_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetServiceStatusGetResponse", + '200': "V2MonitoringExtranetSiteStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142244,7 +147848,7 @@ def v2_monitoring_extranet_service_status_get( @validate_call - def v2_monitoring_extranet_service_status_get_with_http_info( + def v2_monitoring_extranet_site_status_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], @@ -142261,10 +147865,10 @@ def v2_monitoring_extranet_service_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringExtranetServiceStatusGetResponse]: - """v2_monitoring_extranet_service_status_get + ) -> ApiResponse[V2MonitoringExtranetSiteStatusGetResponse]: + """v2_monitoring_extranet_site_status_get - Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. + Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142294,7 +147898,7 @@ def v2_monitoring_extranet_service_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_service_status_get_serialize( + _param = self._v2_monitoring_extranet_site_status_get_serialize( authorization=authorization, id=id, is_provider=is_provider, @@ -142305,7 +147909,7 @@ def v2_monitoring_extranet_service_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetServiceStatusGetResponse", + '200': "V2MonitoringExtranetSiteStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142319,7 +147923,7 @@ def v2_monitoring_extranet_service_status_get_with_http_info( @validate_call - def v2_monitoring_extranet_service_status_get_without_preload_content( + def v2_monitoring_extranet_site_status_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], @@ -142337,9 +147941,9 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_extranet_service_status_get + """v2_monitoring_extranet_site_status_get - Returns a list of Status objects indicating the availability/reachability of all the Server IP addresses configured to the service. Healthy status indicates the Server IP address is reachable from all provider sites. Impaired status indicates the Server IP address is reachable from a subset of provider sites. Down status indicates the Server IP address can't be reached from any of the provider sites. + Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142369,7 +147973,7 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_service_status_get_serialize( + _param = self._v2_monitoring_extranet_site_status_get_serialize( authorization=authorization, id=id, is_provider=is_provider, @@ -142380,7 +147984,7 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetServiceStatusGetResponse", + '200': "V2MonitoringExtranetSiteStatusGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142389,7 +147993,7 @@ def v2_monitoring_extranet_service_status_get_without_preload_content( return response_data.response - def _v2_monitoring_extranet_service_status_get_serialize( + def _v2_monitoring_extranet_site_status_get_serialize( self, authorization, id, @@ -142447,7 +148051,7 @@ def _v2_monitoring_extranet_service_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/monitoring/extranet/service-status', + resource_path='/v2/monitoring/extranet/site-status', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -142464,11 +148068,13 @@ def _v2_monitoring_extranet_service_status_get_serialize( @validate_call - def v2_monitoring_extranet_site_status_get( + def v2_monitoring_extranet_status_details_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + server_address: Annotated[StrictStr, Field(description="the address of the server")], + site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -142481,10 +148087,10 @@ def v2_monitoring_extranet_site_status_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringExtranetSiteStatusGetResponse: - """v2_monitoring_extranet_site_status_get + ) -> V2MonitoringExtranetStatusDetailsGetResponse: + """v2_monitoring_extranet_status_details_get - Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. + Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142492,6 +148098,10 @@ def v2_monitoring_extranet_site_status_get( :type id: int :param is_provider: whether the entity is a provider or consumer (required) :type is_provider: bool + :param server_address: the address of the server (required) + :type server_address: str + :param site_id: the id of the site (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142514,10 +148124,12 @@ def v2_monitoring_extranet_site_status_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_site_status_get_serialize( + _param = self._v2_monitoring_extranet_status_details_get_serialize( authorization=authorization, id=id, is_provider=is_provider, + server_address=server_address, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142525,7 +148137,7 @@ def v2_monitoring_extranet_site_status_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetSiteStatusGetResponse", + '200': "V2MonitoringExtranetStatusDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142539,11 +148151,13 @@ def v2_monitoring_extranet_site_status_get( @validate_call - def v2_monitoring_extranet_site_status_get_with_http_info( + def v2_monitoring_extranet_status_details_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + server_address: Annotated[StrictStr, Field(description="the address of the server")], + site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -142556,10 +148170,10 @@ def v2_monitoring_extranet_site_status_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringExtranetSiteStatusGetResponse]: - """v2_monitoring_extranet_site_status_get + ) -> ApiResponse[V2MonitoringExtranetStatusDetailsGetResponse]: + """v2_monitoring_extranet_status_details_get - Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. + Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142567,6 +148181,10 @@ def v2_monitoring_extranet_site_status_get_with_http_info( :type id: int :param is_provider: whether the entity is a provider or consumer (required) :type is_provider: bool + :param server_address: the address of the server (required) + :type server_address: str + :param site_id: the id of the site (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142589,10 +148207,12 @@ def v2_monitoring_extranet_site_status_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_site_status_get_serialize( + _param = self._v2_monitoring_extranet_status_details_get_serialize( authorization=authorization, id=id, is_provider=is_provider, + server_address=server_address, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142600,7 +148220,7 @@ def v2_monitoring_extranet_site_status_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetSiteStatusGetResponse", + '200': "V2MonitoringExtranetStatusDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142614,11 +148234,13 @@ def v2_monitoring_extranet_site_status_get_with_http_info( @validate_call - def v2_monitoring_extranet_site_status_get_without_preload_content( + def v2_monitoring_extranet_status_details_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], + server_address: Annotated[StrictStr, Field(description="the address of the server")], + site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -142632,9 +148254,9 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_extranet_site_status_get + """v2_monitoring_extranet_status_details_get - Returns a list of Statuses objects indicating the availability/reachability of the Server IP addresses from the Sites configured to the Provider or Consumer of the service.Healthy status indicates the Site can reach all the Server IP Addresses.Impaired status indicates that the Site can reach only a subset of Server IP addresses.Down status indicates the Site can reach none of the Server IP addresses. + Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. :param authorization: Bearer token. Format: Bearer (required) :type authorization: str @@ -142642,6 +148264,10 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( :type id: int :param is_provider: whether the entity is a provider or consumer (required) :type is_provider: bool + :param server_address: the address of the server (required) + :type server_address: str + :param site_id: the id of the site (required) + :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142664,10 +148290,12 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_site_status_get_serialize( + _param = self._v2_monitoring_extranet_status_details_get_serialize( authorization=authorization, id=id, is_provider=is_provider, + server_address=server_address, + site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142675,7 +148303,7 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetSiteStatusGetResponse", + '200': "V2MonitoringExtranetStatusDetailsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142684,11 +148312,13 @@ def v2_monitoring_extranet_site_status_get_without_preload_content( return response_data.response - def _v2_monitoring_extranet_site_status_get_serialize( + def _v2_monitoring_extranet_status_details_get_serialize( self, authorization, id, is_provider, + server_address, + site_id, _request_auth, _content_type, _headers, @@ -142719,6 +148349,14 @@ def _v2_monitoring_extranet_site_status_get_serialize( _query_params.append(('isProvider', is_provider)) + if server_address is not None: + + _query_params.append(('serverAddress', server_address)) + + if site_id is not None: + + _query_params.append(('siteId', site_id)) + # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -142742,7 +148380,7 @@ def _v2_monitoring_extranet_site_status_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/monitoring/extranet/site-status', + resource_path='/v2/monitoring/extranet/status-details', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -142759,13 +148397,9 @@ def _v2_monitoring_extranet_site_status_get_serialize( @validate_call - def v2_monitoring_extranet_status_details_get( + def v2_monitoring_fec_stats_get( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], - is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], - server_address: Annotated[StrictStr, Field(description="the address of the server")], - site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -142778,21 +148412,13 @@ def v2_monitoring_extranet_status_details_get( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> V2MonitoringExtranetStatusDetailsGetResponse: - """v2_monitoring_extranet_status_details_get + ) -> V2MonitoringFecStatsGetResponse: + """v2_monitoring_fec_stats_get - Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. + Returns the FEC stats for the given device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) - :type id: int - :param is_provider: whether the entity is a provider or consumer (required) - :type is_provider: bool - :param server_address: the address of the server (required) - :type server_address: str - :param site_id: the id of the site (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142815,12 +148441,8 @@ def v2_monitoring_extranet_status_details_get( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_status_details_get_serialize( + _param = self._v2_monitoring_fec_stats_get_serialize( authorization=authorization, - id=id, - is_provider=is_provider, - server_address=server_address, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142828,7 +148450,7 @@ def v2_monitoring_extranet_status_details_get( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetStatusDetailsGetResponse", + '200': "V2MonitoringFecStatsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142842,13 +148464,9 @@ def v2_monitoring_extranet_status_details_get( @validate_call - def v2_monitoring_extranet_status_details_get_with_http_info( + def v2_monitoring_fec_stats_get_with_http_info( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], - is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], - server_address: Annotated[StrictStr, Field(description="the address of the server")], - site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -142861,21 +148479,13 @@ def v2_monitoring_extranet_status_details_get_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[V2MonitoringExtranetStatusDetailsGetResponse]: - """v2_monitoring_extranet_status_details_get + ) -> ApiResponse[V2MonitoringFecStatsGetResponse]: + """v2_monitoring_fec_stats_get - Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. + Returns the FEC stats for the given device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) - :type id: int - :param is_provider: whether the entity is a provider or consumer (required) - :type is_provider: bool - :param server_address: the address of the server (required) - :type server_address: str - :param site_id: the id of the site (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142898,12 +148508,8 @@ def v2_monitoring_extranet_status_details_get_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_status_details_get_serialize( + _param = self._v2_monitoring_fec_stats_get_serialize( authorization=authorization, - id=id, - is_provider=is_provider, - server_address=server_address, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142911,7 +148517,7 @@ def v2_monitoring_extranet_status_details_get_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetStatusDetailsGetResponse", + '200': "V2MonitoringFecStatsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -142925,13 +148531,9 @@ def v2_monitoring_extranet_status_details_get_with_http_info( @validate_call - def v2_monitoring_extranet_status_details_get_without_preload_content( + def v2_monitoring_fec_stats_get_without_preload_content( self, authorization: Annotated[StrictStr, Field(description="Bearer token. Format: Bearer ")], - id: Annotated[StrictInt, Field(description="the id associated with an entity - consumer_id for consumer, and service_id for the producer/service")], - is_provider: Annotated[StrictBool, Field(description="whether the entity is a provider or consumer")], - server_address: Annotated[StrictStr, Field(description="the address of the server")], - site_id: Annotated[StrictInt, Field(description="the id of the site")], _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -142945,20 +148547,12 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """v2_monitoring_extranet_status_details_get + """v2_monitoring_fec_stats_get - Detailed view of the reachability of the Server IP addresses from the selected (producer or consumer) Site.Lists Site-to-ServerIPAddress statuses for the selected SiteLists Edge-to-ServerIPAddress statuses for All Edges within the selected Site.Returns physical Location of the SiteReturns Region of the Site. + Returns the FEC stats for the given device :param authorization: Bearer token. Format: Bearer (required) :type authorization: str - :param id: the id associated with an entity - consumer_id for consumer, and service_id for the producer/service (required) - :type id: int - :param is_provider: whether the entity is a provider or consumer (required) - :type is_provider: bool - :param server_address: the address of the server (required) - :type server_address: str - :param site_id: the id of the site (required) - :type site_id: int :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -142981,12 +148575,8 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._v2_monitoring_extranet_status_details_get_serialize( + _param = self._v2_monitoring_fec_stats_get_serialize( authorization=authorization, - id=id, - is_provider=is_provider, - server_address=server_address, - site_id=site_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -142994,7 +148584,7 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "V2MonitoringExtranetStatusDetailsGetResponse", + '200': "V2MonitoringFecStatsGetResponse", } response_data = self.api_client.call_api( *_param, @@ -143003,13 +148593,9 @@ def v2_monitoring_extranet_status_details_get_without_preload_content( return response_data.response - def _v2_monitoring_extranet_status_details_get_serialize( + def _v2_monitoring_fec_stats_get_serialize( self, authorization, - id, - is_provider, - server_address, - site_id, _request_auth, _content_type, _headers, @@ -143032,22 +148618,6 @@ def _v2_monitoring_extranet_status_details_get_serialize( # process the path parameters # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - - if is_provider is not None: - - _query_params.append(('isProvider', is_provider)) - - if server_address is not None: - - _query_params.append(('serverAddress', server_address)) - - if site_id is not None: - - _query_params.append(('siteId', site_id)) - # process the header parameters if authorization is not None: _header_params['Authorization'] = authorization @@ -143071,7 +148641,7 @@ def _v2_monitoring_extranet_status_details_get_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2/monitoring/extranet/status-details', + resource_path='/v2/monitoring/fec-stats', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/graphiant_sdk/models/__init__.py b/graphiant_sdk/models/__init__.py index 5dceb49f..d176da8f 100644 --- a/graphiant_sdk/models/__init__.py +++ b/graphiant_sdk/models/__init__.py @@ -652,6 +652,14 @@ from graphiant_sdk.models.routing_vrrp_entry import RoutingVrrpEntry from graphiant_sdk.models.routingbgp_counter import RoutingbgpCounter from graphiant_sdk.models.routingprefix import Routingprefix +from graphiant_sdk.models.sdk_automation_catalog_bundle import SdkAutomationCatalogBundle +from graphiant_sdk.models.sdk_automation_catalog_module_slot import SdkAutomationCatalogModuleSlot +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile +from graphiant_sdk.models.sdk_automation_playbook_config import SdkAutomationPlaybookConfig +from graphiant_sdk.models.sdk_automation_playbook_config_summary import SdkAutomationPlaybookConfigSummary +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob +from graphiant_sdk.models.sdk_automation_template_file import SdkAutomationTemplateFile +from graphiant_sdk.models.sdk_automation_validation_error import SdkAutomationValidationError from graphiant_sdk.models.search_edge_summary import SearchEdgeSummary from graphiant_sdk.models.search_search_filter import SearchSearchFilter from graphiant_sdk.models.search_search_result import SearchSearchResult @@ -726,6 +734,10 @@ from graphiant_sdk.models.statsmon_v2_device_segments import StatsmonV2DeviceSegments from graphiant_sdk.models.statsmon_v2_edge import StatsmonV2Edge from graphiant_sdk.models.statsmon_v2_edgeedge_circuit_info import StatsmonV2EdgeedgeCircuitInfo +from graphiant_sdk.models.statsmon_v2_fec_rx_repair_level import StatsmonV2FecRxRepairLevel +from graphiant_sdk.models.statsmon_v2_fec_rx_stats import StatsmonV2FecRxStats +from graphiant_sdk.models.statsmon_v2_fec_tx_repair_level import StatsmonV2FecTxRepairLevel +from graphiant_sdk.models.statsmon_v2_fec_tx_stats import StatsmonV2FecTxStats from graphiant_sdk.models.statsmon_v2_interface_stats_selector import StatsmonV2InterfaceStatsSelector from graphiant_sdk.models.statsmon_v2_ip_sec_stats_selector import StatsmonV2IpSecStatsSelector from graphiant_sdk.models.statsmon_v2_node import StatsmonV2Node @@ -735,6 +747,8 @@ from graphiant_sdk.models.statsmon_v2_policy_stats_selector import StatsmonV2PolicyStatsSelector from graphiant_sdk.models.statsmon_v2_queue_instant_stats_selector import StatsmonV2QueueInstantStatsSelector from graphiant_sdk.models.statsmon_v2_queue_utilization import StatsmonV2QueueUtilization +from graphiant_sdk.models.statsmon_v2_repair_level import StatsmonV2RepairLevel +from graphiant_sdk.models.statsmon_v2_repair_level_score import StatsmonV2RepairLevelScore from graphiant_sdk.models.statsmon_v2_stats_sample import StatsmonV2StatsSample from graphiant_sdk.models.statsmon_v2_system_stats_selector import StatsmonV2SystemStatsSelector from graphiant_sdk.models.statsmon_v2_time_window import StatsmonV2TimeWindow @@ -789,12 +803,9 @@ from graphiant_sdk.models.v1_auth_error_post_response import V1AuthErrorPostResponse from graphiant_sdk.models.v1_auth_gcs_post_request import V1AuthGcsPostRequest from graphiant_sdk.models.v1_auth_get_response import V1AuthGetResponse -from graphiant_sdk.models.v1_auth_login_callback_post500_response import V1AuthLoginCallbackPost500Response from graphiant_sdk.models.v1_auth_login_post_request import V1AuthLoginPostRequest from graphiant_sdk.models.v1_auth_login_post_response import V1AuthLoginPostResponse from graphiant_sdk.models.v1_auth_login_pre_get_response import V1AuthLoginPreGetResponse -from graphiant_sdk.models.v1_auth_login_saml_get401_response import V1AuthLoginSamlGet401Response -from graphiant_sdk.models.v1_auth_login_saml_get500_response import V1AuthLoginSamlGet500Response from graphiant_sdk.models.v1_auth_login_temp_post_request import V1AuthLoginTempPostRequest from graphiant_sdk.models.v1_auth_mfa_patch_request import V1AuthMfaPatchRequest from graphiant_sdk.models.v1_auth_mfa_post500_response import V1AuthMfaPost500Response @@ -804,11 +815,7 @@ from graphiant_sdk.models.v1_auth_patch_request import V1AuthPatchRequest from graphiant_sdk.models.v1_auth_put_request import V1AuthPutRequest from graphiant_sdk.models.v1_auth_refresh_get200_response import V1AuthRefreshGet200Response -from graphiant_sdk.models.v1_auth_refresh_get403_response import V1AuthRefreshGet403Response -from graphiant_sdk.models.v1_auth_refresh_get422_response import V1AuthRefreshGet422Response from graphiant_sdk.models.v1_auth_refresh_get_entry_point_response import V1AuthRefreshGetEntryPointResponse -from graphiant_sdk.models.v1_auth_session_get403_response import V1AuthSessionGet403Response -from graphiant_sdk.models.v1_auth_session_get422_response import V1AuthSessionGet422Response from graphiant_sdk.models.v1_auth_user_get_response import V1AuthUserGetResponse from graphiant_sdk.models.v1_backbone_health_device_device_id_post_request import V1BackboneHealthDeviceDeviceIdPostRequest from graphiant_sdk.models.v1_backbone_health_device_device_id_post_response import V1BackboneHealthDeviceDeviceIdPostResponse @@ -1274,6 +1281,30 @@ from graphiant_sdk.models.v1_regions_get_response import V1RegionsGetResponse from graphiant_sdk.models.v1_regions_region_id_gateways_get_response import V1RegionsRegionIdGatewaysGetResponse from graphiant_sdk.models.v1_regions_region_id_gateways_get_response_gateway import V1RegionsRegionIdGatewaysGetResponseGateway +from graphiant_sdk.models.v1_sdk_automation_playbook_bundles_get_response import V1SdkAutomationPlaybookBundlesGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_get_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_request import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_get_response import V1SdkAutomationPlaybookConfigsConfigIdGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_request import V1SdkAutomationPlaybookConfigsConfigIdPutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_response import V1SdkAutomationPlaybookConfigsConfigIdPutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_request import V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_response import V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_get_response import V1SdkAutomationPlaybookConfigsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_request import V1SdkAutomationPlaybookConfigsPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_response import V1SdkAutomationPlaybookConfigsPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_get_response import V1SdkAutomationPlaybookJobsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_abort_put_response import V1SdkAutomationPlaybookJobsJobIdAbortPutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_request import V1SdkAutomationPlaybookJobsJobIdApprovePutRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_response import V1SdkAutomationPlaybookJobsJobIdApprovePutResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_get_response import V1SdkAutomationPlaybookJobsJobIdGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_logs_get_response import V1SdkAutomationPlaybookJobsJobIdLogsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_request import V1SdkAutomationPlaybookJobsJobIdResumePostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_response import V1SdkAutomationPlaybookJobsJobIdResumePostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_request import V1SdkAutomationPlaybookJobsJobIdRunPostRequest +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_response import V1SdkAutomationPlaybookJobsJobIdRunPostResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_module_slots_get_response import V1SdkAutomationPlaybookModuleSlotsGetResponse +from graphiant_sdk.models.v1_sdk_automation_playbook_templates_get_response import V1SdkAutomationPlaybookTemplatesGetResponse from graphiant_sdk.models.v1_search_get_response import V1SearchGetResponse from graphiant_sdk.models.v1_site_details_sitelists_post_request import V1SiteDetailsSitelistsPostRequest from graphiant_sdk.models.v1_site_details_sitelists_post_response import V1SiteDetailsSitelistsPostResponse @@ -1465,6 +1496,7 @@ from graphiant_sdk.models.v2_monitoring_extranet_service_status_get_response import V2MonitoringExtranetServiceStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_site_status_get_response import V2MonitoringExtranetSiteStatusGetResponse from graphiant_sdk.models.v2_monitoring_extranet_status_details_get_response import V2MonitoringExtranetStatusDetailsGetResponse +from graphiant_sdk.models.v2_monitoring_fec_stats_get_response import V2MonitoringFecStatsGetResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_request import V2MonitoringIkeErrorHistoryPostRequest from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response import V2MonitoringIkeErrorHistoryPostResponse from graphiant_sdk.models.v2_monitoring_ike_error_history_post_response_data import V2MonitoringIkeErrorHistoryPostResponseData diff --git a/graphiant_sdk/models/common_user_info.py b/graphiant_sdk/models/common_user_info.py index 6a254550..595323cd 100644 --- a/graphiant_sdk/models/common_user_info.py +++ b/graphiant_sdk/models/common_user_info.py @@ -28,13 +28,14 @@ class CommonUserInfo(BaseModel): """ CommonUserInfo """ # noqa: E501 + bearer_token: Optional[StrictStr] = Field(default=None, alias="bearerToken", json_schema_extra={"examples": ["example string"]}) enterprise_id: Optional[StrictInt] = Field(default=None, alias="enterpriseId", json_schema_extra={"examples": [1234567891011]}) exp: Optional[StrictInt] = Field(default=None, json_schema_extra={"examples": [1234567891011]}) original_enterprise_id: Optional[StrictInt] = Field(default=None, alias="originalEnterpriseId", json_schema_extra={"examples": [1234567891011]}) permissions: Optional[CommonPermissions] = None time_zone: Optional[StrictStr] = Field(default=None, alias="timeZone", json_schema_extra={"examples": ["example string"]}) user_id: Optional[StrictStr] = Field(default=None, alias="userId", json_schema_extra={"examples": ["example string"]}) - __properties: ClassVar[List[str]] = ["enterpriseId", "exp", "originalEnterpriseId", "permissions", "timeZone", "userId"] + __properties: ClassVar[List[str]] = ["bearerToken", "enterpriseId", "exp", "originalEnterpriseId", "permissions", "timeZone", "userId"] model_config = ConfigDict( validate_by_name=True, @@ -90,6 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ + "bearerToken": obj.get("bearerToken"), "enterpriseId": obj.get("enterpriseId"), "exp": obj.get("exp"), "originalEnterpriseId": obj.get("originalEnterpriseId"), diff --git a/graphiant_sdk/models/iam_enterprise.py b/graphiant_sdk/models/iam_enterprise.py index a563e6d3..a5627b62 100644 --- a/graphiant_sdk/models/iam_enterprise.py +++ b/graphiant_sdk/models/iam_enterprise.py @@ -33,6 +33,7 @@ class IamEnterprise(BaseModel): accept_eula: Optional[StrictBool] = Field(default=None, alias="acceptEula", json_schema_extra={"examples": [True]}) account_type: Optional[StrictStr] = Field(default=None, alias="accountType", json_schema_extra={"examples": ["ENUM_VALUE"]}) admin_email: Optional[StrictStr] = Field(default=None, alias="adminEmail", json_schema_extra={"examples": ["example string"]}) + backbone_apis_enabled: Optional[StrictBool] = Field(default=None, alias="backboneApisEnabled", json_schema_extra={"examples": [True]}) cloud_provider: Optional[StrictStr] = Field(default=None, alias="cloudProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) company_name: Optional[StrictStr] = Field(default=None, alias="companyName", json_schema_extra={"examples": ["example string"]}) counts: Optional[IamCounts] = None @@ -50,7 +51,7 @@ class IamEnterprise(BaseModel): proxy_tenant_id: Optional[StrictInt] = Field(default=None, alias="proxyTenantId", json_schema_extra={"examples": [1234567891011]}) small_logo: Optional[StrictStr] = Field(default=None, alias="smallLogo", json_schema_extra={"examples": ["example string"]}) token_expiry: Optional[StrictStr] = Field(default=None, alias="tokenExpiry", json_schema_extra={"examples": ["example string"]}) - __properties: ClassVar[List[str]] = ["acceptEula", "accountType", "adminEmail", "cloudProvider", "companyName", "counts", "creditLimit", "customers", "description", "enterpriseId", "eulaAgreementDate", "impersonationEnabled", "logo", "marketplaceId", "parentCompanyName", "parentEnterpriseId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] + __properties: ClassVar[List[str]] = ["acceptEula", "accountType", "adminEmail", "backboneApisEnabled", "cloudProvider", "companyName", "counts", "creditLimit", "customers", "description", "enterpriseId", "eulaAgreementDate", "impersonationEnabled", "logo", "marketplaceId", "parentCompanyName", "parentEnterpriseId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] model_config = ConfigDict( validate_by_name=True, @@ -119,6 +120,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "acceptEula": obj.get("acceptEula"), "accountType": obj.get("accountType"), "adminEmail": obj.get("adminEmail"), + "backboneApisEnabled": obj.get("backboneApisEnabled"), "cloudProvider": obj.get("cloudProvider"), "companyName": obj.get("companyName"), "counts": IamCounts.from_dict(obj["counts"]) if obj.get("counts") is not None else None, diff --git a/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py b/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py index 6efcab1d..80f3d944 100644 --- a/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py +++ b/graphiant_sdk/models/mana_v2_public_vif_gateway_write_request.py @@ -38,7 +38,7 @@ class ManaV2PublicVifGatewayWriteRequest(BaseModel): lan_segment_id: StrictInt = Field(description="Producer LAN segment (VRF) on gateway appliances (required)", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) nat_prefix_strategy: ManaV2PublicVifGatewayNatPrefixStrategy = Field(alias="natPrefixStrategy") region_id: StrictInt = Field(description="Graphiant region for gateway appliances (required)", alias="regionId", json_schema_extra={"examples": [123]}) - service_name: StrictStr = Field(description="Service display name (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_name: StrictStr = Field(description="Producer service name (letters, digits, hyphens only) (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) storage_provider: StrictStr = Field(description="Storage provider; each gateway appliance must match region and provider (required)", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) __properties: ClassVar[List[str]] = ["advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] diff --git a/graphiant_sdk/models/sdk_automation_catalog_bundle.py b/graphiant_sdk/models/sdk_automation_catalog_bundle.py new file mode 100644 index 00000000..3f172a02 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_catalog_bundle.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationCatalogBundle(BaseModel): + """ + SdkAutomationCatalogBundle + """ # noqa: E501 + description: Optional[StrictStr] = Field(default=None, description="Short description of the bundle", json_schema_extra={"examples": ["example string"]}) + key: Optional[StrictStr] = Field(default=None, description="Stable catalog key (e.g. system_bundle); used as CreatePlaybookConfigRequest.bundle_key", json_schema_extra={"examples": ["example string"]}) + name: Optional[StrictStr] = Field(default=None, description="Display name for the UI picklist", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["description", "key", "name"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationCatalogBundle from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationCatalogBundle from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "description": obj.get("description"), + "key": obj.get("key"), + "name": obj.get("name") + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_catalog_module_slot.py b/graphiant_sdk/models/sdk_automation_catalog_module_slot.py new file mode 100644 index 00000000..0910f044 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_catalog_module_slot.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationCatalogModuleSlot(BaseModel): + """ + SdkAutomationCatalogModuleSlot + """ # noqa: E501 + bundle_key: Optional[StrictStr] = Field(default=None, description="Owning catalog playbook key (e.g. system_bundle)", alias="bundleKey", json_schema_extra={"examples": ["example string"]}) + description: Optional[StrictStr] = Field(default=None, description="Short description of the module slot", json_schema_extra={"examples": ["example string"]}) + file_distinguisher: Optional[StrictStr] = Field(default=None, description="Top-level YAML key from playbook_catalog_module the UI uses to map an uploaded file to this module (e.g. device_system, interfaces, circuits)", alias="fileDistinguisher", json_schema_extra={"examples": ["example string"]}) + is_required: Optional[StrictBool] = Field(default=None, description="When true, create/validate must include this module_key", alias="isRequired", json_schema_extra={"examples": [True]}) + module_key: Optional[StrictStr] = Field(default=None, description="Stable catalog key from playbook_catalog_module (e.g. system_config_file); used as ModuleFile.module_key", alias="moduleKey", json_schema_extra={"examples": ["example string"]}) + name: Optional[StrictStr] = Field(default=None, description="Display name for the module slot", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["bundleKey", "description", "fileDistinguisher", "isRequired", "moduleKey", "name"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationCatalogModuleSlot from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationCatalogModuleSlot from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bundleKey": obj.get("bundleKey"), + "description": obj.get("description"), + "fileDistinguisher": obj.get("fileDistinguisher"), + "isRequired": obj.get("isRequired"), + "moduleKey": obj.get("moduleKey"), + "name": obj.get("name") + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_module_file.py b/graphiant_sdk/models/sdk_automation_module_file.py new file mode 100644 index 00000000..584e5ff2 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_module_file.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationModuleFile(BaseModel): + """ + SdkAutomationModuleFile + """ # noqa: E501 + content: Optional[StrictStr] = Field(default=None, description="YAML file contents", json_schema_extra={"examples": ["example string"]}) + filename: Optional[StrictStr] = Field(default=None, description="Original upload filename (informational; not used for routing)", json_schema_extra={"examples": ["example string"]}) + module_key: Optional[StrictStr] = Field(default=None, description="Catalog key from playbook_catalog_module (e.g. system_config_file)", alias="moduleKey", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["content", "filename", "moduleKey"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationModuleFile from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationModuleFile from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "content": obj.get("content"), + "filename": obj.get("filename"), + "moduleKey": obj.get("moduleKey") + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_playbook_config.py b/graphiant_sdk/models/sdk_automation_playbook_config.py new file mode 100644 index 00000000..79ab56d7 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_playbook_config.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationPlaybookConfig(BaseModel): + """ + SdkAutomationPlaybookConfig + """ # noqa: E501 + bundle_key: Optional[StrictStr] = Field(default=None, description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)", alias="bundleKey", json_schema_extra={"examples": ["example string"]}) + config_id: Optional[StrictStr] = Field(default=None, description="Config id", alias="configId", json_schema_extra={"examples": ["example string"]}) + created_by_user_id: Optional[StrictStr] = Field(default=None, description="IAM user id of the config creator; UI resolves the display name", alias="createdByUserId", json_schema_extra={"examples": ["example string"]}) + description: Optional[StrictStr] = Field(default=None, description="Description / deployment notes", json_schema_extra={"examples": ["example string"]}) + files: Optional[List[SdkAutomationModuleFile]] = None + name: Optional[StrictStr] = Field(default=None, description="Display name", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, description="Config lifecycle status (draft / staged / paused)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["bundleKey", "configId", "createdByUserId", "description", "files", "name", "status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationPlaybookConfig from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in files (list) + _items = [] + if self.files: + for _item_files in self.files: + if _item_files: + _items.append(_item_files.to_dict()) + _dict['files'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationPlaybookConfig from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bundleKey": obj.get("bundleKey"), + "configId": obj.get("configId"), + "createdByUserId": obj.get("createdByUserId"), + "description": obj.get("description"), + "files": [SdkAutomationModuleFile.from_dict(_item) for _item in obj["files"]] if obj.get("files") is not None else None, + "name": obj.get("name"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_playbook_config_summary.py b/graphiant_sdk/models/sdk_automation_playbook_config_summary.py new file mode 100644 index 00000000..7908eb27 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_playbook_config_summary.py @@ -0,0 +1,113 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationPlaybookConfigSummary(BaseModel): + """ + SdkAutomationPlaybookConfigSummary + """ # noqa: E501 + config_id: Optional[StrictStr] = Field(default=None, description="Config id", alias="configId", json_schema_extra={"examples": ["example string"]}) + created_by_user_id: Optional[StrictStr] = Field(default=None, description="IAM user id of the config creator; UI resolves the display name", alias="createdByUserId", json_schema_extra={"examples": ["example string"]}) + job_status: Optional[StrictStr] = Field(default=None, description="Latest run status; unset when the config has no run yet", alias="jobStatus", json_schema_extra={"examples": ["ENUM_VALUE"]}) + name: Optional[StrictStr] = Field(default=None, description="Display name", json_schema_extra={"examples": ["example string"]}) + run_id: Optional[StrictStr] = Field(default=None, description="Latest job id for this config; empty if never run", alias="runId", json_schema_extra={"examples": ["example string"]}) + run_number: Optional[StrictInt] = Field(default=None, description="Per-config run counter; 0 if never run", alias="runNumber", json_schema_extra={"examples": [123]}) + started_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="startedAt") + started_by_user_id: Optional[StrictStr] = Field(default=None, description="IAM user id of who launched the latest run", alias="startedByUserId", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, description="Config lifecycle status", json_schema_extra={"examples": ["ENUM_VALUE"]}) + updated_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="updatedAt") + __properties: ClassVar[List[str]] = ["configId", "createdByUserId", "jobStatus", "name", "runId", "runNumber", "startedAt", "startedByUserId", "status", "updatedAt"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationPlaybookConfigSummary from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of started_at + if self.started_at: + _dict['startedAt'] = self.started_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of updated_at + if self.updated_at: + _dict['updatedAt'] = self.updated_at.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationPlaybookConfigSummary from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "configId": obj.get("configId"), + "createdByUserId": obj.get("createdByUserId"), + "jobStatus": obj.get("jobStatus"), + "name": obj.get("name"), + "runId": obj.get("runId"), + "runNumber": obj.get("runNumber"), + "startedAt": GoogleProtobufTimestamp.from_dict(obj["startedAt"]) if obj.get("startedAt") is not None else None, + "startedByUserId": obj.get("startedByUserId"), + "status": obj.get("status"), + "updatedAt": GoogleProtobufTimestamp.from_dict(obj["updatedAt"]) if obj.get("updatedAt") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_playbook_job.py b/graphiant_sdk/models/sdk_automation_playbook_job.py new file mode 100644 index 00000000..94fcf072 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_playbook_job.py @@ -0,0 +1,145 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.google_protobuf_timestamp import GoogleProtobufTimestamp +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationPlaybookJob(BaseModel): + """ + SdkAutomationPlaybookJob + """ # noqa: E501 + collection_version: Optional[StrictStr] = Field(default=None, description="graphiant.naas collection version used for this run", alias="collectionVersion", json_schema_extra={"examples": ["example string"]}) + config_description: Optional[StrictStr] = Field(default=None, description="Config description / notes frozen at job creation (from config_snapshot); empty for older jobs", alias="configDescription", json_schema_extra={"examples": ["example string"]}) + config_id: Optional[StrictStr] = Field(default=None, description="Owning playbook config id", alias="configId", json_schema_extra={"examples": ["example string"]}) + config_name: Optional[StrictStr] = Field(default=None, description="Config display name frozen at job creation (from config_snapshot); empty for older jobs", alias="configName", json_schema_extra={"examples": ["example string"]}) + deploy_ended_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="deployEndedAt") + deploy_started_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="deployStartedAt") + dry_run_ended_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="dryRunEndedAt") + dry_run_started_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="dryRunStartedAt") + failed_phase: Optional[StrictStr] = Field(default=None, description="When status is FAILED, which phase failed; unset when not failed", alias="failedPhase", json_schema_extra={"examples": ["ENUM_VALUE"]}) + job_id: Optional[StrictStr] = Field(default=None, description="Unique id of this playbook job run", alias="jobId", json_schema_extra={"examples": ["example string"]}) + logs_available: Optional[StrictBool] = Field(default=None, description="True when ansible logs are available for this run", alias="logsAvailable", json_schema_extra={"examples": [True]}) + post_deploy_check_started_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="postDeployCheckStartedAt") + run_duration_ms: Optional[StrictInt] = Field(default=None, description="Wall-clock duration in milliseconds from dry_run_started_at to run_ended_at; unset until run_ended_at is set", alias="runDurationMs", json_schema_extra={"examples": [1234567891011]}) + run_ended_at: Optional[GoogleProtobufTimestamp] = Field(default=None, alias="runEndedAt") + run_number: Optional[StrictInt] = Field(default=None, description="Per-config run counter (1-based for started runs)", alias="runNumber", json_schema_extra={"examples": [123]}) + runner_job_id: Optional[StrictStr] = Field(default=None, description="External ansible runner job id, if the backend assigned one", alias="runnerJobId", json_schema_extra={"examples": ["example string"]}) + sdk_version: Optional[StrictStr] = Field(default=None, description="SDK version used for this run", alias="sdkVersion", json_schema_extra={"examples": ["example string"]}) + started_by_user_id: Optional[StrictStr] = Field(default=None, description="IAM UserInfo.user_id of who started this run; UI resolves the display name", alias="startedByUserId", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, description="Gated pipeline state (dry-run / deploy / post-deploy-check)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + verbose_logs: Optional[StrictBool] = Field(default=None, description="Whether ansible -vvv was requested for the latest phase of this run", alias="verboseLogs", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["collectionVersion", "configDescription", "configId", "configName", "deployEndedAt", "deployStartedAt", "dryRunEndedAt", "dryRunStartedAt", "failedPhase", "jobId", "logsAvailable", "postDeployCheckStartedAt", "runDurationMs", "runEndedAt", "runNumber", "runnerJobId", "sdkVersion", "startedByUserId", "status", "verboseLogs"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationPlaybookJob from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of deploy_ended_at + if self.deploy_ended_at: + _dict['deployEndedAt'] = self.deploy_ended_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of deploy_started_at + if self.deploy_started_at: + _dict['deployStartedAt'] = self.deploy_started_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of dry_run_ended_at + if self.dry_run_ended_at: + _dict['dryRunEndedAt'] = self.dry_run_ended_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of dry_run_started_at + if self.dry_run_started_at: + _dict['dryRunStartedAt'] = self.dry_run_started_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of post_deploy_check_started_at + if self.post_deploy_check_started_at: + _dict['postDeployCheckStartedAt'] = self.post_deploy_check_started_at.to_dict() + # override the default output from pydantic by calling `to_dict()` of run_ended_at + if self.run_ended_at: + _dict['runEndedAt'] = self.run_ended_at.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationPlaybookJob from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "collectionVersion": obj.get("collectionVersion"), + "configDescription": obj.get("configDescription"), + "configId": obj.get("configId"), + "configName": obj.get("configName"), + "deployEndedAt": GoogleProtobufTimestamp.from_dict(obj["deployEndedAt"]) if obj.get("deployEndedAt") is not None else None, + "deployStartedAt": GoogleProtobufTimestamp.from_dict(obj["deployStartedAt"]) if obj.get("deployStartedAt") is not None else None, + "dryRunEndedAt": GoogleProtobufTimestamp.from_dict(obj["dryRunEndedAt"]) if obj.get("dryRunEndedAt") is not None else None, + "dryRunStartedAt": GoogleProtobufTimestamp.from_dict(obj["dryRunStartedAt"]) if obj.get("dryRunStartedAt") is not None else None, + "failedPhase": obj.get("failedPhase"), + "jobId": obj.get("jobId"), + "logsAvailable": obj.get("logsAvailable"), + "postDeployCheckStartedAt": GoogleProtobufTimestamp.from_dict(obj["postDeployCheckStartedAt"]) if obj.get("postDeployCheckStartedAt") is not None else None, + "runDurationMs": obj.get("runDurationMs"), + "runEndedAt": GoogleProtobufTimestamp.from_dict(obj["runEndedAt"]) if obj.get("runEndedAt") is not None else None, + "runNumber": obj.get("runNumber"), + "runnerJobId": obj.get("runnerJobId"), + "sdkVersion": obj.get("sdkVersion"), + "startedByUserId": obj.get("startedByUserId"), + "status": obj.get("status"), + "verboseLogs": obj.get("verboseLogs") + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_template_file.py b/graphiant_sdk/models/sdk_automation_template_file.py new file mode 100644 index 00000000..907ae2ae --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_template_file.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationTemplateFile(BaseModel): + """ + SdkAutomationTemplateFile + """ # noqa: E501 + content: Optional[StrictStr] = Field(default=None, description="File contents, verbatim from the collection", json_schema_extra={"examples": ["example string"]}) + filename: Optional[StrictStr] = Field(default=None, description="Suggested download name (e.g. sample_interface_config.yaml)", json_schema_extra={"examples": ["example string"]}) + module_key: Optional[StrictStr] = Field(default=None, description="Catalog module key; empty for the bundle-level playbook not scoped to a slot", alias="moduleKey", json_schema_extra={"examples": ["example string"]}) + source_path: Optional[StrictStr] = Field(default=None, description="Path within the collection for provenance (e.g. playbooks/interface_management.yml)", alias="sourcePath", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["content", "filename", "moduleKey", "sourcePath"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationTemplateFile from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationTemplateFile from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "content": obj.get("content"), + "filename": obj.get("filename"), + "moduleKey": obj.get("moduleKey"), + "sourcePath": obj.get("sourcePath") + }) + return _obj + + diff --git a/graphiant_sdk/models/sdk_automation_validation_error.py b/graphiant_sdk/models/sdk_automation_validation_error.py new file mode 100644 index 00000000..09e977f3 --- /dev/null +++ b/graphiant_sdk/models/sdk_automation_validation_error.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class SdkAutomationValidationError(BaseModel): + """ + SdkAutomationValidationError + """ # noqa: E501 + message: Optional[StrictStr] = Field(default=None, description="Human-readable validation error detail", json_schema_extra={"examples": ["example string"]}) + module_key: Optional[StrictStr] = Field(default=None, description="Catalog module key when the error is scoped to a module; unset otherwise", alias="moduleKey", json_schema_extra={"examples": ["example string"]}) + type: Optional[StrictStr] = Field(default=None, description="Error category (syntax or schema)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["message", "moduleKey", "type"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SdkAutomationValidationError from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SdkAutomationValidationError from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "message": obj.get("message"), + "moduleKey": obj.get("moduleKey"), + "type": obj.get("type") + }) + return _obj + + diff --git a/graphiant_sdk/models/statsmon_v2_fec_rx_repair_level.py b/graphiant_sdk/models/statsmon_v2_fec_rx_repair_level.py new file mode 100644 index 00000000..0e19ee49 --- /dev/null +++ b/graphiant_sdk/models/statsmon_v2_fec_rx_repair_level.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.statsmon_v2_repair_level import StatsmonV2RepairLevel +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class StatsmonV2FecRxRepairLevel(BaseModel): + """ + StatsmonV2FecRxRepairLevel + """ # noqa: E501 + repair_level: Optional[List[StatsmonV2RepairLevel]] = Field(default=None, alias="repairLevel") + __properties: ClassVar[List[str]] = ["repairLevel"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StatsmonV2FecRxRepairLevel from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in repair_level (list) + _items = [] + if self.repair_level: + for _item_repair_level in self.repair_level: + if _item_repair_level: + _items.append(_item_repair_level.to_dict()) + _dict['repairLevel'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StatsmonV2FecRxRepairLevel from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "repairLevel": [StatsmonV2RepairLevel.from_dict(_item) for _item in obj["repairLevel"]] if obj.get("repairLevel") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/statsmon_v2_fec_rx_stats.py b/graphiant_sdk/models/statsmon_v2_fec_rx_stats.py new file mode 100644 index 00000000..30b273cc --- /dev/null +++ b/graphiant_sdk/models/statsmon_v2_fec_rx_stats.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class StatsmonV2FecRxStats(BaseModel): + """ + StatsmonV2FecRxStats + """ # noqa: E501 + erasure_recovered_packets: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="erasureRecoveredPackets", json_schema_extra={"examples": [12345678910]}) + erasure_unrepairable_packets: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="erasureUnrepairablePackets", json_schema_extra={"examples": [12345678910]}) + repair_level: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="repairLevel", json_schema_extra={"examples": [12.34]}) + repair_packets: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="repairPackets", json_schema_extra={"examples": [12345678910]}) + __properties: ClassVar[List[str]] = ["erasureRecoveredPackets", "erasureUnrepairablePackets", "repairLevel", "repairPackets"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StatsmonV2FecRxStats from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StatsmonV2FecRxStats from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "erasureRecoveredPackets": obj.get("erasureRecoveredPackets"), + "erasureUnrepairablePackets": obj.get("erasureUnrepairablePackets"), + "repairLevel": obj.get("repairLevel"), + "repairPackets": obj.get("repairPackets") + }) + return _obj + + diff --git a/graphiant_sdk/models/statsmon_v2_fec_tx_repair_level.py b/graphiant_sdk/models/statsmon_v2_fec_tx_repair_level.py new file mode 100644 index 00000000..4ea8574d --- /dev/null +++ b/graphiant_sdk/models/statsmon_v2_fec_tx_repair_level.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.statsmon_v2_repair_level import StatsmonV2RepairLevel +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class StatsmonV2FecTxRepairLevel(BaseModel): + """ + StatsmonV2FecTxRepairLevel + """ # noqa: E501 + repair_level: Optional[List[StatsmonV2RepairLevel]] = Field(default=None, alias="repairLevel") + __properties: ClassVar[List[str]] = ["repairLevel"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StatsmonV2FecTxRepairLevel from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in repair_level (list) + _items = [] + if self.repair_level: + for _item_repair_level in self.repair_level: + if _item_repair_level: + _items.append(_item_repair_level.to_dict()) + _dict['repairLevel'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StatsmonV2FecTxRepairLevel from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "repairLevel": [StatsmonV2RepairLevel.from_dict(_item) for _item in obj["repairLevel"]] if obj.get("repairLevel") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/statsmon_v2_fec_tx_stats.py b/graphiant_sdk/models/statsmon_v2_fec_tx_stats.py new file mode 100644 index 00000000..6b9c11b5 --- /dev/null +++ b/graphiant_sdk/models/statsmon_v2_fec_tx_stats.py @@ -0,0 +1,95 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class StatsmonV2FecTxStats(BaseModel): + """ + StatsmonV2FecTxStats + """ # noqa: E501 + protected_packets: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="protectedPackets", json_schema_extra={"examples": [12345678910]}) + repair_level: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="repairLevel", json_schema_extra={"examples": [12.34]}) + sent_repair_packets: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="sentRepairPackets", json_schema_extra={"examples": [12345678910]}) + unprotected_packets: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, alias="unprotectedPackets", json_schema_extra={"examples": [12345678910]}) + __properties: ClassVar[List[str]] = ["protectedPackets", "repairLevel", "sentRepairPackets", "unprotectedPackets"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StatsmonV2FecTxStats from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StatsmonV2FecTxStats from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "protectedPackets": obj.get("protectedPackets"), + "repairLevel": obj.get("repairLevel"), + "sentRepairPackets": obj.get("sentRepairPackets"), + "unprotectedPackets": obj.get("unprotectedPackets") + }) + return _obj + + diff --git a/graphiant_sdk/models/statsmon_v2_repair_level.py b/graphiant_sdk/models/statsmon_v2_repair_level.py new file mode 100644 index 00000000..f5feae84 --- /dev/null +++ b/graphiant_sdk/models/statsmon_v2_repair_level.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.statsmon_v2_repair_level_score import StatsmonV2RepairLevelScore +from graphiant_sdk.models.statsmon_v2_stats_sample import StatsmonV2StatsSample +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class StatsmonV2RepairLevel(BaseModel): + """ + StatsmonV2RepairLevel + """ # noqa: E501 + sample: Optional[StatsmonV2StatsSample] = None + score: Optional[StatsmonV2RepairLevelScore] = None + __properties: ClassVar[List[str]] = ["sample", "score"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StatsmonV2RepairLevel from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of sample + if self.sample: + _dict['sample'] = self.sample.to_dict() + # override the default output from pydantic by calling `to_dict()` of score + if self.score: + _dict['score'] = self.score.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StatsmonV2RepairLevel from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sample": StatsmonV2StatsSample.from_dict(obj["sample"]) if obj.get("sample") is not None else None, + "score": StatsmonV2RepairLevelScore.from_dict(obj["score"]) if obj.get("score") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/statsmon_v2_repair_level_score.py b/graphiant_sdk/models/statsmon_v2_repair_level_score.py new file mode 100644 index 00000000..9917591f --- /dev/null +++ b/graphiant_sdk/models/statsmon_v2_repair_level_score.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class StatsmonV2RepairLevelScore(BaseModel): + """ + StatsmonV2RepairLevelScore + """ # noqa: E501 + jitter: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, json_schema_extra={"examples": [12.34]}) + latency: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, json_schema_extra={"examples": [12.34]}) + loss: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, json_schema_extra={"examples": [12.34]}) + __properties: ClassVar[List[str]] = ["jitter", "latency", "loss"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StatsmonV2RepairLevelScore from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StatsmonV2RepairLevelScore from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jitter": obj.get("jitter"), + "latency": obj.get("latency"), + "loss": obj.get("loss") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_edges_summary_post_request.py b/graphiant_sdk/models/v1_edges_summary_post_request.py index cdd77c5e..e0fa8618 100644 --- a/graphiant_sdk/models/v1_edges_summary_post_request.py +++ b/graphiant_sdk/models/v1_edges_summary_post_request.py @@ -17,7 +17,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List, Optional from graphiant_sdk.models.v1_edges_summary_post_request_filter import V1EdgesSummaryPostRequestFilter from typing import Optional, Set @@ -29,7 +29,8 @@ class V1EdgesSummaryPostRequest(BaseModel): V1EdgesSummaryPostRequest """ # noqa: E501 filter: Optional[V1EdgesSummaryPostRequestFilter] = None - __properties: ClassVar[List[str]] = ["filter"] + show_excluded: Optional[StrictBool] = Field(default=None, description="Include devices excluded from Graphiant API lists. Ignored for non-Graphiant callers. Default false.", alias="showExcluded", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["filter", "showExcluded"] model_config = ConfigDict( validate_by_name=True, @@ -85,7 +86,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "filter": V1EdgesSummaryPostRequestFilter.from_dict(obj["filter"]) if obj.get("filter") is not None else None + "filter": V1EdgesSummaryPostRequestFilter.from_dict(obj["filter"]) if obj.get("filter") is not None else None, + "showExcluded": obj.get("showExcluded") }) return _obj diff --git a/graphiant_sdk/models/v1_enterprises_patch_request.py b/graphiant_sdk/models/v1_enterprises_patch_request.py index 2dd97bf3..651428a6 100644 --- a/graphiant_sdk/models/v1_enterprises_patch_request.py +++ b/graphiant_sdk/models/v1_enterprises_patch_request.py @@ -30,6 +30,7 @@ class V1EnterprisesPatchRequest(BaseModel): V1EnterprisesPatchRequest """ # noqa: E501 admin_email: Optional[StrictStr] = Field(default=None, alias="adminEmail", json_schema_extra={"examples": ["example string"]}) + backbone_apis_enabled: Optional[StrictBool] = Field(default=None, alias="backboneApisEnabled", json_schema_extra={"examples": [True]}) cloud_provider: Optional[StrictStr] = Field(default=None, alias="cloudProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) company_name: Optional[StrictStr] = Field(default=None, alias="companyName", json_schema_extra={"examples": ["example string"]}) credit_limit: Optional[StrictInt] = Field(default=None, alias="creditLimit", json_schema_extra={"examples": [123]}) @@ -43,7 +44,7 @@ class V1EnterprisesPatchRequest(BaseModel): proxy_tenant_id: Optional[StrictInt] = Field(default=None, alias="proxyTenantId", json_schema_extra={"examples": [1234567891011]}) small_logo: Optional[StrictStr] = Field(default=None, alias="smallLogo", json_schema_extra={"examples": ["example string"]}) token_expiry: Optional[V1EnterprisesPatchRequestTokenExpiry] = Field(default=None, alias="tokenExpiry") - __properties: ClassVar[List[str]] = ["adminEmail", "cloudProvider", "companyName", "creditLimit", "description", "enterpriseContract", "enterpriseId", "impersonationEnabled", "logo", "marketplaceId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] + __properties: ClassVar[List[str]] = ["adminEmail", "backboneApisEnabled", "cloudProvider", "companyName", "creditLimit", "description", "enterpriseContract", "enterpriseId", "impersonationEnabled", "logo", "marketplaceId", "portalBanner", "proxyTenantId", "smallLogo", "tokenExpiry"] model_config = ConfigDict( validate_by_name=True, @@ -103,6 +104,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "adminEmail": obj.get("adminEmail"), + "backboneApisEnabled": obj.get("backboneApisEnabled"), "cloudProvider": obj.get("cloudProvider"), "companyName": obj.get("companyName"), "creditLimit": obj.get("creditLimit"), diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.py index 489499cf..9fc85688 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_post_request.py @@ -29,7 +29,7 @@ class V1ExtranetB2bProducerPostRequest(BaseModel): V1ExtranetB2bProducerPostRequest """ # noqa: E501 policy: ManaV2ExtranetServiceProducerPolicy - service_name: StrictStr = Field(description=" (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_name: StrictStr = Field(description="Producer service name (letters, digits, hyphens only) (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) service_type: StrictStr = Field(description="Branded extranet service type (peering_service, client_to_server, …) (required)", alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) __properties: ClassVar[List[str]] = ["policy", "serviceName", "serviceType"] diff --git a/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.py b/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.py index 9b126a2f..be55c265 100644 --- a/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.py +++ b/graphiant_sdk/models/v1_extranet_b2b_producer_review_post_request.py @@ -29,7 +29,7 @@ class V1ExtranetB2bProducerReviewPostRequest(BaseModel): V1ExtranetB2bProducerReviewPostRequest """ # noqa: E501 policy: ManaV2ExtranetServiceProducerPolicy - service_name: StrictStr = Field(description=" (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_name: StrictStr = Field(description="Producer service name (letters, digits, hyphens only) (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) service_type: StrictStr = Field(description="Branded extranet service type (peering_service, client_to_server, …) (required)", alias="serviceType", json_schema_extra={"examples": ["ENUM_VALUE"]}) __properties: ClassVar[List[str]] = ["policy", "serviceName", "serviceType"] diff --git a/graphiant_sdk/models/v1_pvif_post_request.py b/graphiant_sdk/models/v1_pvif_post_request.py index cf365e41..2864fd98 100644 --- a/graphiant_sdk/models/v1_pvif_post_request.py +++ b/graphiant_sdk/models/v1_pvif_post_request.py @@ -38,7 +38,7 @@ class V1PvifPostRequest(BaseModel): lan_segment_id: StrictInt = Field(description="Producer LAN segment (VRF) on gateway appliances (required)", alias="lanSegmentId", json_schema_extra={"examples": [1234567891011]}) nat_prefix_strategy: ManaV2PublicVifGatewayNatPrefixStrategy = Field(alias="natPrefixStrategy") region_id: StrictInt = Field(description="Graphiant region for gateway appliances (required)", alias="regionId", json_schema_extra={"examples": [123]}) - service_name: StrictStr = Field(description="Service display name (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) + service_name: StrictStr = Field(description="Producer service name (letters, digits, hyphens only) (required)", alias="serviceName", json_schema_extra={"examples": ["example string"]}) storage_provider: StrictStr = Field(description="Storage provider; each gateway appliance must match region and provider (required)", alias="storageProvider", json_schema_extra={"examples": ["ENUM_VALUE"]}) __properties: ClassVar[List[str]] = ["advertisement", "consumerLanSegments", "coveringPrefixes", "gatewayBgpNeighbors", "lanSegmentId", "natPrefixStrategy", "regionId", "serviceName", "storageProvider"] diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_bundles_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_bundles_get_response.py new file mode 100644 index 00000000..979d1977 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_bundles_get_response.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_catalog_bundle import SdkAutomationCatalogBundle +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookBundlesGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookBundlesGetResponse + """ # noqa: E501 + bundles: Optional[List[SdkAutomationCatalogBundle]] = None + __properties: ClassVar[List[str]] = ["bundles"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookBundlesGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in bundles (list) + _items = [] + if self.bundles: + for _item_bundles in self.bundles: + if _item_bundles: + _items.append(_item_bundles.to_dict()) + _dict['bundles'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookBundlesGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bundles": [SdkAutomationCatalogBundle.from_dict(_item) for _item in obj["bundles"]] if obj.get("bundles") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_get_response.py new file mode 100644 index 00000000..54b57280 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_get_response.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse + """ # noqa: E501 + job: Optional[SdkAutomationPlaybookJob] = None + __properties: ClassVar[List[str]] = ["job"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of job + if self.job: + _dict['job'] = self.job.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "job": SdkAutomationPlaybookJob.from_dict(obj["job"]) if obj.get("job") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_post_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_post_request.py new file mode 100644 index 00000000..fb9b1d52 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_post_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest + """ # noqa: E501 + verbose_logs: Optional[StrictBool] = Field(default=None, description="When true, request ansible -vvv for this dry-run", alias="verboseLogs", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["verboseLogs"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "verboseLogs": obj.get("verboseLogs") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_post_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_post_response.py new file mode 100644 index 00000000..2dc18ada --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_dry_run_post_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="Created job id for the dry-run", alias="jobId", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, description="Initial job status after enqueue (typically QUEUED or DRY_RUNNING)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["jobId", "status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_get_response.py new file mode 100644 index 00000000..97676e2c --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_get_response.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_playbook_config import SdkAutomationPlaybookConfig +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdGetResponse + """ # noqa: E501 + config: Optional[SdkAutomationPlaybookConfig] = None + __properties: ClassVar[List[str]] = ["config"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of config + if self.config: + _dict['config'] = self.config.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "config": SdkAutomationPlaybookConfig.from_dict(obj["config"]) if obj.get("config") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_put_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_put_request.py new file mode 100644 index 00000000..a19b25e5 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_put_request.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdPutRequest(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdPutRequest + """ # noqa: E501 + description: Optional[StrictStr] = Field(default=None, description="Optional description / notes update", json_schema_extra={"examples": ["example string"]}) + files: Optional[List[SdkAutomationModuleFile]] = None + name: Optional[StrictStr] = Field(default=None, description="Optional display name update", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["description", "files", "name"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in files (list) + _items = [] + if self.files: + for _item_files in self.files: + if _item_files: + _items.append(_item_files.to_dict()) + _dict['files'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "description": obj.get("description"), + "files": [SdkAutomationModuleFile.from_dict(_item) for _item in obj["files"]] if obj.get("files") is not None else None, + "name": obj.get("name") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_put_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_put_response.py new file mode 100644 index 00000000..ff620633 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_put_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_validation_error import SdkAutomationValidationError +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdPutResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdPutResponse + """ # noqa: E501 + errors: Optional[List[SdkAutomationValidationError]] = None + is_valid: Optional[StrictBool] = Field(default=None, description="True when validation succeeded and the update was applied", alias="isValid", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["errors", "isValid"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in errors (list) + _items = [] + if self.errors: + for _item_errors in self.errors: + if _item_errors: + _items.append(_item_errors.to_dict()) + _dict['errors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "errors": [SdkAutomationValidationError.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None, + "isValid": obj.get("isValid") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_stage_put_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_stage_put_request.py new file mode 100644 index 00000000..0415297c --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_stage_put_request.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest + """ # noqa: E501 + description: Optional[StrictStr] = Field(default=None, description="Deployment notes shown in the pending-executions UI", json_schema_extra={"examples": ["example string"]}) + name: Optional[StrictStr] = Field(default=None, description="Required display name for the staged config", json_schema_extra={"examples": ["example string"]}) + __properties: ClassVar[List[str]] = ["description", "name"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "description": obj.get("description"), + "name": obj.get("name") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_stage_put_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_stage_put_response.py new file mode 100644 index 00000000..56dd0b08 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_config_id_stage_put_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, description="Config status after staging (typically STAGED)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_get_response.py new file mode 100644 index 00000000..5f0c8fd6 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_get_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.common_page_info import CommonPageInfo +from graphiant_sdk.models.sdk_automation_playbook_config_summary import SdkAutomationPlaybookConfigSummary +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsGetResponse + """ # noqa: E501 + configs: Optional[List[SdkAutomationPlaybookConfigSummary]] = None + page_info: Optional[CommonPageInfo] = Field(default=None, alias="pageInfo") + __properties: ClassVar[List[str]] = ["configs", "pageInfo"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in configs (list) + _items = [] + if self.configs: + for _item_configs in self.configs: + if _item_configs: + _items.append(_item_configs.to_dict()) + _dict['configs'] = _items + # override the default output from pydantic by calling `to_dict()` of page_info + if self.page_info: + _dict['pageInfo'] = self.page_info.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "configs": [SdkAutomationPlaybookConfigSummary.from_dict(_item) for _item in obj["configs"]] if obj.get("configs") is not None else None, + "pageInfo": CommonPageInfo.from_dict(obj["pageInfo"]) if obj.get("pageInfo") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_post_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_post_request.py new file mode 100644 index 00000000..11754458 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_post_request.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsPostRequest(BaseModel): + """ + V1SdkAutomationPlaybookConfigsPostRequest + """ # noqa: E501 + bundle_key: Optional[StrictStr] = Field(default=None, description="Catalog key from playbook_catalog_playbook (e.g. system_bundle)", alias="bundleKey", json_schema_extra={"examples": ["example string"]}) + files: Optional[List[SdkAutomationModuleFile]] = None + validate_only: Optional[StrictBool] = Field(default=None, description="When true, validate without persisting (Validate Bundle); when false, create on success", alias="validateOnly", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["bundleKey", "files", "validateOnly"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in files (list) + _items = [] + if self.files: + for _item_files in self.files: + if _item_files: + _items.append(_item_files.to_dict()) + _dict['files'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "bundleKey": obj.get("bundleKey"), + "files": [SdkAutomationModuleFile.from_dict(_item) for _item in obj["files"]] if obj.get("files") is not None else None, + "validateOnly": obj.get("validateOnly") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_configs_post_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_post_response.py new file mode 100644 index 00000000..e775aab6 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_configs_post_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_validation_error import SdkAutomationValidationError +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookConfigsPostResponse(BaseModel): + """ + V1SdkAutomationPlaybookConfigsPostResponse + """ # noqa: E501 + config_id: Optional[StrictStr] = Field(default=None, description="Created config id when validation succeeds and validate_only is false; empty otherwise", alias="configId", json_schema_extra={"examples": ["example string"]}) + errors: Optional[List[SdkAutomationValidationError]] = None + __properties: ClassVar[List[str]] = ["configId", "errors"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in errors (list) + _items = [] + if self.errors: + for _item_errors in self.errors: + if _item_errors: + _items.append(_item_errors.to_dict()) + _dict['errors'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookConfigsPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "configId": obj.get("configId"), + "errors": [SdkAutomationValidationError.from_dict(_item) for _item in obj["errors"]] if obj.get("errors") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_get_response.py new file mode 100644 index 00000000..b7bd2051 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_get_response.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.common_page_info import CommonPageInfo +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsGetResponse + """ # noqa: E501 + jobs: Optional[List[SdkAutomationPlaybookJob]] = None + page_info: Optional[CommonPageInfo] = Field(default=None, alias="pageInfo") + __properties: ClassVar[List[str]] = ["jobs", "pageInfo"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in jobs (list) + _items = [] + if self.jobs: + for _item_jobs in self.jobs: + if _item_jobs: + _items.append(_item_jobs.to_dict()) + _dict['jobs'] = _items + # override the default output from pydantic by calling `to_dict()` of page_info + if self.page_info: + _dict['pageInfo'] = self.page_info.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobs": [SdkAutomationPlaybookJob.from_dict(_item) for _item in obj["jobs"]] if obj.get("jobs") is not None else None, + "pageInfo": CommonPageInfo.from_dict(obj["pageInfo"]) if obj.get("pageInfo") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_abort_put_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_abort_put_response.py new file mode 100644 index 00000000..89c42444 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_abort_put_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdAbortPutResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdAbortPutResponse + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, description="Job status after abort (typically ABORTED)", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdAbortPutResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdAbortPutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_approve_put_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_approve_put_request.py new file mode 100644 index 00000000..8d71ca84 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_approve_put_request.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdApprovePutRequest(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdApprovePutRequest + """ # noqa: E501 + verbose_logs: Optional[StrictBool] = Field(default=None, description="When true, request ansible -vvv for the deploy phase", alias="verboseLogs", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["verboseLogs"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "verboseLogs": obj.get("verboseLogs") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_approve_put_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_approve_put_response.py new file mode 100644 index 00000000..84f6bedd --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_approve_put_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdApprovePutResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdApprovePutResponse + """ # noqa: E501 + status: Optional[StrictStr] = Field(default=None, description="Job status after approve was accepted", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdApprovePutResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_get_response.py new file mode 100644 index 00000000..74ece48b --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_get_response.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdGetResponse + """ # noqa: E501 + job: Optional[SdkAutomationPlaybookJob] = None + __properties: ClassVar[List[str]] = ["job"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of job + if self.job: + _dict['job'] = self.job.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "job": SdkAutomationPlaybookJob.from_dict(obj["job"]) if obj.get("job") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_logs_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_logs_get_response.py new file mode 100644 index 00000000..e3ff7009 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_logs_get_response.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdLogsGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdLogsGetResponse + """ # noqa: E501 + lines: Optional[List[StrictStr]] = None + __properties: ClassVar[List[str]] = ["lines"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdLogsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdLogsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "lines": obj.get("lines") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_resume_post_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_resume_post_request.py new file mode 100644 index 00000000..d2ee1d41 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_resume_post_request.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdResumePostRequest(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdResumePostRequest + """ # noqa: E501 + is_deploy: Optional[StrictBool] = Field(default=None, description="When true, resume straight into deploy; otherwise resume as a dry-run", alias="isDeploy", json_schema_extra={"examples": [True]}) + verbose_logs: Optional[StrictBool] = Field(default=None, description="When true, request ansible -vvv for the resumed phase", alias="verboseLogs", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["isDeploy", "verboseLogs"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "isDeploy": obj.get("isDeploy"), + "verboseLogs": obj.get("verboseLogs") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_resume_post_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_resume_post_response.py new file mode 100644 index 00000000..a976da7f --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_resume_post_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdResumePostResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdResumePostResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="Resumed job id", alias="jobId", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, description="Job status after resume was accepted", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["jobId", "status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdResumePostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_run_post_request.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_run_post_request.py new file mode 100644 index 00000000..1e5f15e6 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_run_post_request.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdRunPostRequest(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdRunPostRequest + """ # noqa: E501 + skip_dry_run: Optional[StrictBool] = Field(default=None, description="When true, skip dry-run and gate and deploy directly", alias="skipDryRun", json_schema_extra={"examples": [True]}) + verbose_logs: Optional[StrictBool] = Field(default=None, description="When true, request ansible -vvv for the new run", alias="verboseLogs", json_schema_extra={"examples": [True]}) + __properties: ClassVar[List[str]] = ["skipDryRun", "verboseLogs"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "skipDryRun": obj.get("skipDryRun"), + "verboseLogs": obj.get("verboseLogs") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_run_post_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_run_post_response.py new file mode 100644 index 00000000..2dce6823 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_jobs_job_id_run_post_response.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookJobsJobIdRunPostResponse(BaseModel): + """ + V1SdkAutomationPlaybookJobsJobIdRunPostResponse + """ # noqa: E501 + job_id: Optional[StrictStr] = Field(default=None, description="Newly created job id for the re-run", alias="jobId", json_schema_extra={"examples": ["example string"]}) + status: Optional[StrictStr] = Field(default=None, description="Initial status of the new job", json_schema_extra={"examples": ["ENUM_VALUE"]}) + __properties: ClassVar[List[str]] = ["jobId", "status"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookJobsJobIdRunPostResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobId": obj.get("jobId"), + "status": obj.get("status") + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_module_slots_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_module_slots_get_response.py new file mode 100644 index 00000000..5fa065b8 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_module_slots_get_response.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_catalog_module_slot import SdkAutomationCatalogModuleSlot +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookModuleSlotsGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookModuleSlotsGetResponse + """ # noqa: E501 + modules: Optional[List[SdkAutomationCatalogModuleSlot]] = None + __properties: ClassVar[List[str]] = ["modules"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookModuleSlotsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in modules (list) + _items = [] + if self.modules: + for _item_modules in self.modules: + if _item_modules: + _items.append(_item_modules.to_dict()) + _dict['modules'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookModuleSlotsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "modules": [SdkAutomationCatalogModuleSlot.from_dict(_item) for _item in obj["modules"]] if obj.get("modules") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v1_sdk_automation_playbook_templates_get_response.py b/graphiant_sdk/models/v1_sdk_automation_playbook_templates_get_response.py new file mode 100644 index 00000000..705a4883 --- /dev/null +++ b/graphiant_sdk/models/v1_sdk_automation_playbook_templates_get_response.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from graphiant_sdk.models.sdk_automation_template_file import SdkAutomationTemplateFile +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V1SdkAutomationPlaybookTemplatesGetResponse(BaseModel): + """ + V1SdkAutomationPlaybookTemplatesGetResponse + """ # noqa: E501 + collection_version: Optional[StrictStr] = Field(default=None, description="graphiant.naas collection version the files were read from", alias="collectionVersion", json_schema_extra={"examples": ["example string"]}) + files: Optional[List[SdkAutomationTemplateFile]] = None + __properties: ClassVar[List[str]] = ["collectionVersion", "files"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookTemplatesGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in files (list) + _items = [] + if self.files: + for _item_files in self.files: + if _item_files: + _items.append(_item_files.to_dict()) + _dict['files'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V1SdkAutomationPlaybookTemplatesGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "collectionVersion": obj.get("collectionVersion"), + "files": [SdkAutomationTemplateFile.from_dict(_item) for _item in obj["files"]] if obj.get("files") is not None else None + }) + return _obj + + diff --git a/graphiant_sdk/models/v2_monitoring_fec_stats_get_response.py b/graphiant_sdk/models/v2_monitoring_fec_stats_get_response.py new file mode 100644 index 00000000..8ec9faf3 --- /dev/null +++ b/graphiant_sdk/models/v2_monitoring_fec_stats_get_response.py @@ -0,0 +1,116 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from graphiant_sdk.models.statsmon_v2_fec_rx_repair_level import StatsmonV2FecRxRepairLevel +from graphiant_sdk.models.statsmon_v2_fec_rx_stats import StatsmonV2FecRxStats +from graphiant_sdk.models.statsmon_v2_fec_tx_repair_level import StatsmonV2FecTxRepairLevel +from graphiant_sdk.models.statsmon_v2_fec_tx_stats import StatsmonV2FecTxStats +from typing import Optional, Set +from typing_extensions import Self +from pydantic_core import to_jsonable_python + +class V2MonitoringFecStatsGetResponse(BaseModel): + """ + V2MonitoringFecStatsGetResponse + """ # noqa: E501 + current_repair_level: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="currentRepairLevel", json_schema_extra={"examples": [12.34]}) + effective_qoe: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="effectiveQoe", json_schema_extra={"examples": [12.34]}) + rx_repair_level_histogram: Optional[StatsmonV2FecRxRepairLevel] = Field(default=None, alias="rxRepairLevelHistogram") + rx_stats: Optional[StatsmonV2FecRxStats] = Field(default=None, alias="rxStats") + tx_repair_level_histogram: Optional[StatsmonV2FecTxRepairLevel] = Field(default=None, alias="txRepairLevelHistogram") + tx_stats: Optional[StatsmonV2FecTxStats] = Field(default=None, alias="txStats") + unrepairable_rate: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, alias="unrepairableRate", json_schema_extra={"examples": [12.34]}) + __properties: ClassVar[List[str]] = ["currentRepairLevel", "effectiveQoe", "rxRepairLevelHistogram", "rxStats", "txRepairLevelHistogram", "txStats", "unrepairableRate"] + + model_config = ConfigDict( + validate_by_name=True, + validate_by_alias=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(to_jsonable_python(self.to_dict())) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of V2MonitoringFecStatsGetResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of rx_repair_level_histogram + if self.rx_repair_level_histogram: + _dict['rxRepairLevelHistogram'] = self.rx_repair_level_histogram.to_dict() + # override the default output from pydantic by calling `to_dict()` of rx_stats + if self.rx_stats: + _dict['rxStats'] = self.rx_stats.to_dict() + # override the default output from pydantic by calling `to_dict()` of tx_repair_level_histogram + if self.tx_repair_level_histogram: + _dict['txRepairLevelHistogram'] = self.tx_repair_level_histogram.to_dict() + # override the default output from pydantic by calling `to_dict()` of tx_stats + if self.tx_stats: + _dict['txStats'] = self.tx_stats.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of V2MonitoringFecStatsGetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "currentRepairLevel": obj.get("currentRepairLevel"), + "effectiveQoe": obj.get("effectiveQoe"), + "rxRepairLevelHistogram": StatsmonV2FecRxRepairLevel.from_dict(obj["rxRepairLevelHistogram"]) if obj.get("rxRepairLevelHistogram") is not None else None, + "rxStats": StatsmonV2FecRxStats.from_dict(obj["rxStats"]) if obj.get("rxStats") is not None else None, + "txRepairLevelHistogram": StatsmonV2FecTxRepairLevel.from_dict(obj["txRepairLevelHistogram"]) if obj.get("txRepairLevelHistogram") is not None else None, + "txStats": StatsmonV2FecTxStats.from_dict(obj["txStats"]) if obj.get("txStats") is not None else None, + "unrepairableRate": obj.get("unrepairableRate") + }) + return _obj + + diff --git a/pyproject.toml b/pyproject.toml index 3bbdd925..b4d61dc0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "graphiant_sdk" -version = "26.8.0" +version = "26.9.0" description = "Graphiant APIs" authors = [ {name = "OpenAPI Generator Community",email = "team@openapitools.org"}, diff --git a/setup.py b/setup.py index c15efa63..26d5d195 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "graphiant_sdk" -VERSION = "26.8.0" +VERSION = "26.9.0" PYTHON_REQUIRES = ">= 3.10" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_sdk_automation_catalog_bundle.py b/test/test_sdk_automation_catalog_bundle.py new file mode 100644 index 00000000..93abd01a --- /dev/null +++ b/test/test_sdk_automation_catalog_bundle.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_catalog_bundle import SdkAutomationCatalogBundle + +class TestSdkAutomationCatalogBundle(unittest.TestCase): + """SdkAutomationCatalogBundle unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationCatalogBundle: + """Test SdkAutomationCatalogBundle + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationCatalogBundle` + """ + model = SdkAutomationCatalogBundle() + if include_optional: + return SdkAutomationCatalogBundle( + description = 'example string', + key = 'example string', + name = 'example string' + ) + else: + return SdkAutomationCatalogBundle( + ) + """ + + def testSdkAutomationCatalogBundle(self): + """Test SdkAutomationCatalogBundle""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_catalog_module_slot.py b/test/test_sdk_automation_catalog_module_slot.py new file mode 100644 index 00000000..41b76157 --- /dev/null +++ b/test/test_sdk_automation_catalog_module_slot.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_catalog_module_slot import SdkAutomationCatalogModuleSlot + +class TestSdkAutomationCatalogModuleSlot(unittest.TestCase): + """SdkAutomationCatalogModuleSlot unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationCatalogModuleSlot: + """Test SdkAutomationCatalogModuleSlot + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationCatalogModuleSlot` + """ + model = SdkAutomationCatalogModuleSlot() + if include_optional: + return SdkAutomationCatalogModuleSlot( + bundle_key = 'example string', + description = 'example string', + file_distinguisher = 'example string', + is_required = True, + module_key = 'example string', + name = 'example string' + ) + else: + return SdkAutomationCatalogModuleSlot( + ) + """ + + def testSdkAutomationCatalogModuleSlot(self): + """Test SdkAutomationCatalogModuleSlot""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_module_file.py b/test/test_sdk_automation_module_file.py new file mode 100644 index 00000000..480fc50e --- /dev/null +++ b/test/test_sdk_automation_module_file.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_module_file import SdkAutomationModuleFile + +class TestSdkAutomationModuleFile(unittest.TestCase): + """SdkAutomationModuleFile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationModuleFile: + """Test SdkAutomationModuleFile + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationModuleFile` + """ + model = SdkAutomationModuleFile() + if include_optional: + return SdkAutomationModuleFile( + content = 'example string', + filename = 'example string', + module_key = 'example string' + ) + else: + return SdkAutomationModuleFile( + ) + """ + + def testSdkAutomationModuleFile(self): + """Test SdkAutomationModuleFile""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_playbook_config.py b/test/test_sdk_automation_playbook_config.py new file mode 100644 index 00000000..554160d2 --- /dev/null +++ b/test/test_sdk_automation_playbook_config.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_playbook_config import SdkAutomationPlaybookConfig + +class TestSdkAutomationPlaybookConfig(unittest.TestCase): + """SdkAutomationPlaybookConfig unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationPlaybookConfig: + """Test SdkAutomationPlaybookConfig + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationPlaybookConfig` + """ + model = SdkAutomationPlaybookConfig() + if include_optional: + return SdkAutomationPlaybookConfig( + bundle_key = 'example string', + config_id = 'example string', + created_by_user_id = 'example string', + description = 'example string', + files = [ + graphiant_sdk.models.sdk_automation_module_file.sdkAutomationModuleFile( + content = 'example string', + filename = 'example string', + module_key = 'example string', ) + ], + name = 'example string', + status = 'ENUM_VALUE' + ) + else: + return SdkAutomationPlaybookConfig( + ) + """ + + def testSdkAutomationPlaybookConfig(self): + """Test SdkAutomationPlaybookConfig""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_playbook_config_summary.py b/test/test_sdk_automation_playbook_config_summary.py new file mode 100644 index 00000000..d1ac838a --- /dev/null +++ b/test/test_sdk_automation_playbook_config_summary.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_playbook_config_summary import SdkAutomationPlaybookConfigSummary + +class TestSdkAutomationPlaybookConfigSummary(unittest.TestCase): + """SdkAutomationPlaybookConfigSummary unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationPlaybookConfigSummary: + """Test SdkAutomationPlaybookConfigSummary + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationPlaybookConfigSummary` + """ + model = SdkAutomationPlaybookConfigSummary() + if include_optional: + return SdkAutomationPlaybookConfigSummary( + config_id = 'example string', + created_by_user_id = 'example string', + job_status = 'ENUM_VALUE', + name = 'example string', + run_id = 'example string', + run_number = 123, + started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + started_by_user_id = 'example string', + status = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ) + ) + else: + return SdkAutomationPlaybookConfigSummary( + ) + """ + + def testSdkAutomationPlaybookConfigSummary(self): + """Test SdkAutomationPlaybookConfigSummary""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_playbook_job.py b/test/test_sdk_automation_playbook_job.py new file mode 100644 index 00000000..7c9aae59 --- /dev/null +++ b/test/test_sdk_automation_playbook_job.py @@ -0,0 +1,82 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_playbook_job import SdkAutomationPlaybookJob + +class TestSdkAutomationPlaybookJob(unittest.TestCase): + """SdkAutomationPlaybookJob unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationPlaybookJob: + """Test SdkAutomationPlaybookJob + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationPlaybookJob` + """ + model = SdkAutomationPlaybookJob() + if include_optional: + return SdkAutomationPlaybookJob( + collection_version = 'example string', + config_description = 'example string', + config_id = 'example string', + config_name = 'example string', + deploy_ended_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + deploy_started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + dry_run_ended_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + dry_run_started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + failed_phase = 'ENUM_VALUE', + job_id = 'example string', + logs_available = True, + post_deploy_check_started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + run_duration_ms = 1234567891011, + run_ended_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + run_number = 123, + runner_job_id = 'example string', + sdk_version = 'example string', + started_by_user_id = 'example string', + status = 'ENUM_VALUE', + verbose_logs = True + ) + else: + return SdkAutomationPlaybookJob( + ) + """ + + def testSdkAutomationPlaybookJob(self): + """Test SdkAutomationPlaybookJob""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_template_file.py b/test/test_sdk_automation_template_file.py new file mode 100644 index 00000000..8316f449 --- /dev/null +++ b/test/test_sdk_automation_template_file.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_template_file import SdkAutomationTemplateFile + +class TestSdkAutomationTemplateFile(unittest.TestCase): + """SdkAutomationTemplateFile unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationTemplateFile: + """Test SdkAutomationTemplateFile + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationTemplateFile` + """ + model = SdkAutomationTemplateFile() + if include_optional: + return SdkAutomationTemplateFile( + content = 'example string', + filename = 'example string', + module_key = 'example string', + source_path = 'example string' + ) + else: + return SdkAutomationTemplateFile( + ) + """ + + def testSdkAutomationTemplateFile(self): + """Test SdkAutomationTemplateFile""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_sdk_automation_validation_error.py b/test/test_sdk_automation_validation_error.py new file mode 100644 index 00000000..c7ea70ef --- /dev/null +++ b/test/test_sdk_automation_validation_error.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.sdk_automation_validation_error import SdkAutomationValidationError + +class TestSdkAutomationValidationError(unittest.TestCase): + """SdkAutomationValidationError unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SdkAutomationValidationError: + """Test SdkAutomationValidationError + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `SdkAutomationValidationError` + """ + model = SdkAutomationValidationError() + if include_optional: + return SdkAutomationValidationError( + message = 'example string', + module_key = 'example string', + type = 'ENUM_VALUE' + ) + else: + return SdkAutomationValidationError( + ) + """ + + def testSdkAutomationValidationError(self): + """Test SdkAutomationValidationError""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_statsmon_v2_fec_rx_repair_level.py b/test/test_statsmon_v2_fec_rx_repair_level.py new file mode 100644 index 00000000..9b319bd2 --- /dev/null +++ b/test/test_statsmon_v2_fec_rx_repair_level.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.statsmon_v2_fec_rx_repair_level import StatsmonV2FecRxRepairLevel + +class TestStatsmonV2FecRxRepairLevel(unittest.TestCase): + """StatsmonV2FecRxRepairLevel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StatsmonV2FecRxRepairLevel: + """Test StatsmonV2FecRxRepairLevel + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `StatsmonV2FecRxRepairLevel` + """ + model = StatsmonV2FecRxRepairLevel() + if include_optional: + return StatsmonV2FecRxRepairLevel( + repair_level = [ + graphiant_sdk.models.statsmon_v2_repair_level.statsmonV2RepairLevel( + sample = graphiant_sdk.models.statsmon_v2_stats_sample.statsmonV2StatsSample( + status = 'ENUM_VALUE', + ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + value = 123.45, ), + score = graphiant_sdk.models.statsmon_v2_repair_level_score.statsmonV2RepairLevelScore( + jitter = 12.34, + latency = 12.34, + loss = 12.34, ), ) + ] + ) + else: + return StatsmonV2FecRxRepairLevel( + ) + """ + + def testStatsmonV2FecRxRepairLevel(self): + """Test StatsmonV2FecRxRepairLevel""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_statsmon_v2_fec_rx_stats.py b/test/test_statsmon_v2_fec_rx_stats.py new file mode 100644 index 00000000..04067249 --- /dev/null +++ b/test/test_statsmon_v2_fec_rx_stats.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.statsmon_v2_fec_rx_stats import StatsmonV2FecRxStats + +class TestStatsmonV2FecRxStats(unittest.TestCase): + """StatsmonV2FecRxStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StatsmonV2FecRxStats: + """Test StatsmonV2FecRxStats + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `StatsmonV2FecRxStats` + """ + model = StatsmonV2FecRxStats() + if include_optional: + return StatsmonV2FecRxStats( + erasure_recovered_packets = 12345678910, + erasure_unrepairable_packets = 12345678910, + repair_level = 12.34, + repair_packets = 12345678910 + ) + else: + return StatsmonV2FecRxStats( + ) + """ + + def testStatsmonV2FecRxStats(self): + """Test StatsmonV2FecRxStats""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_statsmon_v2_fec_tx_repair_level.py b/test/test_statsmon_v2_fec_tx_repair_level.py new file mode 100644 index 00000000..06cce509 --- /dev/null +++ b/test/test_statsmon_v2_fec_tx_repair_level.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.statsmon_v2_fec_tx_repair_level import StatsmonV2FecTxRepairLevel + +class TestStatsmonV2FecTxRepairLevel(unittest.TestCase): + """StatsmonV2FecTxRepairLevel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StatsmonV2FecTxRepairLevel: + """Test StatsmonV2FecTxRepairLevel + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `StatsmonV2FecTxRepairLevel` + """ + model = StatsmonV2FecTxRepairLevel() + if include_optional: + return StatsmonV2FecTxRepairLevel( + repair_level = [ + graphiant_sdk.models.statsmon_v2_repair_level.statsmonV2RepairLevel( + sample = graphiant_sdk.models.statsmon_v2_stats_sample.statsmonV2StatsSample( + status = 'ENUM_VALUE', + ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + value = 123.45, ), + score = graphiant_sdk.models.statsmon_v2_repair_level_score.statsmonV2RepairLevelScore( + jitter = 12.34, + latency = 12.34, + loss = 12.34, ), ) + ] + ) + else: + return StatsmonV2FecTxRepairLevel( + ) + """ + + def testStatsmonV2FecTxRepairLevel(self): + """Test StatsmonV2FecTxRepairLevel""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_statsmon_v2_fec_tx_stats.py b/test/test_statsmon_v2_fec_tx_stats.py new file mode 100644 index 00000000..9814d4a0 --- /dev/null +++ b/test/test_statsmon_v2_fec_tx_stats.py @@ -0,0 +1,54 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.statsmon_v2_fec_tx_stats import StatsmonV2FecTxStats + +class TestStatsmonV2FecTxStats(unittest.TestCase): + """StatsmonV2FecTxStats unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StatsmonV2FecTxStats: + """Test StatsmonV2FecTxStats + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `StatsmonV2FecTxStats` + """ + model = StatsmonV2FecTxStats() + if include_optional: + return StatsmonV2FecTxStats( + protected_packets = 12345678910, + repair_level = 12.34, + sent_repair_packets = 12345678910, + unprotected_packets = 12345678910 + ) + else: + return StatsmonV2FecTxStats( + ) + """ + + def testStatsmonV2FecTxStats(self): + """Test StatsmonV2FecTxStats""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_statsmon_v2_repair_level.py b/test/test_statsmon_v2_repair_level.py new file mode 100644 index 00000000..0b2e0ded --- /dev/null +++ b/test/test_statsmon_v2_repair_level.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.statsmon_v2_repair_level import StatsmonV2RepairLevel + +class TestStatsmonV2RepairLevel(unittest.TestCase): + """StatsmonV2RepairLevel unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StatsmonV2RepairLevel: + """Test StatsmonV2RepairLevel + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `StatsmonV2RepairLevel` + """ + model = StatsmonV2RepairLevel() + if include_optional: + return StatsmonV2RepairLevel( + sample = graphiant_sdk.models.statsmon_v2_stats_sample.statsmonV2StatsSample( + status = 'ENUM_VALUE', + ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + value = 123.45, ), + score = graphiant_sdk.models.statsmon_v2_repair_level_score.statsmonV2RepairLevelScore( + jitter = 12.34, + latency = 12.34, + loss = 12.34, ) + ) + else: + return StatsmonV2RepairLevel( + ) + """ + + def testStatsmonV2RepairLevel(self): + """Test StatsmonV2RepairLevel""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_statsmon_v2_repair_level_score.py b/test/test_statsmon_v2_repair_level_score.py new file mode 100644 index 00000000..edd751f9 --- /dev/null +++ b/test/test_statsmon_v2_repair_level_score.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.statsmon_v2_repair_level_score import StatsmonV2RepairLevelScore + +class TestStatsmonV2RepairLevelScore(unittest.TestCase): + """StatsmonV2RepairLevelScore unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StatsmonV2RepairLevelScore: + """Test StatsmonV2RepairLevelScore + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `StatsmonV2RepairLevelScore` + """ + model = StatsmonV2RepairLevelScore() + if include_optional: + return StatsmonV2RepairLevelScore( + jitter = 12.34, + latency = 12.34, + loss = 12.34 + ) + else: + return StatsmonV2RepairLevelScore( + ) + """ + + def testStatsmonV2RepairLevelScore(self): + """Test StatsmonV2RepairLevelScore""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_bundles_get_response.py b/test/test_v1_sdk_automation_playbook_bundles_get_response.py new file mode 100644 index 00000000..f39a696a --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_bundles_get_response.py @@ -0,0 +1,56 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_bundles_get_response import V1SdkAutomationPlaybookBundlesGetResponse + +class TestV1SdkAutomationPlaybookBundlesGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookBundlesGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookBundlesGetResponse: + """Test V1SdkAutomationPlaybookBundlesGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookBundlesGetResponse` + """ + model = V1SdkAutomationPlaybookBundlesGetResponse() + if include_optional: + return V1SdkAutomationPlaybookBundlesGetResponse( + bundles = [ + graphiant_sdk.models.sdk_automation_catalog_bundle.sdkAutomationCatalogBundle( + description = 'example string', + key = 'example string', + name = 'example string', ) + ] + ) + else: + return V1SdkAutomationPlaybookBundlesGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookBundlesGetResponse(self): + """Test V1SdkAutomationPlaybookBundlesGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_get_response.py b/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_get_response.py new file mode 100644 index 00000000..3c252a02 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_get_response.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_get_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse + +class TestV1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse: + """Test V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse( + job = graphiant_sdk.models.sdk_automation_playbook_job.sdkAutomationPlaybookJob( + collection_version = 'example string', + config_description = 'example string', + config_id = 'example string', + config_name = 'example string', + deploy_ended_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + deploy_started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + dry_run_ended_at = , + dry_run_started_at = , + failed_phase = 'ENUM_VALUE', + job_id = 'example string', + logs_available = True, + post_deploy_check_started_at = , + run_duration_ms = 1234567891011, + run_ended_at = , + run_number = 123, + runner_job_id = 'example string', + sdk_version = 'example string', + started_by_user_id = 'example string', + status = 'ENUM_VALUE', + verbose_logs = True, ) + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdDryRunGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_post_request.py b/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_post_request.py new file mode 100644 index 00000000..400efb6a --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_post_request.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_request import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest + +class TestV1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest: + """Test V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest( + verbose_logs = True + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdDryRunPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_post_response.py b/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_post_response.py new file mode 100644 index 00000000..e36a3061 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_dry_run_post_response.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_dry_run_post_response import V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse + +class TestV1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse: + """Test V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse( + job_id = 'example string', + status = 'ENUM_VALUE' + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdDryRunPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_get_response.py b/test/test_v1_sdk_automation_playbook_configs_config_id_get_response.py new file mode 100644 index 00000000..e25c9e0a --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_get_response.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_get_response import V1SdkAutomationPlaybookConfigsConfigIdGetResponse + +class TestV1SdkAutomationPlaybookConfigsConfigIdGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdGetResponse: + """Test V1SdkAutomationPlaybookConfigsConfigIdGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdGetResponse` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdGetResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdGetResponse( + config = graphiant_sdk.models.sdk_automation_playbook_config.sdkAutomationPlaybookConfig( + bundle_key = 'example string', + config_id = 'example string', + created_by_user_id = 'example string', + description = 'example string', + files = [ + graphiant_sdk.models.sdk_automation_module_file.sdkAutomationModuleFile( + content = 'example string', + filename = 'example string', + module_key = 'example string', ) + ], + name = 'example string', + status = 'ENUM_VALUE', ) + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdGetResponse(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_put_request.py b/test/test_v1_sdk_automation_playbook_configs_config_id_put_request.py new file mode 100644 index 00000000..6b1c6594 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_put_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_request import V1SdkAutomationPlaybookConfigsConfigIdPutRequest + +class TestV1SdkAutomationPlaybookConfigsConfigIdPutRequest(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdPutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdPutRequest: + """Test V1SdkAutomationPlaybookConfigsConfigIdPutRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdPutRequest` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdPutRequest() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdPutRequest( + description = 'example string', + files = [ + graphiant_sdk.models.sdk_automation_module_file.sdkAutomationModuleFile( + content = 'example string', + filename = 'example string', + module_key = 'example string', ) + ], + name = 'example string' + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdPutRequest( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdPutRequest(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdPutRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_put_response.py b/test/test_v1_sdk_automation_playbook_configs_config_id_put_response.py new file mode 100644 index 00000000..a668ec67 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_put_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_put_response import V1SdkAutomationPlaybookConfigsConfigIdPutResponse + +class TestV1SdkAutomationPlaybookConfigsConfigIdPutResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdPutResponse: + """Test V1SdkAutomationPlaybookConfigsConfigIdPutResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdPutResponse` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdPutResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdPutResponse( + errors = [ + graphiant_sdk.models.sdk_automation_validation_error.sdkAutomationValidationError( + message = 'example string', + module_key = 'example string', + type = 'ENUM_VALUE', ) + ], + is_valid = True + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdPutResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdPutResponse(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdPutResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_stage_put_request.py b/test/test_v1_sdk_automation_playbook_configs_config_id_stage_put_request.py new file mode 100644 index 00000000..2f3abf82 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_stage_put_request.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_request import V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest + +class TestV1SdkAutomationPlaybookConfigsConfigIdStagePutRequest(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest: + """Test V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest( + description = 'example string', + name = 'example string' + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdStagePutRequest(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdStagePutRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_config_id_stage_put_response.py b/test/test_v1_sdk_automation_playbook_configs_config_id_stage_put_response.py new file mode 100644 index 00000000..516b447b --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_config_id_stage_put_response.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_config_id_stage_put_response import V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse + +class TestV1SdkAutomationPlaybookConfigsConfigIdStagePutResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse: + """Test V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse` + """ + model = V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse( + status = 'ENUM_VALUE' + ) + else: + return V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsConfigIdStagePutResponse(self): + """Test V1SdkAutomationPlaybookConfigsConfigIdStagePutResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_get_response.py b/test/test_v1_sdk_automation_playbook_configs_get_response.py new file mode 100644 index 00000000..6c662e32 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_get_response.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_get_response import V1SdkAutomationPlaybookConfigsGetResponse + +class TestV1SdkAutomationPlaybookConfigsGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsGetResponse: + """Test V1SdkAutomationPlaybookConfigsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsGetResponse` + """ + model = V1SdkAutomationPlaybookConfigsGetResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsGetResponse( + configs = [ + graphiant_sdk.models.sdk_automation_playbook_config_summary.sdkAutomationPlaybookConfigSummary( + config_id = 'example string', + created_by_user_id = 'example string', + job_status = 'ENUM_VALUE', + name = 'example string', + run_id = 'example string', + run_number = 123, + started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + started_by_user_id = 'example string', + status = 'ENUM_VALUE', + updated_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), ) + ], + page_info = graphiant_sdk.models.common_page_info.commonPageInfo( + current_page = 1, + end_cursor = 'xxxxxxy', + has_next_page = True, + has_prev_page = True, + start_cursor = 'xxxxxx', + total_pages = 4, + total_records = 400, ) + ) + else: + return V1SdkAutomationPlaybookConfigsGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsGetResponse(self): + """Test V1SdkAutomationPlaybookConfigsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_post_request.py b/test/test_v1_sdk_automation_playbook_configs_post_request.py new file mode 100644 index 00000000..58416a0b --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_post_request.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_request import V1SdkAutomationPlaybookConfigsPostRequest + +class TestV1SdkAutomationPlaybookConfigsPostRequest(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsPostRequest: + """Test V1SdkAutomationPlaybookConfigsPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsPostRequest` + """ + model = V1SdkAutomationPlaybookConfigsPostRequest() + if include_optional: + return V1SdkAutomationPlaybookConfigsPostRequest( + bundle_key = 'example string', + files = [ + graphiant_sdk.models.sdk_automation_module_file.sdkAutomationModuleFile( + content = 'example string', + filename = 'example string', + module_key = 'example string', ) + ], + validate_only = True + ) + else: + return V1SdkAutomationPlaybookConfigsPostRequest( + ) + """ + + def testV1SdkAutomationPlaybookConfigsPostRequest(self): + """Test V1SdkAutomationPlaybookConfigsPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_configs_post_response.py b/test/test_v1_sdk_automation_playbook_configs_post_response.py new file mode 100644 index 00000000..004c44da --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_configs_post_response.py @@ -0,0 +1,57 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_configs_post_response import V1SdkAutomationPlaybookConfigsPostResponse + +class TestV1SdkAutomationPlaybookConfigsPostResponse(unittest.TestCase): + """V1SdkAutomationPlaybookConfigsPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookConfigsPostResponse: + """Test V1SdkAutomationPlaybookConfigsPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookConfigsPostResponse` + """ + model = V1SdkAutomationPlaybookConfigsPostResponse() + if include_optional: + return V1SdkAutomationPlaybookConfigsPostResponse( + config_id = 'example string', + errors = [ + graphiant_sdk.models.sdk_automation_validation_error.sdkAutomationValidationError( + message = 'example string', + module_key = 'example string', + type = 'ENUM_VALUE', ) + ] + ) + else: + return V1SdkAutomationPlaybookConfigsPostResponse( + ) + """ + + def testV1SdkAutomationPlaybookConfigsPostResponse(self): + """Test V1SdkAutomationPlaybookConfigsPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_get_response.py b/test/test_v1_sdk_automation_playbook_jobs_get_response.py new file mode 100644 index 00000000..47b563a1 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_get_response.py @@ -0,0 +1,85 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_get_response import V1SdkAutomationPlaybookJobsGetResponse + +class TestV1SdkAutomationPlaybookJobsGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsGetResponse: + """Test V1SdkAutomationPlaybookJobsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsGetResponse` + """ + model = V1SdkAutomationPlaybookJobsGetResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsGetResponse( + jobs = [ + graphiant_sdk.models.sdk_automation_playbook_job.sdkAutomationPlaybookJob( + collection_version = 'example string', + config_description = 'example string', + config_id = 'example string', + config_name = 'example string', + deploy_ended_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + deploy_started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + dry_run_ended_at = , + dry_run_started_at = , + failed_phase = 'ENUM_VALUE', + job_id = 'example string', + logs_available = True, + post_deploy_check_started_at = , + run_duration_ms = 1234567891011, + run_ended_at = , + run_number = 123, + runner_job_id = 'example string', + sdk_version = 'example string', + started_by_user_id = 'example string', + status = 'ENUM_VALUE', + verbose_logs = True, ) + ], + page_info = graphiant_sdk.models.common_page_info.commonPageInfo( + current_page = 1, + end_cursor = 'xxxxxxy', + has_next_page = True, + has_prev_page = True, + start_cursor = 'xxxxxx', + total_pages = 4, + total_records = 400, ) + ) + else: + return V1SdkAutomationPlaybookJobsGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsGetResponse(self): + """Test V1SdkAutomationPlaybookJobsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_abort_put_response.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_abort_put_response.py new file mode 100644 index 00000000..95b656ec --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_abort_put_response.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_abort_put_response import V1SdkAutomationPlaybookJobsJobIdAbortPutResponse + +class TestV1SdkAutomationPlaybookJobsJobIdAbortPutResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdAbortPutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdAbortPutResponse: + """Test V1SdkAutomationPlaybookJobsJobIdAbortPutResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdAbortPutResponse` + """ + model = V1SdkAutomationPlaybookJobsJobIdAbortPutResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdAbortPutResponse( + status = 'ENUM_VALUE' + ) + else: + return V1SdkAutomationPlaybookJobsJobIdAbortPutResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdAbortPutResponse(self): + """Test V1SdkAutomationPlaybookJobsJobIdAbortPutResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_approve_put_request.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_approve_put_request.py new file mode 100644 index 00000000..4d01e42c --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_approve_put_request.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_request import V1SdkAutomationPlaybookJobsJobIdApprovePutRequest + +class TestV1SdkAutomationPlaybookJobsJobIdApprovePutRequest(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdApprovePutRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdApprovePutRequest: + """Test V1SdkAutomationPlaybookJobsJobIdApprovePutRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdApprovePutRequest` + """ + model = V1SdkAutomationPlaybookJobsJobIdApprovePutRequest() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdApprovePutRequest( + verbose_logs = True + ) + else: + return V1SdkAutomationPlaybookJobsJobIdApprovePutRequest( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdApprovePutRequest(self): + """Test V1SdkAutomationPlaybookJobsJobIdApprovePutRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_approve_put_response.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_approve_put_response.py new file mode 100644 index 00000000..ac0bfbf7 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_approve_put_response.py @@ -0,0 +1,51 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_approve_put_response import V1SdkAutomationPlaybookJobsJobIdApprovePutResponse + +class TestV1SdkAutomationPlaybookJobsJobIdApprovePutResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdApprovePutResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdApprovePutResponse: + """Test V1SdkAutomationPlaybookJobsJobIdApprovePutResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdApprovePutResponse` + """ + model = V1SdkAutomationPlaybookJobsJobIdApprovePutResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdApprovePutResponse( + status = 'ENUM_VALUE' + ) + else: + return V1SdkAutomationPlaybookJobsJobIdApprovePutResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdApprovePutResponse(self): + """Test V1SdkAutomationPlaybookJobsJobIdApprovePutResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_get_response.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_get_response.py new file mode 100644 index 00000000..d6f76d09 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_get_response.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_get_response import V1SdkAutomationPlaybookJobsJobIdGetResponse + +class TestV1SdkAutomationPlaybookJobsJobIdGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdGetResponse: + """Test V1SdkAutomationPlaybookJobsJobIdGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdGetResponse` + """ + model = V1SdkAutomationPlaybookJobsJobIdGetResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdGetResponse( + job = graphiant_sdk.models.sdk_automation_playbook_job.sdkAutomationPlaybookJob( + collection_version = 'example string', + config_description = 'example string', + config_id = 'example string', + config_name = 'example string', + deploy_ended_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + deploy_started_at = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + dry_run_ended_at = , + dry_run_started_at = , + failed_phase = 'ENUM_VALUE', + job_id = 'example string', + logs_available = True, + post_deploy_check_started_at = , + run_duration_ms = 1234567891011, + run_ended_at = , + run_number = 123, + runner_job_id = 'example string', + sdk_version = 'example string', + started_by_user_id = 'example string', + status = 'ENUM_VALUE', + verbose_logs = True, ) + ) + else: + return V1SdkAutomationPlaybookJobsJobIdGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdGetResponse(self): + """Test V1SdkAutomationPlaybookJobsJobIdGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_logs_get_response.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_logs_get_response.py new file mode 100644 index 00000000..55b6e980 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_logs_get_response.py @@ -0,0 +1,53 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_logs_get_response import V1SdkAutomationPlaybookJobsJobIdLogsGetResponse + +class TestV1SdkAutomationPlaybookJobsJobIdLogsGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdLogsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdLogsGetResponse: + """Test V1SdkAutomationPlaybookJobsJobIdLogsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdLogsGetResponse` + """ + model = V1SdkAutomationPlaybookJobsJobIdLogsGetResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdLogsGetResponse( + lines = [ + 'example string' + ] + ) + else: + return V1SdkAutomationPlaybookJobsJobIdLogsGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdLogsGetResponse(self): + """Test V1SdkAutomationPlaybookJobsJobIdLogsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_resume_post_request.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_resume_post_request.py new file mode 100644 index 00000000..9a357967 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_resume_post_request.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_request import V1SdkAutomationPlaybookJobsJobIdResumePostRequest + +class TestV1SdkAutomationPlaybookJobsJobIdResumePostRequest(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdResumePostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdResumePostRequest: + """Test V1SdkAutomationPlaybookJobsJobIdResumePostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdResumePostRequest` + """ + model = V1SdkAutomationPlaybookJobsJobIdResumePostRequest() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdResumePostRequest( + is_deploy = True, + verbose_logs = True + ) + else: + return V1SdkAutomationPlaybookJobsJobIdResumePostRequest( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdResumePostRequest(self): + """Test V1SdkAutomationPlaybookJobsJobIdResumePostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_resume_post_response.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_resume_post_response.py new file mode 100644 index 00000000..44955e9d --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_resume_post_response.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_resume_post_response import V1SdkAutomationPlaybookJobsJobIdResumePostResponse + +class TestV1SdkAutomationPlaybookJobsJobIdResumePostResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdResumePostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdResumePostResponse: + """Test V1SdkAutomationPlaybookJobsJobIdResumePostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdResumePostResponse` + """ + model = V1SdkAutomationPlaybookJobsJobIdResumePostResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdResumePostResponse( + job_id = 'example string', + status = 'ENUM_VALUE' + ) + else: + return V1SdkAutomationPlaybookJobsJobIdResumePostResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdResumePostResponse(self): + """Test V1SdkAutomationPlaybookJobsJobIdResumePostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_run_post_request.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_run_post_request.py new file mode 100644 index 00000000..12cffc65 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_run_post_request.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_request import V1SdkAutomationPlaybookJobsJobIdRunPostRequest + +class TestV1SdkAutomationPlaybookJobsJobIdRunPostRequest(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdRunPostRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdRunPostRequest: + """Test V1SdkAutomationPlaybookJobsJobIdRunPostRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdRunPostRequest` + """ + model = V1SdkAutomationPlaybookJobsJobIdRunPostRequest() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdRunPostRequest( + skip_dry_run = True, + verbose_logs = True + ) + else: + return V1SdkAutomationPlaybookJobsJobIdRunPostRequest( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdRunPostRequest(self): + """Test V1SdkAutomationPlaybookJobsJobIdRunPostRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_jobs_job_id_run_post_response.py b/test/test_v1_sdk_automation_playbook_jobs_job_id_run_post_response.py new file mode 100644 index 00000000..066c9cb7 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_jobs_job_id_run_post_response.py @@ -0,0 +1,52 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_jobs_job_id_run_post_response import V1SdkAutomationPlaybookJobsJobIdRunPostResponse + +class TestV1SdkAutomationPlaybookJobsJobIdRunPostResponse(unittest.TestCase): + """V1SdkAutomationPlaybookJobsJobIdRunPostResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookJobsJobIdRunPostResponse: + """Test V1SdkAutomationPlaybookJobsJobIdRunPostResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookJobsJobIdRunPostResponse` + """ + model = V1SdkAutomationPlaybookJobsJobIdRunPostResponse() + if include_optional: + return V1SdkAutomationPlaybookJobsJobIdRunPostResponse( + job_id = 'example string', + status = 'ENUM_VALUE' + ) + else: + return V1SdkAutomationPlaybookJobsJobIdRunPostResponse( + ) + """ + + def testV1SdkAutomationPlaybookJobsJobIdRunPostResponse(self): + """Test V1SdkAutomationPlaybookJobsJobIdRunPostResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_module_slots_get_response.py b/test/test_v1_sdk_automation_playbook_module_slots_get_response.py new file mode 100644 index 00000000..e62d3c63 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_module_slots_get_response.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_module_slots_get_response import V1SdkAutomationPlaybookModuleSlotsGetResponse + +class TestV1SdkAutomationPlaybookModuleSlotsGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookModuleSlotsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookModuleSlotsGetResponse: + """Test V1SdkAutomationPlaybookModuleSlotsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookModuleSlotsGetResponse` + """ + model = V1SdkAutomationPlaybookModuleSlotsGetResponse() + if include_optional: + return V1SdkAutomationPlaybookModuleSlotsGetResponse( + modules = [ + graphiant_sdk.models.sdk_automation_catalog_module_slot.sdkAutomationCatalogModuleSlot( + bundle_key = 'example string', + description = 'example string', + file_distinguisher = 'example string', + is_required = True, + module_key = 'example string', + name = 'example string', ) + ] + ) + else: + return V1SdkAutomationPlaybookModuleSlotsGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookModuleSlotsGetResponse(self): + """Test V1SdkAutomationPlaybookModuleSlotsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v1_sdk_automation_playbook_templates_get_response.py b/test/test_v1_sdk_automation_playbook_templates_get_response.py new file mode 100644 index 00000000..8c3d3678 --- /dev/null +++ b/test/test_v1_sdk_automation_playbook_templates_get_response.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v1_sdk_automation_playbook_templates_get_response import V1SdkAutomationPlaybookTemplatesGetResponse + +class TestV1SdkAutomationPlaybookTemplatesGetResponse(unittest.TestCase): + """V1SdkAutomationPlaybookTemplatesGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V1SdkAutomationPlaybookTemplatesGetResponse: + """Test V1SdkAutomationPlaybookTemplatesGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V1SdkAutomationPlaybookTemplatesGetResponse` + """ + model = V1SdkAutomationPlaybookTemplatesGetResponse() + if include_optional: + return V1SdkAutomationPlaybookTemplatesGetResponse( + collection_version = 'example string', + files = [ + graphiant_sdk.models.sdk_automation_template_file.sdkAutomationTemplateFile( + content = 'example string', + filename = 'example string', + module_key = 'example string', + source_path = 'example string', ) + ] + ) + else: + return V1SdkAutomationPlaybookTemplatesGetResponse( + ) + """ + + def testV1SdkAutomationPlaybookTemplatesGetResponse(self): + """Test V1SdkAutomationPlaybookTemplatesGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_v2_monitoring_fec_stats_get_response.py b/test/test_v2_monitoring_fec_stats_get_response.py new file mode 100644 index 00000000..91bba59f --- /dev/null +++ b/test/test_v2_monitoring_fec_stats_get_response.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + Graphiant APIs + + Graphiant API documentation. + + The version of the OpenAPI document: 1.0.0 + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from graphiant_sdk.models.v2_monitoring_fec_stats_get_response import V2MonitoringFecStatsGetResponse + +class TestV2MonitoringFecStatsGetResponse(unittest.TestCase): + """V2MonitoringFecStatsGetResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> V2MonitoringFecStatsGetResponse: + """Test V2MonitoringFecStatsGetResponse + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + # uncomment below to create an instance of `V2MonitoringFecStatsGetResponse` + """ + model = V2MonitoringFecStatsGetResponse() + if include_optional: + return V2MonitoringFecStatsGetResponse( + current_repair_level = 12.34, + effective_qoe = 12.34, + rx_repair_level_histogram = graphiant_sdk.models.statsmon_v2_fec_rx_repair_level.statsmonV2FecRxRepairLevel( + repair_level = [ + graphiant_sdk.models.statsmon_v2_repair_level.statsmonV2RepairLevel( + sample = graphiant_sdk.models.statsmon_v2_stats_sample.statsmonV2StatsSample( + status = 'ENUM_VALUE', + ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + value = 123.45, ), + score = graphiant_sdk.models.statsmon_v2_repair_level_score.statsmonV2RepairLevelScore( + jitter = 12.34, + latency = 12.34, + loss = 12.34, ), ) + ], ), + rx_stats = graphiant_sdk.models.statsmon_v2_fec_rx_stats.statsmonV2FecRxStats( + erasure_recovered_packets = 12345678910, + erasure_unrepairable_packets = 12345678910, + repair_level = 12.34, + repair_packets = 12345678910, ), + tx_repair_level_histogram = graphiant_sdk.models.statsmon_v2_fec_tx_repair_level.statsmonV2FecTxRepairLevel( + repair_level = [ + graphiant_sdk.models.statsmon_v2_repair_level.statsmonV2RepairLevel( + sample = graphiant_sdk.models.statsmon_v2_stats_sample.statsmonV2StatsSample( + status = 'ENUM_VALUE', + ts = graphiant_sdk.models.google_protobuf_timestamp.googleProtobufTimestamp( + nanos = 123, + seconds = 1234567891011, ), + value = 123.45, ), + score = graphiant_sdk.models.statsmon_v2_repair_level_score.statsmonV2RepairLevelScore( + jitter = 12.34, + latency = 12.34, + loss = 12.34, ), ) + ], ), + tx_stats = graphiant_sdk.models.statsmon_v2_fec_tx_stats.statsmonV2FecTxStats( + protected_packets = 12345678910, + repair_level = 12.34, + sent_repair_packets = 12345678910, + unprotected_packets = 12345678910, ), + unrepairable_rate = 12.34 + ) + else: + return V2MonitoringFecStatsGetResponse( + ) + """ + + def testV2MonitoringFecStatsGetResponse(self): + """Test V2MonitoringFecStatsGetResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main()